Content deleted Content added
Expanded TemplateData |
Added new parameter to documentation and TemplateData |
||
Line 19:
::{{para|label|for}} → {{Template parameter usage|1=Infobox film|label=for}}
::{{para|label|FooBar}} → {{Template parameter usage|1=Infobox film|label=FooBar}}
* {{para|based|yes}} adds the text "based on this TemplateData" to the end of the template (or "based on its TemplateData" if {{para|1}} is also used).
The template is included in transclusions of {{Tl|TemplateData header}}.
Line 59 ⟶ 60:
"description": "Enter any text here to make the template just the usage report link with the given custom text. Alternatively, enter \"none\" to include only the usage report link, or enter \"for\" to include only the usage report link followed by \"for <template name>\".",
"type": "string"
},
"based": {
"label": "Append \"based on this[/its] TemplateData\"",
"description": "Enter \"y\", \"yes\", \"true\", \"on\" or \"1\" here to append the text \"based on this TemplateData\" (or \"based on its TemplateData\" if \"Custom template\" is also used).",
"type": "line",
"autovalue": "y",
"example": "y"
}
},
Line 64 ⟶ 72:
"lc",
"1",
"label",
"based"
]
}
|