Template:Sigbox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "BASEPAGENAME" to "ROOTPAGENAME")
m (Text replacement - "sub-page" to "subpage")
 
Line 1: Line 1:
<includeonly><templatestyles src="Sigbox/styles.css"/><div class="sigbox">{{User:{{#if:{{{1|}}}|{{{1}}}|{{ROOTPAGENAME}}}}/{{#if:{{{2|}}}|Sig|sig}}}}</div></includeonly><noinclude>
<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' subpage instead of '/sig' use the second variable (i.e. <code><nowiki>{{sigbox||1}}</nowiki></code>, <code><nowiki>{{sigbox|username|1}}</nowiki></code>).


To put text other than a template-sized sig inside the box, use {{tem|sigbox-raw}}.
To put text other than a template-sized sig inside the box, use {{tem|sigbox-raw}}.


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Latest revision as of 09:27, May 10, 2024

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' subpage 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}}.