Шаблон:Item infobox
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Item_infobox/doc to edit this documentation. (How does this work?) |
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 {{item infobox|<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. |
image | This is the top image, and the only one you want to use most of the time.
|
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.
|
min_str | Minimum Strength |
min_agi | Minimum 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. |
weight | Use for any item
|
price | Use for any item
|
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". |
recipe_price | Only used for potions recipes.
|
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
|
- 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:{{Item infobox |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}}
Armour
For an armour item:{{Item infobox |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}}
Weapon
For a weapon:{{Item infobox |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}}
Horse Tack
For a horse tack item:{{Item infobox |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}}}}
Food
For a food item:{{Item infobox |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}}
Potion
For a potion:{{Item infobox |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}}
Skill Book
For a skill book:{{Item infobox |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}}}}
Treasure Map
For a treasure map:{{Item infobox |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}}
Template Codes
Item
{{Item infobox |title = |image = |caption = |type = |length = |effect = |weight = |price = |code = }}
Armour
{{Item infobox |title = |image = |caption = |type = |min_str = |stab = |slash = |blunt = |visibility = |conspic = |noise = |charisma = |durability = |weight = |price = |code = }}
Weapon
{{Item infobox |title = |image = |caption = |type = |min_str = |min_agi = |stab = |slash = |blunt = |power = |power_mod = |defence = |charisma = |durability = |weight = |price = |code = }}
Horse Tack
{{Item infobox |title = |image = |caption = |type = |durability = |weight = |price = |capacity = |courage = |speed = |code = }}
Saddle
{{Item infobox |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
{{Item infobox |title = |image = |caption = |type = food |nourishment = |health = |energy = |alcohol = |effect = |durability = |weight = |price = |code = }}
Potion
{{Item infobox |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
{{Item infobox |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
{{Item infobox |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 = }}