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 added Content deleted
(«"---- <br /> {| |- :'''Usage:''' ::{{tlsx|{{PAGENAME}}}} :" → "== Usage == :{{tlsx|{{PAGENAME}}}} ", -":", "|{{#if:{{{s1|}}}| {{template |- |colspan='2'|" → "{{#if:{{{s1|}}}|{{template", -"|- |colspan='3'|", -"|}"»)
(i think)
 
(104 intermediate revisions by 50 users not shown)
Line 1: Line 1:
== Usage ==
'''Usage:'''
{{#ifeq:{{{param1 required|no}}}|yes||
:{{tlsx|{{PAGENAME}}}}
:{{tlsx|{{PAGENAME}}|''Article''}} references a specific article
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}}} <nowiki>~~~~</nowiki></code>
}}{{#ifeq:{{{noparam1}}}|yes||
:{{tlsx|{{PAGENAME}}|''Article''|''Additional text''}} adds text onto the end of the message instead of "Thank you"
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}} <nowiki>~~~~</nowiki></code> references a specific {{{param1}}}}}{{#ifeq:{{{noparam1}}}|yes|
{{#if:{{{s1|}}}|{{template shortcut|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}}}
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''Additional text''}} <nowiki>~~~~</nowiki></code> adds text onto the end of the message{{#ifeq:{{{param2 required|no}}}|yes||

: instead of "Thank you"}}
* This template has been carefully designed based on guidelines by [[WP:UW|the user warnings project]].{{#ifexist:{{TALKPAGENAME}}|
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}|
* For usage instructions regarding this template, see [[{{TALKPAGENAME}}|documentation]].}}
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}} <nowiki>~~~~</nowiki></code> adds text onto the end of the message{{{param2 required|no}}}|yes||
* 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]].
: instead of "Thank you"}}
* Please refer to the [[WP:UTM|index of test 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.
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}}}<!--
* Please remember to [[Help:Substitution|substitute]] the template using {{tlsx|{{PAGENAME}}}} rather than {{tlx|{{lcfirst:{{PAGENAME}}}}}}.
-->{{#if:{{{extra usage|}}}|
* 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.
{{{extra usage}}}
* Optionally, add <tt>|subst&#61;subst:</tt> to the end of the template to reduce the code in the final output: {{tlsx|{{PAGENAME}}|''Article''|''Additional text''|subst&#61;subst:}} (again, ''Article'' and ''Additional text'' are optional).
}}

* This template conforms to guidelines organized by user warnings. 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]].
{|style="width:100%; font-size:90%; border:1px solid #AAA; background-color:#F9F9F9; font-weight:normal; border-collapse:collapse;"
* 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 <code>{{tlsx|{{PAGENAME}}}}</code> rather than <code>{{tlx|{{lcfirst:{{PAGENAME}}}}}}</code>.
|colspan="2" style="font-size:120%; text-align:center;"|Single issue [[WP:UTM|user warning]] or notice template
* 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.
|-
!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-bv}}{{·}} {{tl|uw-hoax}}{{·}} {{tl|uw-3rr}}{{·}} {{tl|uw-longterm}}{{·}} {{tl|uw-racism}}
|}

Latest revision as of 17:45, June 16, 2022

Usage:

Template:Tlsx ~~~~
Template:Tlsx ~~~~ references a specific {{{param1}}}
Template:Tlsx ~~~~ adds text onto the end of the messageno

}}

  • This template conforms to guidelines organized by user warnings. Please discuss the general visual appearance of these templates (for example, the image in the top-left corner) on 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 Template:Tlsx rather than Template:Tlx.
  • This template uses a parser function. To give greater detail to your message, you may add the article and some additional text to the end of the template.