Template:Sigbox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="sigbox">{{User:{{#if: {{{1|}}}|{{{1}}}|{{BASEPAGENAME}}}}/{{#if: {{{2|}}}|Sig|sig}}}}</div><noinclude>Usage: <code>&#123;{sigbox}}</code> to put &#123;{User:USER/sig}} in a box. But with the user's name instead of "USER". One variable can be used to specify the user's name. Otherwise, not using a variable will simply display the signature of the user space it's applied on (i.e. a user talk page). If the user has a '/Sig' sub-page instead of '/sig' use the second variable. (i.e: <code>&#123;{sigbox||0}}</code>, <code>&#123;{sigbox|username|0}}</code>)
<includeonly><templatestyles src="Sigbox/styles.css"/><div class="sigbox">{{{raw|{{User:{{#if:{{{1|}}}|{{{1}}}|{{ROOTPAGENAME}}}}/{{#rmatch:{{{2}}}|^\d$|Sig|{{{2|sig}}}}}}}}}}</div></includeonly><noinclude>
To put text other than a template-sized sig inside the box, use {{tem|sigbox raw}}.
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.
[[Category:Formatting templates]]
 
</noinclude>
To manually specify the username and signature subpage, use: <code><nowiki>{{sigbox|USERNAME|SUBPAGE}}</nowiki></code>
 
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}}