Template:Misc item page

From bg3.wiki
Revision as of 11:47, 17 February 2023 by Majesstic (talk | contribs) (add TemplateData documentation)
Jump to navigation Jump to search

This template generates entire pages for individual items of the following types: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, and other Miscellaneous Items. For Weapons, see Template:WeaponPage. For Equipment, see Template:EquipmentPage.

Following is an example of usage with all possible template parameters shown. This describes a completely made-up potion.

Copy example values exactly as listed, including capitalization and plurals, if any. If you're ever unsure what to type, simply leave the parameter empty.

{{MiscItemPage
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| image = Potion of Poison Resistance Icon.png
| description = {{uncommon|Potion of Stuff}} is an uncommon [[Potions|Potion]] that grants +1 to Stuff until the next [[Long Rest]]. <!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. -->
| quote = The in-game flavour text in the item's tooltip.
| book text = <!-- The text of the book. Leave EMPTY for non-books - use "quote" parameter for all other item types. -->
| type = Potions <!-- Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc -->
| camp supplies = <!-- Number of Camp Supplies. Leave EMPTY for all except Food and Drinks. -->
| rarity = uncommon <!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| weight kg = 0.5
| weight lb = 1.1
| price = 100
| special = 
* Stuff +1 until next [[Long Rest]]
| where to find = <!-- Describe where and how to obtain the item. -->
This is a made-up item. You cannot obtain it anywhere in the game.
}}
See here for the result of the above: Template:MiscItemPage/Example

This template generates entire pages for individual items of the following types: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, and other Miscellaneous Items. For Weapons, see Template:WeaponPage. For Equipment, see Template:EquipmentPage.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
imageimage

The filename of the image/icon associated with this item.

Example
Potion of Fire Resistance Icon.png
Filesuggested
descriptiondescription

This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy.

Example
{{uncommon|Potion of Stuff}} is an uncommon [[Potions|Potion]] that grants +1 to Stuff.
Stringrequired
quotequote

The in-game flavour text in the item's tooltip.

Stringsuggested
book textbook text

The text within the book. Leave EMPTY for non-books - use "quote" parameter for tooltip flavour text.

Contentoptional
where to findwhere to find

Describe where and how to obtain the item.

Example
Looted from [[NPC]] in [[Location]].
Contentsuggested
typetype item type

Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc

Suggested values
Ammunition Books Food Drinks Potions Scrolls Consumables Misc
Stringrequired
camp suppliescamp supplies

Number of Camp Supplies. Leave EMPTY for all except Food and Drinks.

Numberoptional
rarityrarity

Rarity of the item. Choose from: common, uncommon, rare, very rare, legendary, story

Suggested values
common uncommon rare very rare legendary story
Default
common
Auto value
common
Stringrequired
weight kgweight kg

Weight of the item in kilograms

Numberrequired
weight lbweight lb

Weight of the item in pounds

Numberrequired
priceprice

Price/value of the item. When two values are listed on the tooltip, use the crossed out "true" value, not the adjusted buy/sell price.

Numberrequired
specialspecial

Any special effects of the item not already included in other template properties.

Example
* Grants +1 to [[Stuff]] until next [[Long Rest]]
Contentsuggested