Template:Sigbox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(This should be better)
mNo edit summary
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<div class="sigbox">{{User:{{{1}}}/sig}}}</div><noinclude>
<includeonly><templatestyles src="Sigbox/styles.css"/><div class="sigbox">{{{raw|{{User:{{#if:{{{1|}}}|{{{1}}}|{{ROOTPAGENAME}}}}/{{#rmatch:{{{2}}}|^\d$|Sig|{{{2|sig}}}}}}}}}}</div></includeonly><noinclude>
----
Use <code><nowiki>{{sigbox}}</nowiki></code> to put <code><nowiki>{{User:USERNAME/sig}}</nowiki></code> in a box, but with the current userspace owner's name.
Usage: <code>&#123;{sigbox|User:Username/sig}}</code> to put &#123;{User:Username/sig}} in a box.


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}}.
To manually specify the username and signature subpage, use: <code><nowiki>{{sigbox|USERNAME|SUBPAGE}}</nowiki></code>
</noinclude>
 
To put custom text inside the box, use: <code><nowiki>{{sigbox|raw=INSERT TEXT HERE}}</nowiki></code>
 
[[Category:Project templates]]</noinclude>

Latest revision as of 10:18, September 17, 2024

Use {{sigbox}} to put {{User:USERNAME/sig}} in a box, but with the current userspace owner's name.

To manually specify the username and signature subpage, use: {{sigbox|USERNAME|SUBPAGE}}

To put custom text inside the box, use: {{sigbox|raw=INSERT TEXT HERE}}