Difference between revisions of "Template:For/doc"
Jump to navigation
Jump to search
test>Vivaelcelta |
test>Crissov (<templatedata>) |
||
| Line 1: | Line 1: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
{{for|the template to create a for loop|Template:For loop}} | {{for|the template to create a for loop|Template:For loop}} | ||
| + | <templatedata>{ | ||
| + | "description": "This template lists up to four articles on alternative meanings of a lemma or term.", | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "topic", | ||
| + | "description": "usually describing the major alternative or a general term for all alternative meanings", | ||
| + | "default": "other uses", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "major alternative", | ||
| + | "description": "usually a disambiguation page or the most likely alternative meaning", | ||
| + | "default": "{{PAGENAME}} (disambiguation)", | ||
| + | "type": "string/wiki-page-name", | ||
| + | "required": false | ||
| + | }, | ||
| + | "3": { | ||
| + | "label": "first minor alternative", | ||
| + | "description": "another meaning if any", | ||
| + | "type": "string/wiki-page-name", | ||
| + | "required": false | ||
| + | }, | ||
| + | "4": { | ||
| + | "label": "second minor alternative", | ||
| + | "description": "another meaning if any", | ||
| + | "type": "string/wiki-page-name", | ||
| + | "required": false | ||
| + | }, | ||
| + | "5": { | ||
| + | "label": "third minor alternative", | ||
| + | "description": "another meaning if any", | ||
| + | "type": "string/wiki-page-name", | ||
| + | "required": false | ||
| + | } | ||
| + | }}</templatedata> | ||
{{Hatnote templates documentation}} | {{Hatnote templates documentation}} | ||
Revision as of 21:26, 1 July 2013
This template lists up to four articles on alternative meanings of a lemma or term.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| topic | 1 | usually describing the major alternative or a general term for all alternative meanings
| String | optional |
| major alternative | 2 | usually a disambiguation page or the most likely alternative meaning
| Page | optional |
| first minor alternative | 3 | another meaning if any | Page | optional |
| second minor alternative | 4 | another meaning if any | Page | optional |
| third minor alternative | 5 | another meaning if any | Page | optional |