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
No edit summary |
(add noparam1 option) |
||
Line 3: | Line 3: | ||
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}}} <nowiki>~~~~</nowiki></code> |
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}}} <nowiki>~~~~</nowiki></code> |
||
}} |
}} |
||
{{#ifeq:noparam1|yes| |
|||
⚫ | |||
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}}} <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 instead of "Thank you" |
|||
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}| |
|||
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}} <nowiki>~~~~</nowiki></code> adds text onto the end of the message instead of "Thank you" |
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}} <nowiki>~~~~</nowiki></code> adds text onto the end of the message 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}}} |
||
Line 14: | Line 19: | ||
* 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. |
* 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. |
||
* Optionally, add <code>|subst=subst:</code> to the end of the template to reduce the code in the final output: |
* Optionally, add <code>|subst=subst:</code> to the end of the template to reduce the code in the final output: |
||
{{#ifeq:noparam1|yes| |
|||
⚫ | |||
:<code>{{tlsx|{{PAGENAME}}|''Additional text''|subst=subst:}}</code>| |
|||
⚫ | |||
{{#if:{{{see also|}}}| |
{{#if:{{{see also|}}}| |
||
'''See also:''' |
'''See also:''' |
Revision as of 16:30, November 7, 2009
Usage:
Template:Tlsx ~~~~
Template:Tlsx ~~~~
references a specific {{{param1}}}Template:Tlsx ~~~~
adds text onto the end of the message instead of "Thank you"
- This template conforms to guidelines organized by the user warnings project. 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 thanTemplate: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.
- Optionally, add
|subst=subst:
to the end of the template to reduce the code in the final output: