Anonymous
×
Create a new article
Write your page title here:
We currently have 2,416 articles on Monstropedia. Type your article name above or click on one of the titles below and start writing!



Monstropedia
2,416Articles

Difference between revisions of "Template:Note/doc"

scratch>CrazyBoy826
(→‎Usage: Fixed code)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 23:28, 23 March 2021

Documentation This is a documentation subpage for Template:Note (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Method 1

The following displays the notification icon and the word 'Note:'. You can follow this with whatever text/images/markup you like.

{{note}} Try it this way!

Template:Note Try it this way!

Method 2

The following includes the text passed to the template, and uses a table to stop the text flowing round the icon.

{{note|Here is an extremely long note, which is so long that it is sufficiently wordy to run onto a second line, which would normally cause it to wrap round the icon, but because we passed it as a parameter instead of writing it after the template, it keeps its left alignment straight.}}

Template:Note

Method 3

The following includes the text passed to the template, uses a table to stop the text flowing round the icon, and changes the word "Note".

{{note|Here is an extremely long note, which is so long that it is sufficiently wordy to run onto a second line, which would normally cause it to wrap round the icon, but because we passed it as a parameter instead of writing it after the template, it keeps its left alignment straight.|Cool thing}}

Template:Note

To achieve the same effect as Method 1 (i.e. text is allowed to wrap to the next line), simply only specify the second parameter:

{{note|2=Cool thing}}Try it this way!

Template:NoteTry it this way!