Template:TemplateData/doc: Difference between revisions
Streetclaw (talk | contribs)  Created page with "Template for creating a unified parameter format for templates  == About == Creates a list that displays Template parameter in a unified format.  == Parameter == {{TemplateDat..."  | 
				Streetclaw (talk | contribs)  Undo revision 141 by Streetclaw (talk) Tag: Undo  | 
				
| (One intermediate revision by the same user not shown) | |
(No difference) 
 | |
Latest revision as of 23:35, 31 August 2020
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 paramExample alias 1Example alias 2Example 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}}
}}