User:The Retro Gamer/para rq: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(But really, I would want to handle that case in this way.)
m (Creating the final version before I add it to template-space.)
Line 1: Line 1:
<span class="error">{{#if:{{{1|}}}|<nowiki>|</nowiki>{{{1}}}= is required|<nowiki>{{</nowiki>[[User:The Retro Gamer/para rq|para rq]]<nowiki>}}</nowiki> must be formatted <nowiki>{{</nowiki>para rq<nowiki>|</nowiki>parameter<nowiki>}}</nowiki>}}</span>
<includeonly><span class="error">{{#if:{{{1|}}}|<nowiki>|</nowiki>{{{1}}}= is required|<nowiki>{{</nowiki>[[Template:para needed|para needed]]<nowiki>}}</nowiki> must be formatted <nowiki>{{</nowiki>para rq<nowiki>|</nowiki>parameter<nowiki>}}</nowiki>}}</span></includeonly><noinclude>This template is used in templates to display an error when a vital parameter is missing in the template's usage:
 
Example: <code><nowiki>{{para needed|name}}</nowiki></code> -> {{para needed|name}}
 
<!--[[Category:Formatting templates]]--></noinclude>

Revision as of 21:06, April 22, 2018

This template is used in templates to display an error when a vital parameter is missing in the template's usage:

Example: {{para needed|name}} -> |name= is required