Civilization VI Wiki
Advertisement

[[Image:{{{1}}}_Icon.png|20px]] [[{{{1}}}|{{{1}}}]]

Template-info.png Documentation

Link to an item page with an item image in front: File:Food Icon.png Food

Also supports an optional quantity in front: 5 × File:Food Icon.png Food

Usage

{{ItemLink|Food}}
Parameters
Name Type Required Default
0 string true
text string false The value of the first positional parameter
link string false The value of the first positional parameter
image string false The value of the first positional parameter suffixed with .png
size string false 20px
quantity string false

Examples

Both lines produce the same output:

{{ItemLink|Food}} = File:Food Icon.png Food

{{ItemLink|Food|text=Food|link=Food|image=Provisions.png|size=20px|quantity=}} = File:Provisions.png Food

Lowercase link:

{{ItemLink|Food|text=food}} = File:Food Icon.png food

Plural link:

{{ItemLink|Food|text=Foods}} = File:Food Icon.png Foods

Quantity:

{{ItemLink|Food|quantity=5}} = 5 × File:Food Icon.png Food

{{ItemLink|Food|quantity=5-10}} = 5-10 × File:Food Icon.png Food

Advertisement