Template:Infobox item

From Kingdom Come: Deliverance Wiki
Jump to navigation Jump to search


Template-info.svg Documentation Edit this documentation at Template:Infobox_item/doc.

Description

This template can be used as the infobox of any type of item of Kingdom Come: Deliverance.
This includes: weapons, armour, horse tack, food, potions, skill books, treasure maps etc...

Syntax

Type {{Infobox item|<parameter1...>}} somewhere, usually at the top of the page. See here for more details.

Parameters

Parameter What is it
title Changes the title of the infobox. Default is the PAGENAME.

Use only if the PAGENAME doesn't match what is displayed in the infobox.
If you want no title to display, input notitle.

image This is the top image, and the only one you want to use most of the time.
  • If you leave this empty, a placeholder is displayed.
  • If you imput none, the text: "This item has no icon/3D model" is displayed.
  • If you imput anything else, nothing is displayed.
caption A caption for the image. Only needed if there is a risk of confusion between images.
image2 This is only used for treasure maps

This is the map location of the treasure on treasure map pages.

caption2 A caption for the second image.

It is a good idea to specify "treasure location" here if you use image2.

image3 Used for potions, skill books and treasure maps

This is often an icon or a complementary image.

caption3 Caption of image3, use it if you think there is a risk of confusion.
type Specify here what category the item belongs to.
  • If you input a simple keyword (e.g. "shortsword"), a link to the index page and the proper category is added by the infobox.
  • If the input is not recognised, it will show as is and no category is added.
  • You can check here to see which keywords are supported.
min_str Minimum Strength

Used for weapons and armour items that require strength.

min_agi Minimum Agility

Used only for weapons that require agility.

stab Used for weapons and armour

A header switches between "Damage" and "Defence" on its own.

slash Used for weapons and armour

A header switches between "Damage" and "Defence" on its own.

blunt Used for weapons and armour

A header switches between "Damage" and "Defence" on its own.

power Only used for bows (this is the bow damage).
power_mod Only used for arrows (this this the damage multiplier).
defence Only used for weapons and shields.
visibility Only used for armour.
conspic Conspicuousness

Only used for armour.

noise Only used for armour.
charisma Only used for weapons and armour.
nourishment Only used for food items and potions.

Appears red for negative values, must be a number.

health Only used for food items and potions.

Appears red for negative values, must be a number.

energy Only used for food items and potions.

Appears red for negative values, must be a number.

alcohol Only used for food items and potions.

% is added after the value. e.g. input "X" results in: X%

effect Use if the item has a special effect or utility.

Potions and useful items are examples of such items.

length Only used for Books.

Switches on its own between "X pages" for normal books and "Book length" for skill books.

durability Use for any item.

For food items, " days" (or " day" for value 1) is added after the value.
e.g. input "X" for a weapon results in: X, but "X" for a food item results in: X days.

weight Use for any item

{{Kg dk}} is added after the value. e.g. input "X" results in: XWeight kg dk.png.

price Use for any item

{{Groschen}} is added after the value. e.g. input "X" results in: X Prague Groschen.

skill Only used for skill books.

This is the skill the book gives experience in.

recipe_image Only used for potions recipes.

This should always be "Books.png" (only on a potion page).

recipe_caption Only used for potions recipes.
recipe_weight Only used for potions recipes.

This should always be "1".
{{Kg dk}} is added after the value. e.g. input "X" results in: XWeight kg dk.png.

recipe_price Only used for potions recipes.

{{Groschen}} is added after the value. e.g. input "X" results in: X Prague Groschen.

recipe_code Only used for potions recipes.
capacity Only used for horse tack.
courage Only used for horse tack.
speed Only used for horse tack.
code The standard item code goes here
  • If you leave this empty, a placeholder is displayed.
  • If you imput none, the text: "This item has no code" is displayed.
  • If you imput null, nothing is displayed.
Note: You shouldn't use every parameter in a single infobox, as they are meant for different types of items.
Note2: For skill book and saddle infoboxes, use the {{Multiparameter}} template for the price, length, speed, capacity and code parameters.

Samples

Item

For a regular item:
{{Infobox item
|title   = Henry's Beta Die
|image   = Henry's beta die.png
|caption = image caption
|type    = dice
|weight  = 0.1
|price   = 50
|code    = 6d4602d4-790e-44f0-816b-96d514db0b7a}}
Infobox item
Henry's beta die.png
Item information
Type
Weight
0.1
Price
50
Technical information
Code
6d4602d4-790e-44f0-816b-96d514db0b7a




Armour

For an armour item:
{{Infobox item
|title      = Grand Bascinet
|image      = Grand bascinet.png
|caption    = image caption
|type       = Helmet
|min_str    = 0
|stab       = 20
|slash      = 20
|blunt      = 8
|visibility = 78
|conspic    = 64
|noise      = 89
|charisma   = 10
|durability = 71
|weight     = 5
|price      = 1359.5
|code       = 457922f9-5c5b-8caa-5df0-7449097cff90}}
Infobox item
Grand bascinet.png
Damage
Stab
20
Slash
20
Blunt
8
Item information
Type
Minimum strength
0
Visibility
78
Conspicuousness
64
Noise
89
Charisma
10
Durability
71
Weight
5
Price
1359.5
Technical information
Code
457922f9-5c5b-8caa-5df0-7449097cff90




