Template:Tld/doc: Difference between revisions
Template page
More actions
Skeleton documentation. More to come. |
+/doc |
||
| (12 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | == TemplateData == | ||
< | {{TemplateData header}} | ||
<templatedata> | |||
{ | |||
"description": "Template link code with link", | |||
"format": "inline", | |||
"params": { | |||
"1": { | |||
"label": "Template", | |||
"description": "Linked template name", | |||
"required": true, | |||
"type": "wiki-template-name" | |||
}, | |||
"2": { | |||
"label": "Parameter 1", | |||
"description": "First parameter value", | |||
"type": "string" | |||
}, | |||
"3": { | |||
"label": "Parameter 2", | |||
"description": "Second parameter value", | |||
"type": "string" | |||
}, | |||
"4": { | |||
"label": "Parameter 3", | |||
"description": "Third parameter value", | |||
"type": "string" | |||
}, | |||
"5": { | |||
"label": "Parameter 4", | |||
"description": "Fourth parameter value", | |||
"type": "string" | |||
}, | |||
"6": { | |||
"label": "Parameter 5", | |||
"description": "Fifth parameter value", | |||
"type": "string" | |||
}, | |||
"7": { | |||
"label": "Parameter 6", | |||
"description": "Sixth parameter value", | |||
"type": "string" | |||
}, | |||
"8": { | |||
"label": "Parameter 7", | |||
"description": "Seventh parameter value", | |||
"type": "string" | |||
}, | |||
"9": { | |||
"label": "Parameter 8", | |||
"description": "Eighth parameter value", | |||
"type": "string" | |||
}, | |||
"class": { | |||
"label": "Extra Class Names", | |||
"description": "Extra class names to add to the “class” attribute.", | |||
"type": "string" | |||
}, | |||
"nowrap": { | |||
"label": "Nowrap?", | |||
"description": "Whether to add “<span style=\"white-space: nowrap\">”", | |||
"autovalue": "1", | |||
"type": "boolean" | |||
}, | |||
"doc": { | |||
"label": "doc", | |||
"description": "Whether to display a linked “+/doc”", | |||
"type": "boolean" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"class", | |||
"doc", | |||
"nowrap", | |||
"1", | |||
"2", | |||
"3", | |||
"4", | |||
"5", | |||
"6", | |||
"7", | |||
"8", | |||
"9" | |||
] | |||
} | |||
</templatedata> | |||
{{Tl-nav}} | |||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Internal template-link templates{{#translation:}}]] | |||
}}</includeonly> | |||
<!-- | |||
[[Category: | |||
</includeonly> | |||