Template:Image key/doc
![]() | This is a documentation subpage for Template:Image key. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
![]() | This template uses TemplateStyles: |
The image key template is intended to help create lists of keys in images. These keys will display in 2 columns. The syntax is trivial: just add the list using the same syntax as Template:Unbulleted list!
Use
Note: This template may be used only within the caption parameter of an image. It won't work in a caption parameter of an infobox.
<syntaxhighlight lang="wikitext">
- ...
</syntaxhighlight>
Prefer the redirect {{legend-col}} when this template is being used to support the use of {{legend}}.
Parameters
|list type=
- Defines a list type for the template. Can be one of the values ordered, bulleted, unbulleted (synonym plainlist). An ordered list is numbered, bulleted are basic lists, and unbulleted display nothing (i.e., are "plain lists").
|<N>=
- A list item. If there is an equal sign in the list item, add it as the numbered item e.g.
|1=list item with equals sign
. |thumb size=
- Optional.
|thumb size=wide
Adds a 3rd column. Use only for "wide" images.|thumb size=narrow
Removes one column to display 1 column only. Use only for "narrow" images.
Most thumbnails these days use |upright=
, so these are qualitative rather than quantitative directions for use of |wide=
and |narrow=
.
Examples
Unordered list

- No data
- No minimum wage
- $0.00–$1.00
- $1.01–$2.00
- $2.01–$3.00
- $3.01–$5.00
- $5.01–$7.50
- $7.51–$10.00
- >$10.00
<syntaxhighlight lang="wikitext">

- No data
- No minimum wage
- $0.00–$1.00
- $1.01–$2.00
- $2.01–$3.00
- $3.01–$5.00
- $5.01–$7.50
- $7.51–$10.00
- >$10.00
</syntaxhighlight>
Ordered list

A: Head, B: Thorax, C: Abdomen
- antenna
- ocelli (lower)
- ocelli (upper)
- compound eye
- brain (cerebral ganglia)
- prothorax
- dorsal blood vessel
- tracheal tubes (trunk with spiracle)
- mesothorax
- metathorax
- forewing
- hindwing
- mid-gut (stomach)
- dorsal tube (Heart)
- ovary
- hind-gut (intestine, rectum & anus)
- anus
- oviduct
- nerve chord (abdominal ganglia)
- Malpighian tubes
- tarsal pads
- claws
- tarsus
- tibia
- femur
- trochanter
- fore-gut (crop, gizzard)
- thoracic ganglion
- coxa
- salivary gland
- subesophageal ganglion
- mouthparts
<syntaxhighlight lang="wikitext">

A- Head B- Thorax C- Abdomen
- antenna
- ocelli (lower)
- ocelli (upper)
- compound eye
- brain (cerebral ganglia)
- prothorax
- dorsal blood vessel
- tracheal tubes (trunk with spiracle)
- mesothorax
- metathorax
- forewing
- hindwing
- mid-gut (stomach)
- dorsal tube (Heart)
- ovary
- hind-gut (intestine, rectum & anus)
- anus
- oviduct
- nerve chord (abdominal ganglia)
- Malpighian tubes
- tarsal pads
- claws
- tarsus
- tibia
- femur
- trochanter
- fore-gut (crop, gizzard)
- thoracic ganglion
- coxa
- salivary gland
- subesophageal ganglion
- mouthparts
</syntaxhighlight>
Ordered list, narrow

A: Head, B: Thorax, C: Abdomen
- antenna
- ocelli (lower)
- ocelli (upper)
- compound eye
- brain (cerebral ganglia)
- prothorax
- dorsal blood vessel
- tracheal tubes (trunk with spiracle)
- mesothorax
- metathorax
- forewing
- hindwing
- mid-gut (stomach)
- dorsal tube (Heart)
- ovary
- hind-gut (intestine, rectum & anus)
- anus
- oviduct
- nerve chord (abdominal ganglia)
- Malpighian tubes
- tarsal pads
- claws
- tarsus
- tibia
- femur
- trochanter
- fore-gut (crop, gizzard)
- thoracic ganglion
- coxa
- salivary gland
- subesophageal ganglion
- mouthparts
<syntaxhighlight lang="wikitext">

A- Head B- Thorax C- Abdomen
- antenna
- ocelli (lower)
- ocelli (upper)
- compound eye
- brain (cerebral ganglia)
- prothorax
- dorsal blood vessel
- tracheal tubes (trunk with spiracle)
- mesothorax
- metathorax
- forewing
- hindwing
- mid-gut (stomach)
- dorsal tube (Heart)
- ovary
- hind-gut (intestine, rectum & anus)
- anus
- oviduct
- nerve chord (abdominal ganglia)
- Malpighian tubes
- tarsal pads
- claws
- tarsus
- tibia
- femur
- trochanter
- fore-gut (crop, gizzard)
- thoracic ganglion
- coxa
- salivary gland
- subesophageal ganglion
- mouthparts
</syntaxhighlight>
Unordered list, wide

- No data
- No minimum wage
- $0.00–$1.00
- $1.01–$2.00
- $2.01–$3.00
- $3.01–$5.00
- $5.01–$7.50
- $7.51–$10.00
- >$10.00
<syntaxhighlight lang="wikitext">

- No data
- No minimum wage
- $0.00–$1.00
- $1.01–$2.00
- $2.01–$3.00
- $3.01–$5.00
- $5.01–$7.50
- $7.51–$10.00
- >$10.00
</syntaxhighlight>
TemplateData
Helps create lists of keys in images, especially using columns
Parameter | Description | Type | Status | |
---|---|---|---|---|
List type | list type | Optional kind of list to display. Can be "ordered", "bulleted", or the default, which is "unbulleted".
| String | optional |
Thumb size | thumb size | Optional size of the containing thumbnail. "narrow" will output only 1 column. "wide" will output 3 columns. Default is 2 columns. (Column count may differ on mobile.) | String | optional |
List element | 1 | Element in the list. Can be infinite elements. | Content | required |
List element | 2 | Element in the list. Can be infinite elements. | Content | optional |
List element | 3 | Element in the list. Can be infinite elements. | Content | optional |
List element | 4 | Element in the list. Can be infinite elements. | Content | optional |
List element | 5 | Element in the list. Can be infinite elements. | Content | optional |
List element | 6 | Element in the list. Can be infinite elements. | Content | optional |
List element | 7 | Element in the list. Can be infinite elements. | Content | optional |
List element | 8 | Element in the list. Can be infinite elements. | Content | optional |
List element | 9 | Element in the list. Can be infinite elements. | Content | optional |
List element | 10 | Element in the list. Can be infinite elements. | Content | optional |