Template:Infobox
From WikiMSK
{{{title}}} | |
---|---|
{{{1}}} |
This template is a basis for all infobox templates.
Template
{{food |id= |title= |1=<!-- rows, for example: {{row/image+artist}} {{row/kv | Featured in | ''{{{books}}}'' }} --> |main-params= |classes= |cats= |default-cats= |title-row-params= |title-align=center |title-params= |title-classes= |cols=2 }}
Parameters
Highlighted lines indicate mandatory parameters.
On lines with multiple parameters (e.g. |id=
) pick only the one most appropriate.
Parameter | Description | Examples |
---|---|---|
id
|
Use this to apply an id html parameter to the generated infobox. It is required for the edit-templates gadget to work.
|
|
title
|
Use this to fill the header-row of the infobox with a title. |
|
{{{1}}}
|
The infobox contents, including all the information rows |
<!-- rows, for example: {{row/image+artist}} {{row/kv | Featured in | ''{{{books}}}'' }} --> |
main-params
|
Extra HTML parameters to add to the infobox as a whole | |
title-row-params
|
Extra HTML attributes to add to the title row <tr> element
|
|
title-parmas
|
Extra HTML attributes to add to the title cell <td> element
|
|
classes
|
Extra css classes to apply to the infobox as a whole | |
title-classes
|
Extra css to apply to the title cell <td> element
|
|
cols
|
The number of columns in the rest of the infobox. | |
title-align
|
value for the | |
default-cats
|
the categories to include on any article using this infobox | |
replacement-cats
|
Pass in {{{cats|}}} to override the default-cats parameter on a per-page basis
|
|
Derived Templates
- Template:Row/header โ (โ links)
- Template:Row/kv โ (โ links)
- Template:Row/image โ (โ links)
- Template:Row/image+artist โ (โ links)
- Template:Table with column header โ (โ links)
- Template:Tmbox/doc (transclusion) โ (โ links)
- Template:Drug (transclusion) โ (โ links)
- Template:Bone (transclusion) โ (โ links)
- Template:Row/caption โ (โ links)
- Template:Profile (transclusion) โ (โ links)
- Template:Imagestack (transclusion) โ (โ links)
- Template:Imagestack/doc (transclusion) โ (โ links)
- Template:Stack (transclusion) โ (โ links)
- Template:Stack/doc (transclusion) โ (โ links)
- Template:Stack documentation (transclusion) โ (โ links)