Template:Sigbox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Special:Mypage works for all users, so Special:Mypage/sig eliminates need of a variable) |
m (Text replacement - "BASEPAGENAME" to "ROOTPAGENAME") |
||
(24 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<div class="sigbox">{{ | <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>). | ||
To put text other than a template- | |||
</noinclude> | To put text other than a template-sized sig inside the box, use {{tem|sigbox-raw}}. | ||
[[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}}.