Template:Sigbox-raw: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
 
m (Protected "Template:Sigbox-raw" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(8 intermediate revisions by 3 users not shown)
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-ized sig inside the box, but {{tem|sigbox}} is simpler.
You can try <code><nowiki>{{sigbox-raw|{{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>&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).
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 by previewing the edit). 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).
</noinclude>
 
[[Category:Formatting templates]]</noinclude>

Latest revision as of 09:37, 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 by previewing the edit). 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).