Template:Single notice/inner: Difference between revisions
From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content deleted Content added
m sp |
i think |
||
(85 intermediate revisions by 45 users not shown) | |||
Line 1: | Line 1: | ||
'''Usage:''' |
'''Usage:''' |
||
{{#ifeq:{{{param1 required|no}}}|yes|| |
|||
:<code>{{tlsx|{{PAGENAME}}}}</code> |
|||
:<code>{{tlsx|{{PAGENAME}}| |
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}}} <nowiki>~~~~</nowiki></code> |
||
}}{{#ifeq:{{{noparam1}}}|yes|| |
|||
⚫ | |||
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}} <nowiki>~~~~</nowiki></code> references a specific {{{param1}}}}}{{#ifeq:{{{noparam1}}}|yes| |
|||
⚫ | |||
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''Additional text''}} <nowiki>~~~~</nowiki></code> adds text onto the end of the message{{#ifeq:{{{param2 required|no}}}|yes|| |
|||
* This template has been carefully designed based on guidelines by [[WP:UW|the user warnings project]].{{#ifexist:{{TALKPAGENAME}}| |
|||
: instead of "Thank you"}} |
|||
* For usage instructions regarding this template, see [[{{TALKPAGENAME}}|documentation]].}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
: instead of "Thank you"}} |
|||
⚫ | |||
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}}}<!-- |
|||
⚫ | |||
-->{{#if:{{{extra usage|}}}| |
|||
* Optionally, add <code>|subst=subst:</code> to the end of the template to reduce the code in the final output: |
|||
{{{extra usage}}} |
|||
:<code>{{tlsx|{{PAGENAME}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''|subst=subst:}}</code> |
|||
⚫ | |||
:*This should however only be done if you use the ''Article'' parameter of the template. There is a currently investigated [[bugzilla:5678|bug]] on the MediaWiki software that breaks the template if you omit this parameter and use <code>|subst=subst:</code>. |
|||
⚫ | |||
⚫ | |||
{|style="width:100%; font-size:90%; border:1px solid #AAA; background-color:#F9F9F9; font-weight:normal; border-collapse:collapse;" |
|||
⚫ | |||
|- |
|||
⚫ | |||
|colspan="2" style="font-size:120%; text-align:center;"|Single-issue [[WP:UTM|user warning]] or notice template |
|||
|- |
|||
!style="width:20%; height:1em; text-align:center;background-color:RoyalBlue;color:White;"| Notices |
|||
!style="width:20%; height:1em; text-align:center;background-color:DarkOrange;"| Warnings |
|||
|- |
|||
|{{tl|uw-warn}}{{·}} {{tl|uw-autobiography}}{{·}} {{tl|uw-english}}{{·}} {{tl|uw-aiv}}{{·}} {{tl|uw-2redirect}}{{·}} {{tl|uw-selfrevert}} |
|||
|{{tl|uw-bv}}{{·}} {{tl|uw-hoax}}{{·}} {{tl|uw-3rr}}{{·}} {{tl|uw-longterm}}{{·}} {{tl|uw-racism}}{{·}} {{tl|uw-pinfo}} |
|||
⚫ |