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}}|''{{ucfirst:{{{param1}}}}}''}}</code> references a specific {{{param1}}}
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}}}</code>
}}
:<code>{{tlsx|{{PAGENAME}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}}</code> adds text onto the end of the message instead of "Thank you"
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}}</code> references a specific {{{param1}}}
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''}}</code> adds text onto the end of the message instead of "Thank you"
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}<!--
-->{{#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]].