Template:Infobox: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
For <code><nowiki>[[Template:Infobox sometopic]]</nowiki></code>, template code then looks like this, simplified: | For <code><nowiki>[[Template:Infobox sometopic]]</nowiki></code>, template code then looks like this, simplified: | ||
== Content parameters == | == Content parameters == | ||
{{clear}} | |||
== TemplateData == | == TemplateData == | ||
Line 113: | Line 49: | ||
</templatedata> | </templatedata> | ||
==Tracking categories== | ==Tracking categories== | ||
* {{clc|Articles with missing Wikidata information}} | * {{clc|Articles with missing Wikidata information}} |
Revision as of 03:26, 27 August 2021
Template:Distinguish Template:Documentation subpage Template:Parameter names example
This template is intended as a meta template: a template used for constructing other templates. Note: In general, it is not meant for use directly in an article, but can be used on a one-off basis if required. Help:Infobox contains an introduction about the recommended content and design of infoboxes; Wikipedia:Manual of Style/Infoboxes contains additional style guidelines. See WP:List of infoboxes and Category:Infobox templates for lists of prepared topic-specific infoboxes.
Usage[edit]
- REDIRECT Template:Template link with link off
Template:Redirect category shell is a meta-template: used to organise an actual {{Infobox sometopic}} template (like
- REDIRECT Template:Template link
Template:Redirect category shell).
For [[Template:Infobox sometopic]]
, template code then looks like this, simplified:
Content parameters[edit]
TemplateData[edit]
Template:TemplateData header <templatedata> {
"description": "This template is intended as a meta template, a template used for constructing other templates. In general, it is not meant for use directly in an article but can be used on a one-off basis if required.",
"format": "Template:\n\n", "params": { "title": { "label": "Title", "description": "Title displayed above the infobox", "type": "string", "suggested": true } }, "paramOrder": [ "title" ] } </templatedata>