Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
m (fix) |
(Add option for list of subpages) |
||
Line 4: | Line 4: | ||
|- |
|- |
||
<noinclude>|</noinclude>{{{1}}} |
<noinclude>|</noinclude>{{{1}}} |
||
{{#ifeq:{{{subpages}}}|y| |
|||
{{!}}- |
|||
!This page has subpages with<br />additional information on this topic |
|||
{{!}}- |
|||
{{!}}{{Special:PrefixIndex/{{FULLPAGENAME}}/}} |
|||
}} |
|||
|- |
|- |
||
<!-- |
<!-- |
Revision as of 21:38, 8 July 2020
{{{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:Book (transclusion) (← links | edit)
- Template:Character (transclusion) (← links | edit)
- Template:Shard info (transclusion) (← links | edit)
- Template:Location (transclusion) (← links | edit)
- Template:Row/kv (← links | edit)
- Template:Magic system (transclusion) (← links | edit)
- Template:Row/image (← links | edit)
- Template:Group (transclusion) (← links | edit)
- Template:Event (transclusion) (← links | edit)
- Template:Item (transclusion) (← links | edit)
- Template:Literature (transclusion) (← links | edit)
- Template:Food (transclusion) (← links | edit)
- Template:Culture (transclusion) (← links | edit)
- Template:Shardworld (transclusion) (← links | edit)
- Template:Perpendicularity (transclusion) (← links | edit)
- Template:Disease (transclusion) (← links | edit)
- Template:Fabrial (transclusion) (← links | edit)
- Template:Radiant (transclusion) (← links | edit)
- Template:Noble house (transclusion) (← links | edit)
- Template:Vehicle (transclusion) (← links | edit)
- Template:Architecture (transclusion) (← links | edit)
- Template:Geography (transclusion) (← links | edit)
- Template:Character/family (transclusion) (← links | edit)
- Template:Aspect (transclusion) (← links | edit)
- Template:Row/header (← links | edit)
- Template:Chapter Summary (transclusion) (← links | edit)
- Template:Lifeform (transclusion) (← links | edit)
- Template:Nation (transclusion) (← links | edit)
- Template:Settlement (transclusion) (← links | edit)
- Template:Business (transclusion) (← links | edit)
- Template:Planetary system (transclusion) (← links | edit)
- Template:Example (transclusion) (← links | edit)
- Template:Missing/world (← links | edit)
- Template:Media (transclusion) (← links | edit)
- Template:Row/image+artist (← links | edit)
- Template:Magic (transclusion) (← links | edit)
- Template:Artist (transclusion) (← links | edit)
- Template:Peoples (transclusion) (← links | edit)
- Template:Info/universe (← links | edit)
- Template:Info/world (← links | edit)
- Template:Info/creator (← links | edit)
- Template:Info/type (← links | edit)
- Template:Info/creators (← links | edit)
- Template:Info/earth (← links | edit)
- Template:Info/owner (← links | edit)
- Template:Infobox/missing-id (← links | edit)
- Template:Info/origin (← links | edit)
- Template:Info/function (← links | edit)
- Template:Info/ingredients (← links | edit)
- Template:Info/owners (← links | edit)
- Template:Info/taste (← links | edit)
- Template:Missing/required (← links | edit)
- Template:Info/row (← links | edit)
- Template:Info/city (← links | edit)
- Template:Info/usage (← links | edit)
- Template:Info/nation (← links | edit)
- Template:Info/region (← links | edit)
- Template:Info/state (← links | edit)
- Template:Info/dominance (← links | edit)
- Template:Metal/art (transclusion) (← links | edit)