Template:Note: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
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><noinclude>
<includeonly><div style="width: 98%; margin-left:40px; 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>


==Usage==
==Usage==
Line 12: Line 12:
Here are some examples:
Here are some examples:
{{Note|Note|Text for the note.}}
{{Note|Note|Text for the note.}}


{{Note|Tip|Text for a tip.}}
{{Note|Tip|Text for a tip.}}


{{Note|IMPORTANT!|Text for important information.}}
 
 
{{Note|IMPORTANT|Text for important information.}}
 
 


{{Note|[[Image:examples_movie.png]]|An image instead of text.}}</noinclude>
{{Note|[[Image:examples_movie.png]]|An image instead of text.}}</noinclude>

Revision as of 21:43, 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.