Template:Note: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '<includeonly><div style="width: 98%; padding: 5px; text-align: left; border-top-style:solid; border-left-style:solid; border-bottom-style: collapse; border-right-style: collapse;…')
 
No edit summary
Line 1: Line 1:
<includeonly><div style="width: 98%; padding: 5px; text-align: left; border-top-style:solid; border-left-style:solid; border-bottom-style: collapse; border-right-style: collapse; border-color:silver; border width:0.5px">'''{{{1}}}''': {{{2}}}</div></includeonly>
<includeonly><div style="width: 98%; padding: 5px; text-align: left; border-top-style:solid; border-left-style:solid; border-bottom-style: collapse; border-right-style: collapse; border-color:silver; border width:0.5px">'''{{{1}}}''': {{{2}}}</div></includeonly><noinclude>
<noinclude>


==Usage==
==Usage==
Line 12: Line 11:


Here are some examples:
Here are some examples:
{{Note|Note|This is a note.}}
{{Note|Note|Text for the note.}}
{{Note|Tip|This a little tip.}}
 
{{Note|IMPORTANT!|Some important information.}}
{{Note|Tip|Text for a tip.}}
{{Note|Image:examples_movie.png|An image instead of text.}}
 
{{Note|IMPORTANT!|Text for important information.}}
 
{{Note|[[Image:examples_movie.png]]|An image instead of text.}}</noinclude>

Revision as of 05:58, 22 August 2012


Usage

This template displays a note box. Use the following code:

{{Note|1|2}}

where parameter 1 is the name of the note box, and parameter 2 is the text.


Here are some examples:

Note: Text for the note.
Tip: Text for a tip.
IMPORTANT!: Text for important information.
Examples movie.png: An image instead of text.