Weapon

For a weapon:
{{Infobox item
|title      = St. George's sword
|image      = StGeorgeSword-Icon.png
|caption    = image caption
|type       = Longsword
|min_str    = 12
|stab       = 72
|slash      = 72
|blunt      = 3
|defence    = 110
|charisma   = 18
|durability = 71
|weight     = 3.1
|price      = 2203.7
|code       = db0725ac-c0e0-41db-b7a6-2887c57df612}}
Infobox item
StGeorgeSword-Icon.png
Damage
Stab
72
Slash
72
Blunt
3
Item information
Minimum strength
12
Defence
110
Charisma
18
Durability
71
Weight
3.1
Price
2203.7
Technical information
Code
db0725ac-c0e0-41db-b7a6-2887c57df612




Horse Tack

For a horse tack item:
{{Infobox item
|title      = Noble saddle
|image      = Noble saddle.png
|caption    = image caption
|type       = Saddle
|durability = 1
|weight     = 20
|price      = {{Multiparameter|type = saddle|{{Groschen|673.3}}|{{Groschen|783.8}}|{{Groschen|911.6}}|{{Groschen|1058.9}}|1228.2}}
|capacity   = {{Multiparameter|type = saddle|+160|+170|+180|+190|+200}}
|speed      = {{Multiparameter|type = saddle|-5|-5|-5|-5|-1}}
|code       = {{Multiparameter|type = saddle|4866cba5-da9f-00b9-bed9-2d135eb760ba|47fd7eb2-de81-37fc-0ca2-772fd3c54baa|40c16f73-5b83-c139-96eb-c39ff5e9e7a6|4e874d43-cf70-1d41-7510-296b8e2c839d|41f6e46c-bca6-16da-169a-f0c8f1a6e2ab}}}}
Infobox item
Noble saddle.png
Item information
Type
Durability
1
Weight
20
Price
No saddlebag
673.3 Prague Groschen
1 saddlebag
783.8 Prague Groschen
2 saddlebags
911.6 Prague Groschen
3 saddlebags
1058.9 Prague Groschen
4 saddlebags
1228.2
Capacity
No saddlebag
+160
1 saddlebag
+170
2 saddlebags
+180
3 saddlebags
+190
4 saddlebags
+200
Speed
No saddlebag
-5
1 saddlebag
-5
2 saddlebags
-5
3 saddlebags
-5
4 saddlebags
-1
Technical information
Code
No saddlebag
4866cba5-da9f-00b9-bed9-2d135eb760ba
1 saddlebag
47fd7eb2-de81-37fc-0ca2-772fd3c54baa
2 saddlebags
40c16f73-5b83-c139-96eb-c39ff5e9e7a6
3 saddlebags
4e874d43-cf70-1d41-7510-296b8e2c839d
4 saddlebags
41f6e46c-bca6-16da-169a-f0c8f1a6e2ab




Food

For a food item:
{{Infobox item
|title       = Herring
|image       = Herring.png
|caption     = image caption
|type        = Unobtainable food
|nourishment = 12
|health      = 0
|energy      = 0
|alcohol     = 0
|durability  = 1
|weight      = 0.5
|price       = 3.8
|code        = 06be2a3d-4e05-4a78-85cd-33879cd669c9}}
Infobox item
Herring.png
Item information
Nourishment
12
Health
0
Energy
0
Alcohol
0
Durability
1
Weight
0.5
Price
3.8
Technical information
Code
06be2a3d-4e05-4a78-85cd-33879cd669c9




Potion

For a potion:
{{Infobox item
|title          = Bane potion
|image          = Bane potion recipe.jpg
|caption        = The in-game recipe image
|type           = Potion
|nourishment    = -20
|health         = -110
|energy         = -20
|alcohol        = 7
|effect         = [[Bane Potion Effect|Strong poison]]
|durability     = ∞
|weight         = 0.5
|price          = 90
|image3         = Bane potion.png
|caption3       = The potion icon
|recipe_image   = Books.png
|recipe_caption = The icon Books.png for all recipes
|recipe_weight  = 1
|recipe_price   = 540
|recipe_code    = a955dc3d-1327-40d2-a9ea-bb2d06f576ec
|code           = 42e54d97-6e63-4e50-a09d-325ef4dd2286}}
Infobox item
Bane potion recipe.jpg
Item information
Type
Nourishment
-20
Health
-110
Energy
-20
Alcohol
7
Durability
Weight
0.5
Price
90
Recipe information
Recipe weight
1
Recipe price
540
Recipe code
a955dc3d-1327-40d2-a9ea-bb2d06f576ec
Technical information
Code
42e54d97-6e63-4e50-a09d-325ef4dd2286




Skill Book

