Template:Sigbox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(done)
m (Text replacement - "BASEPAGENAME" to "ROOTPAGENAME")
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="sigbox">{{User:{{#if: {{{1|}}}|{{{1}}}|{{BASEPAGENAME}}}}/sig}}</div><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>&#123;{sigbox}}</code> to put &#123;{User:USER/sig}} in a box. But with the User's name instead of "USER".


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}}.
</noinclude>
 
[[Category:Formatting templates]]</noinclude>

Latest 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}}.