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
(.)
(do'h)
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||
{{#ifeq:{{{noparam1}}}|yes||
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}} <nowiki>~~~~</nowiki></code> references a specific {{{param1}}}}}
:<code>{{tlsx|{{PAGENAME}}|{{{required named params|}}}|''{{ucfirst:{{{param1}}}}}''}} <nowiki>~~~~</nowiki></code> references a specific {{{param1}}}}}
{{#ifeq:noparam1|yes|
{{#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"
:<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|}}}}}|
{{{{#if:{{{s1|}}}|template shortcut|void}}|{{{s1}}}|{{{s2|}}}|{{{s3|}}}}}|
Line 18: Line 18:
* 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&#61;subst:</code> to the end of the template to reduce the code in the final output:
* Optionally, add <code>|subst&#61;subst:</code> to the end of the template to reduce the code in the final output:
{{#ifeq:noparam1|yes|
{{#ifeq:{{{noparam1}}}|yes|
:<code>{{tlsx|{{PAGENAME}}|''Additional text''|subst&#61;subst:}}</code>|
:<code>{{tlsx|{{PAGENAME}}|''Additional text''|subst&#61;subst:}}</code>|
:<code>{{tlsx|{{PAGENAME}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''|subst&#61;subst:}}</code>}}
:<code>{{tlsx|{{PAGENAME}}|''{{ucfirst:{{{param1}}}}}''|''Additional text''|subst&#61;subst:}}</code>}}