Difference between revisions of "Template:Note"

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

Latest revision as of 13:59, 20 February 2011

Usage:

{{Note|Some text}}

Output:

Note: Some text