Jump to content

Template:Single notice/inner: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add new template for edit warring warning without 3rr warning
add parameter "nocat" (see WP:NOCAT)
 
(44 intermediate revisions by 24 users not shown)
Line 1: Line 1:
<includeonly>{{substituted|auto={{#ifeq:{{FULLPAGENAME}}|Template:Single notice|no|yes}}}}</includeonly>
{{{hatnote|}}}{{#switch:{{FULLPAGENAME}}
| Template:Single notice/inner | Template:Single notice =
| {{substituted|auto=yes|nocat={{{nocat|}}}}}
{{{banners|}}}
}}

'''Usage:'''
'''Usage:'''
{{#ifeq:{{{param1 required|no}}}|yes||
{{#ifeq:{{{param1 required|no}}}|yes||
:{{tlsc|{{PAGENAME}}|{{{required named params|}}}}}
:{{tlsc|{{#switch:{{FULLPAGENAME}}|Template:Single notice/inner|Template:Single notice=uw-preview|{{BASEPAGENAME}}}}|{{{required named params|}}}}}
}}{{#ifeq:{{{noparam1}}}|yes||
}}{{#ifeq:{{{noparam1}}}|yes||
:{{tlsc|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}} references a specific {{{param1}}}}}{{#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||
:{{tlsc|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}} adds text onto the end of the message {{#ifeq:{{{noparam2}}}|yes||instead of "Thank you"}}
:{{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||
:{{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}}}.}}
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}|
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}|
:{{tlsc|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}} adds text onto the end of the message {{#ifeq:{{{noparam2}}}|yes||instead of "Thank you"}}
:{{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"}}
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}}}<!--
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}}}<!--
-->{{#if:{{{extra usage|}}}|
-->
{{#if:{{{extra usage|}}}|
{{{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 refer to the [[Wikipedia:Template index/User talk namespace|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.
* This template conforms to guidelines organized by [[WP:UW|the user warnings project]]. 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 {{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}}}}}}.
* Please refer to the [[WP:UTM|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.
*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).
* Please remember to [[Help:Substitution|substitute]] the template using {{tlsc|{{PAGENAME}}}} rather than {{tlc|{{lcfirst:{{PAGENAME}}}}}}.
*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 template uses a [[m:ParserFunctions|parser function]]. 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 "<code>1=</code>".
*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:{{{see also|}}}|
{{#if:{{{template data|}}}|
'''TemplataData:'''
{{{template data}}}
}}{{#if:{{{see also|}}}|
'''See also:'''
'''See also:'''
{{{see also}}}
{{{see also}}}
}}
}}
{{Single notice links}}<noinclude>
{|style="width:100%; font-size:90%; border:1px solid #AAA; background-color:#F9F9F9; font-weight:normal; border-collapse:collapse;"
{{Documentation}}
|-
</noinclude>
|colspan="2" style="font-size:120%; text-align:center;"|Single-issue [[WP:UTM|user warning]] or notice templates
|-
!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
|-
|{{nowrap begin}}{{tl|uw-2redirect}}{{·w}} {{tl|uw-aiv}}{{·w}} {{tl|uw-anew}}{{·w}} {{tl|uw-articlesig}}{{·w}} {{tl|uw-autobiography}}{{·w}} {{tl|uw-badcat}}{{·w}}{{tl|uw-badlistentry}}{{·w}} {{tl|uw-bite}}{{·w}} {{tl|uw-coi}}{{·w}} {{tl|uw-copying}}{{·w}} {{tl|uw-crystal}}{{·w}} {{tl|uw-csd}}{{·w}} {{tl|uw-c&pmove}}{{·w}} {{tl|uw-dab}}{{·w}} {{tl|uw-date}}{{·w}} {{tl|uw-deadlink}}{{·w}} {{tl|uw-draftfirst}}{{·w}} {{tl|uw-editsummary}}{{·w}} {{tl|uw-english}}{{·w}} {{tl|uw-hangon}}{{·w}} {{tl|uw-imageuse}}{{·w}} {{tl|uw-italicize}}{{·w}} {{tl|uw-lang}}{{·w}} {{tl|uw-linking}}{{·w}} {{tl|uw-minor}}{{·w}} {{tl|uw-nonfree}}{{·w}} {{tl|uw-notaiv}}{{·w}} {{tl|uw-notenglish}}{{·w}} {{tl|uw-notvote}}{{·w}} {{tl|uw-preview}}{{·w}} {{tl|uw-probation}}{{·w}} {{tl|uw-promotionalarticle}}{{·w}} {{tl|uw-refimprove}}{{·w}} {{tl|uw-removevandalism}}{{·w}} {{tl|uw-repost}}{{·w}} {{tl|uw-samename}}{{·w}} {{tl|uw-selfrevert}}{{·w}} {{tl|uw-skype}}{{·w}} {{tl|uw-socialnetwork}}{{·w}} {{tl|uw-spoiler}}{{·w}}{{tl|uw-subst}}{{·w}} {{tl|uw-talkinarticle}}{{·w}} {{tl|uw-tilde}}{{·w}} {{tl|uw-toppost}}{{·w}} {{tl|uw-uaa}}{{·w}} {{tl|uw-uploadfirst}}{{·w}} {{nowrap|{{tl|uw-userspacenoindex}}}} {{·}} {{tl|uw-vgscope}}{{·w}} {{tl|uw-warn}}{{nowrap end}}
|{{nowrap begin}}{{tl|uw-3rr}}{{·w}}{{tl|uw-ew}}{{·w}} {{tl|uw-affiliate}}{{·w}} {{tl|uw-attack}}{{·w}} {{tl|uw-attempt}}{{·w}} {{tl|uw-bizlist}}{{·w}} {{tl|uw-botusername}}{{·w}} {{tl|uw-canvass}}{{·w}}{{tl|uw-copyright}}{{·w}} {{tl|uw-copyright-link}}{{·w}} {{tl|uw-copyright-remove}}{{·w}} {{tl|uw-efsummary}}{{·w}}{{tl|uw-hoax}}{{·w}} {{tl|uw-legal}}{{·w}} {{tl|uw-longterm}}{{·w}} {{tl|uw-multipleIPs}}{{·w}}{{tl|uw-pinfo}}{{·w}} {{tl|uw-socksuspect}}{{·w}} {{tl|uw-upv}}{{·w}} {{tl|uw-username}}{{·w}} {{tl|uw-coi-username}}{{·w}} {{tl|uw-userpage}}{{·w}} {{tl|uw-wrongsummary}}{{nowrap end}}
|}

Latest revision as of 20:29, 30 June 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(edit talk links history).