< Template:Required
Revision as of 15:46, 24 October 2022 by Arcology Expert Program (talk | contribs)
Template:Required is a helper template for Template:Error, used to call out missing mandatory parameters.
Usage
It accepts two mandatory string parameter:
1is the name of the parameter.2is the name of the template.
It should generally be included as the default for named parameters. For example, if a template called "bar" has a required parameter called "foo", it should be used like so: {{{foo|{{Required|foo|bar}}}}}
Return
{{Required|1|required}} returns:
Error!
Template:required has 1 mandatory parameters!