Difference between revisions of "Template:For/doc"

From blackwiki
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.

Template parameters

ParameterDescriptionTypeStatus
topic1

usually describing the major alternative or a general term for all alternative meanings

Default
other uses
Stringoptional
major alternative2

usually a disambiguation page or the most likely alternative meaning

Default
{{PAGENAME}} (disambiguation)
Pageoptional
first minor alternative3

another meaning if any

Pageoptional
second minor alternative4

another meaning if any

Pageoptional
third minor alternative5

another meaning if any

Pageoptional