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
(use param1 in the penultimate bullet point) |
(We have several uw-* templates that have extra optional/required parameters. Add support for these.) |
||
Line 1: | Line 1: | ||
'''Usage:''' |
'''Usage:''' |
||
{{#ifeq:{{{param1 required|no}}}|yes|| |
|||
:<code>{{tlsx|{{PAGENAME}}}}</code> |
|||
:<code>{{tlsx|{{PAGENAME}}| |
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}}}</code> |
||
}} |
|||
⚫ | |||
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}}</code> references a specific {{{param1}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
-->{{#if:{{{extra usage|}}}| |
|||
{{{extra usage}}} |
|||
}} |
|||
* This template has been carefully designed based on guidelines by [[WP:UW|the user warnings project]]. |
* This template has been carefully designed based on guidelines 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 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]]. |
Revision as of 15:16, July 27, 2008
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 has been carefully designed based on guidelines 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: