Jump to content

Wikipedia:WikiProject Infoboxes/Subtemplates

From Wikipedia, the free encyclopedia

Many infoboxes use subtemplates.

Metadata / formatting subtemplates

[edit]

Most infoboxes use subtemplates chiefly to emit metadata as part of embedded microformats (see Wikipedia:WikiProject Microformats), or for formatting purposes. Here are some subtemplates which you may use:

Coordinates
{{Coord}}
Event dates
{{Start date}}
{{End date}}
List formatting
{{Plainlist}}
{{Flatlist}}
URLs
{{URL}}

Please see each subtemplate's documentation for usage guidelines. See the relevant infobox's documentation for further examples.

Embedding one infobox into another

[edit]

One infobox template can be embedded into another using the |child= parameter or the |embed= parameter. This feature can be used to create a modular infobox, or to create better-defined logical sections. For more information on how to do this, please see Template:Infobox#Embedding.