Template:Parameters/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
No edit summary
Create: Minecraft Mod Wiki>Joker876
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{Ts|for=ParametersHead|PsHead}}{{Ts|for=Parameters|Ps}}{{Ts|for=ParametersFoot|PsFoot}}
This template is used to display the parameters of a certain template.
This template is used to display the parameters of a certain template.


Line 22: Line 23:
</pre>
</pre>
;produces
;produces
{{ParametersHead}}
{{ParametersHead}}
{{Parameters|1|string|The name/names of the parameter.}}
{{Parameters|1|string|The name/names of the parameter.}}

Revision as of 19:16, 16 April 2021

This is a documentation subpage for Template:Parameters.
It contains usage information, categories and other content that is not part of the original template page.
Template shortcut
For template: {{ParametersHead}}
Template shortcut
For template: {{Parameters}}
Template shortcut
For template: {{ParametersFoot}}

This template is used to display the parameters of a certain template.

It should only be used on documentation pages.

Definition

Parameter R? Type Description Default
1
string
/
{{{4}}}
2
string
/
{{{4}}}
3
any
/
4
any
/
{{Blank cell}}

Examples

{{ParametersHead}}
{{Parameters|1|string|The name/names of the parameter.}}
{{Parameters|2|string|The type of the parameter that should be used.}}
{{Parameters|3|any|The description of the parameter.|<center>–</center>}}
{{Parameters|4|any|The default value for the parameter.|{{T|Blank cell}}}}
{{ParametersFoot}}
produces
Parameter R? Type Description Default
1
string
/
{{{4}}}
2
string
/
{{{4}}}
3
any
/
4
any
/
{{Blank cell}}