Template:Sigbox-raw: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
You can try <code><nowiki>{{sigbox-raw|&#123;{User:Username/sig}}}}</nowiki></code> to put a template-sized sig inside the box, but {{tem|sigbox}} is simpler.
You can try <code><nowiki>{{sigbox-raw|&#123;{User:Username/sig}}}}</nowiki></code> to put a template-sized sig inside the box, but {{tem|sigbox}} is simpler.


One use for this could be to put <code><nowiki><noinclude>{{sigbox-raw|1=</noinclude></nowiki></code> and <code><nowiki><noinclude>}}</noinclude></nowiki></code> around your sig in the template itself (so you can easily see its size in Show Preview). The <code>1=</code> bit protects it from being confused by any <code>=</code> signs in the sig (it still will get confused if you have any <code>|</code> signs outside of links).
One use for this could be to put <code><nowiki>&lt;noinclude&gt;{{sigbox-raw|1=&lt;/noinclude&gt;</nowiki></code> and <code><nowiki>&lt;noinclude&gt;}}&lt;/noinclude&gt;</nowiki></code> around your sig in the template itself (so you can easily see its size in Show Preview). The <code>1=</code> bit protects it from being confused by any <code>=</code> signs in the sig (it still will get confused if you have any <code>|</code> signs outside of links).


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 09:29, November 5, 2021

Usage: {{sigbox-raw|Text}} to put the text in a box.

You can try {{sigbox-raw|{{User:Username/sig}}}} to put a template-sized sig inside the box, but {{sigbox}} is simpler.

One use for this could be to put <noinclude>{{sigbox-raw|1=</noinclude> and <noinclude>}}</noinclude> around your sig in the template itself (so you can easily see its size in Show Preview). The 1= bit protects it from being confused by any = signs in the sig (it still will get confused if you have any | signs outside of links).