Template:TemplateData/doc: Difference between revisions
c2dl>Streetclaw (Undo revision 141 by Streetclaw (talk)) |
m (3 revisions imported: TemplateData carryovers) |
(No difference)
|
Latest revision as of 18:35, 6 June 2023
Template for creating a unified parameter format for templates
About
Creates a list that displays Template parameter in a unified format.
Parameter
Do not use named parameter for 1
... x
. The first Parameter will be automatically marked as 1
, the second as 2
and so on.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Entries | 1
|
Parameter list
Default:
Example: no example |
1 {Template:TemplateData/entry} | Required |
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
Examples
Complete example:
Do not use named parameter for 1
... x
. The first Parameter will be automatically marked as 1
, the second as 2
and so on.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Example name | example param Example alias 1 Example alias 2 Example alias 3
|
example description
Default:
Example: xyz |
String | Required |
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
{{TemplateData| {{TemplateData/entry|name=Example name|alias1=Example alias 1|alias2=Example alias 2|alias3=Example alias 3|param=example param|desc=example description|def=NULL|example=xyz|type=String|status=Required}} }}