Difference between revisions of "Template:Note"

From Puella Magi Wiki
Jump to navigation Jump to search
(allow custom style)
Line 1: Line 1:
<includeonly><div style="border: 1px solid #ddd; padding: 8px 10px; margin: 0 0 1em 0; background: #F6F6F6;">'''Note''': {{{1}}}</div></includeonly><noinclude>
+
<includeonly><div style="border: 1px solid #ddd; padding: 8px 10px; margin: 1em 0; background: #F6F6F6; {{{2}}}">'''Note''': {{{1}}}</div></includeonly><noinclude>Usage:
 
+
<pre>{{Note|Some text}}</pre>
Use:
 
 
 
<nowiki>{{Note|Some text}}</nowiki>
 
 
 
 
Output:
 
Output:
 
{{Note|Some text}}
 
{{Note|Some text}}
[[Category:Templates]]
+
[[Category:Templates]]</noinclude>
</noinclude>
 

Revision as of 13:55, 20 February 2011

Usage:

{{Note|Some text}}

Output:

Note: Some text