Template:TemplateData/doc: Difference between revisions

From Fyra Wiki
Jump to navigation Jump to search
c2dl>Streetclaw
(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...")
 
m (3 revisions imported: TemplateData carryovers)
 
(2 intermediate revisions by one other user not shown)

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: NULL

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: NULL

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}}
}}