Template:Sigbox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (replaced {{!}} with | may fix it)
(This should be better)
Line 1: Line 1:
<div class="sigbox">{{{{{1}}}{{#if:{{{2|}}}|&#124;{{{2}}}}}}}</div><noinclude>
<div class="sigbox">{{User:{{{1}}}/sig}}}</div><noinclude>
----
----
Usage: <code>&#123;{sigbox|User:Username/sig}}</code> to put &#123;{User:Username/sig}} in a box.
Usage: <code>&#123;{sigbox|User:Username/sig}}</code> to put &#123;{User:Username/sig}} in a box.


Do ''not'' try <code>&#123;{sigbox|&#123;{User:Username/sig}}}}</code> or something similar as it will not work &ndash; it will be treated as <code>&#123;{sigbox|&#123;{User:Username/sig}}</code> followed by an extra <code>}}</code> outside the template. To put text other than a template-sized sig inside the box, use {{tem|sigbox raw}}.
Do ''not'' try <code>&#123;{sigbox|&#123;{Username}}}}</code> or something similar as it will not work &ndash; it will be treated as <code>&#123;{sigbox|&#123;{Username}}</code> followed by an extra <code>}}</code> outside the template. To put text other than a template-sized sig inside the box, use {{tem|sigbox raw}}.
</noinclude>
</noinclude>

Revision as of 10:13, April 10, 2012

{{User:{{{1}}}/sig}}}

Usage: {{sigbox|User:Username/sig}} to put {{User:Username/sig}} in a box.

Do not try {{sigbox|{{Username}}}} or something similar as it will not work – it will be treated as {{sigbox|{{Username}} followed by an extra }} outside the template. To put text other than a template-sized sig inside the box, use {{sigbox raw}}.