Template:Sigbox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Protected "Template:Sigbox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
m (Text replacement - "BASEPAGENAME" to "ROOTPAGENAME") |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Sigbox/styles.css"/><div class="sigbox">{{User:{{#if:{{{1|}}}|{{{1}}}|{{ | <includeonly><templatestyles src="Sigbox/styles.css"/><div class="sigbox">{{User:{{#if:{{{1|}}}|{{{1}}}|{{ROOTPAGENAME}}}}/{{#if:{{{2|}}}|Sig|sig}}}}</div></includeonly><noinclude> | ||
Usage: <code><nowiki>{{sigbox}}</nowiki></code> to put <code><nowiki>{{User:USER/sig}}</nowiki></code> 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><nowiki>{{sigbox||1}}</nowiki></code>, <code><nowiki>{{sigbox|username|1}}</nowiki></code>). | Usage: <code><nowiki>{{sigbox}}</nowiki></code> to put <code><nowiki>{{User:USER/sig}}</nowiki></code> 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><nowiki>{{sigbox||1}}</nowiki></code>, <code><nowiki>{{sigbox|username|1}}</nowiki></code>). | ||
Revision as of 11:55, June 30, 2023
Usage: {{sigbox}}
to put {{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. {{sigbox||1}}
, {{sigbox|username|1}}
).
To put text other than a template-sized sig inside the box, use {{sigbox-raw}}.