Content deleted Content added
m plural |
m remove extra newline |
||
(141 intermediate revisions by 76 users not shown) | |||
Line 1: | Line 1: | ||
{{{hatnote|}}}{{#switch:{{FULLPAGENAME}} |
|||
⚫ | |||
| Template:Single notice/inner | Template:Single notice = |
|||
:<code>{{tlsx|{{PAGENAME}}}}</code> |
|||
| {{substituted|auto=yes}} |
|||
:<code>{{tlsx|{{PAGENAME}}|''{{ucfirst:{{{param1}}}}}''}}</code> references a specific {{{param1}}} |
|||
{{{banners|}}} |
|||
:<code>{{tlsx|{{PAGENAME}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}}</code> adds text onto the end of the message instead of "Thank you" |
|||
⚫ | |||
⚫ | |||
* This template has been carefully designed based on guidelines by [[WP:UW|the user warnings project]].{{#ifexist:{{TALKPAGENAME}}| |
|||
* For usage instructions regarding this template, see [[{{TALKPAGENAME}}|documentation]].}} |
|||
* Please discuss the general visual appearance of these templates (for example, the image in the top-left corner) on the [[WT:UTM|user warning talk page]]. |
|||
⚫ | |||
* Please remember to [[Help:Substitution|substitute]] the template using <code>{{tlsx|{{PAGENAME}}}}</code> rather than <code>{{tlx|{{lcfirst:{{PAGENAME}}}}}}</code>. |
|||
* This template uses a [[m:ParserFunctions|parser function]]. To give greater detail to your message, you may add the article name and some additional text to the end of the template. |
|||
* Optionally, add <code>|subst=subst:</code> to the end of the template to reduce the code in the final output: |
|||
:<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;" |
|||
{{#ifeq:{{{param1 required|no}}}|yes|| |
|||
|- |
|||
:{{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}|{{{required named params|}}}}} |
|||
|colspan="2" style="font-size:120%; text-align:center;"|Single-issue [[WP:UTM|user warning]] or notice templates |
|||
}}{{#ifeq:{{{noparam1}}}|yes|| |
|||
|- |
|||
:{{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}} references a specific {{{param1}}}}}{{#ifeq:{{{noparam1}}}|yes|| |
|||
!style="width:20%; height:1em; text-align:center;background-color:RoyalBlue;color:White;"| Notices |
|||
:{{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}} adds text onto the end of the message {{#ifeq:{{{noparam2}}}|yes||instead of "Thank you"}}}}{{#ifeq:{{{noparam2}}}|yes|| |
|||
!style="width:20%; height:1em; text-align:center;background-color:DarkOrange;"| Warnings |
|||
:{{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}|{{{required named params|}}}|<nowiki>|</nowiki>''Additional text''}} or {{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}|{{{required named params|}}}|<nowiki>2=</nowiki>''Additional text''}} {{#ifeq:{{{noparam1}}}|yes||also}} adds text onto the end of the message instead of "Thank you"{{#ifeq:{{{noparam1}}}|yes||, but doesn't link a page as specified by the {{{param1}}}.}} |
|||
|- |
|||
⚫ | |||
|{{tl|uw-aiv}}{{·}} {{tl|uw-autobiography}}{{·}} {{tl|uw-badcat}}{{·}} {{tl|uw-coi}}{{·}} {{tl|uw-date}}{{·}} {{tl|uw-editsummary}}{{·}} {{tl|uw-english}}{{·}} {{tl|uw-lang}}{{·}} {{tl|uw-notvote}}{{·}} {{tl|uw-selfrevert}}{{·}} {{tl|uw-tilde}}{{·}} {{tl|uw-2redirect}}{{·}} {{tl|uw-warn}} |
|||
:{{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}} adds text onto the end of the message {{#ifeq:{{{noparam2}}}|yes||instead of "Thank you"}} |
|||
|{{tl|uw-3rr}}{{·}} {{tl|uw-bv}}{{·}} {{tl|uw-copyright}}{{·}} {{tl|uw-hoax}}{{·}} {{tl|uw-legal}}{{·}} {{tl|uw-longterm}}{{·}} {{tl|uw-racism}}{{·}} {{tl|uw-pinfo}}{{·}} {{tl|uw-multipleIPs}} |
|||
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}}}<!-- |
|||
⚫ | |||
--> |
|||
{{#if:{{{extra usage|}}}| |
|||
* {{{extra usage}}}}} |
|||
* This standardized template conforms to guidelines by [[Wikipedia:WikiProject User warnings|the user warnings project]]. You may discuss the visual appearance of these standardized templates (e.g. the image in the top-left corner) at the [[Wikipedia talk:Template index/User talk namespace|user warning talk page]]. |
|||
⚫ | |||
* Please remember to [[Help:Substitution|substitute]] the template using {{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}}} rather than {{Tlc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}}}. |
|||
*To give greater detail to your message, you may add the {{{param1|article}}} and some additional text to the end of the template. If such {{{param1|article}}} or additional text includes a URL or anything which includes an equal sign ("="), it may break the parser's function unless you prefix the {{{param1|article}}} or the text with a named template parameter. Use "<code>1=</code>" if the {{{param1|article}}} contains an equals sign and use "<code>2=</code>" if the additional text contains an equals sign (such as a URL). |
|||
*This template automatically populates the relevant category with the user page. If and when the user account gets blocked, or approximately eight weeks pass with no further action, that categorization is automatically removed. |
|||
*This is the documentation for the {{tl|Single notice}} standardized template, as used by several single-level user warnings or notice templates. It is located at {{lts|Single notice/inner}}. |
|||
{{#if:{{{template data|}}}| |
|||
'''TemplataData:''' |
|||
{{{template data}}} |
|||
}}{{#if:{{{see also|}}}| |
|||
'''See also:''' |
|||
{{{see also}}} |
|||
}} |
|||
{{Single notice links}}<noinclude> |
|||
{{Documentation}} |
|||
</noinclude> |
Latest revision as of 23:09, 27 March 2024
Usage:
{{subst:uw-preview}}
{{subst:uw-preview|{{{param1}}}}}
references a specific {{{param1}}}{{subst:uw-preview|{{{param1}}}|Additional text}}
adds text onto the end of the message instead of "Thank you"{{subst:uw-preview||Additional text}}
or{{subst:uw-preview|2=Additional text}}
also adds text onto the end of the message instead of "Thank you", but doesn't link a page as specified by the {{{param1}}}.
- This standardized template conforms to guidelines by the user warnings project. You may discuss the visual appearance of these standardized templates (e.g. the image in the top-left corner) at the user warning talk page.
- Please refer to the index of message templates before using any template on user talk pages to warn a user. Applying the best template available for your purpose may help reduce confusion from the message you are sending.
- Please remember to substitute the template using
{{subst:uw-preview}}
rather than{{uw-preview}}
. - To give greater detail to your message, you may add the article and some additional text to the end of the template. If such article or additional text includes a URL or anything which includes an equal sign ("="), it may break the parser's function unless you prefix the article or the text with a named template parameter. Use "
1=
" if the article contains an equals sign and use "2=
" if the additional text contains an equals sign (such as a URL). - This template automatically populates the relevant category with the user page. If and when the user account gets blocked, or approximately eight weeks pass with no further action, that categorization is automatically removed.
- This is the documentation for the {{Single notice}} standardized template, as used by several single-level user warnings or notice templates. It is located at Template:Single notice/inner( talk links history).
Template documentation[] [purge]