For a skill book:
{{Infobox item
|title         = The Rule of St. Nicholas
|image         = The Rule of St Nicholas.jpg
|caption       = The in-game book image
|type          = Skill book
|length        = {{Multiparameter|type = book|40|60|80|100}}
|weight        = 1
|price         = {{Multiparameter|type = book|{{Groschen|50}}|{{Groschen|150}}|{{Groschen|450}}|1350}}
|skill         = [[Pickpocketing]]
|image3        = The Rule of St Nicholas.png
|caption3      = The book icon
|code          = {{Multiparameter|type = book|f08ed73b-89a1-43e7-901c-df49885140be|15a92bc2-d1f3-438f-a104-c1fc7bd71996|f7d8c372-ab36-4868-b720-2e887fd1c7d5|6e3c3cfd-0315-436b-9b52-9087a127e644}}}}
Infobox item
The Rule of St Nicholas.jpg
Item information
Length
Book I
40
Book II
60
Book III
80
Book IV
100
Weight
1
Price
Book I
50 Prague Groschen
Book II
150 Prague Groschen
Book III
450 Prague Groschen
Book IV
1350
Technical information
Code
Book I
f08ed73b-89a1-43e7-901c-df49885140be
Book II
15a92bc2-d1f3-438f-a104-c1fc7bd71996
Book III
f7d8c372-ab36-4868-b720-2e887fd1c7d5
Book IV
6e3c3cfd-0315-436b-9b52-9087a127e644




Treasure Map

For a treasure map:
{{Infobox item
|title    = Treasure map I
|image    = treasure map i.png
|caption  = In-game image of the map
|type     = Treasure map
|image2   = Treasure map i loot location.jpg
|caption2 = In-game map location of the treasure
|weight   = 0.1
|price    = 100
|image3   = Treasure map i houses.jpg
|caption3 = In-game screenshot of the treasure
|code     = 59374dd5-b243-47f9-be1a-b168407f6d9a}}
Infobox item
Treasure map i.png
Item information
Weight
0.1
Price
100
Technical information
Code
59374dd5-b243-47f9-be1a-b168407f6d9a




Template Codes

Item

{{Infobox item
|title   = 
|image   = 
|caption = 
|type    = 
|length  = 
|effect  = 
|weight  = 
|price   = 
|code    = 
}}

Armour

{{Infobox item
|title      = 
|image      = 
|caption    = 
|type       = 
|min_str    = 
|stab       = 
|slash      = 
|blunt      = 
|visibility = 
|conspic    = 
|noise      = 
|charisma   = 
|durability = 
|weight     = 
|price      = 
|code       = 
}}

Weapon

{{Infobox item
|title      = 
|image      = 
|caption    = 
|type       = 
|min_str    = 
|min_agi    = 
|stab       = 
|slash      = 
|blunt      = 
|power      = 
|power_mod  = 
|defence    = 
|charisma   = 
|durability = 
|weight     = 
|price      = 
|code       = 
}}

Horse Tack

{{Infobox item
|title      = 
|image      = 
|caption    = 
|type       = 
|durability = 
|weight     = 
|price      = 
|capacity   = 
|courage    = 
|speed      = 
|code       = 
}}

Saddle

{{Infobox item
|title      = 
|image      = 
|caption    = 
|type       = saddle
|durability = 1
|weight     = 
|price      = {{Multiparameter|type = saddle|{{Groschen|}}|{{Groschen|}}|{{Groschen|}}|{{Groschen|}}|}}
|capacity   = {{Multiparameter|type = saddle|||||}}
|speed      = {{Multiparameter|type = saddle|||||}}
|code       = {{Multiparameter|type = saddle|||||}}
}}

Food

{{Infobox item
|title       = 
|image       = 
|caption     = 
|type        = food
|nourishment = 
|health      = 
|energy      = 
|alcohol     = 
|effect      = 
|durability  = 
|weight      = 
|price       = 
|code        = 
}}

Potion

{{Infobox item
|title          = 
|image          = 
|caption        = 
|type           = potion
|nourishment    = 
|health         = 
|energy         = 
|alcohol        = 
|effect         = 
|durability     = ∞
|weight         = 0.5
|price          = 
|image3         = 
|caption3       = 
|recipe_image   = Books.png
|recipe_caption = 
|recipe_weight  = 1
|recipe_price   = 
|recipe_code    = 
|code           = 
}}

Skill Book

{{Infobox item
|title         = 
|image         = 
|caption       = 
|type          = skill book
|length        = {{Multiparameter|type = book|40|60|80|100}}
|weight        = 1
|price         = {{Multiparameter|type = book|{{Groschen|50}}|{{Groschen|150}}|{{Groschen|450}}|1350}}
|skill         = 
|image3        = 
|caption3      = 
|code          = {{Multiparameter|type = book||||}}
}}

Treasure Map

{{Infobox item
|title    = 
|image    = 
|caption  = In-game image of the map
|type     = treasure map
|image2   = 
|caption2 = In-game map location of the treasure
|weight   = 0.1
|price    = 
|image3   = 
|caption3 = In-game screenshot of the treasure
|code     = 
}}