Template:Sigbox-raw: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
No edit summary
Line 1: Line 1:
<div class="sigbox">{{{1}}}</div><noinclude>
<includeonly><templatestyles src="Sigbox/styles.css"/><div class="sigbox">{{{1}}}</div></includeonly><noinclude>
----
Usage: <code><nowiki>{{sigbox-raw|Text}}</nowiki></code> to put the text in a box.
Usage: <code>&#123;{sigbox-raw|Text}}</code> to put the text in a box.


You can try <code>&#123;{sigbox-raw|&#123;{User:Username/sig}}}}</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>&lt;noinclude&gt;&#123;{sigbox-raw|1=&lt;/noinclude&gt;</code> and <code>&lt;noinclude&gt;}}&lt;/noinclude&gt;</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 22:18, September 30, 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).