Template:Misc item page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Add icon parameter)
(Use ItemIcon_Insert template)
Line 77: Line 77:
| yes =
| yes =
| #default = {{#ifeq: {{{type}}} | Misc | [[Category:Misc Items]] | [[Category:{{{type}}}]] }} {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}}
| #default = {{#ifeq: {{{type}}} | Misc | [[Category:Misc Items]] | [[Category:{{{type}}}]] }} {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}}
}}{{#cargo_store:
}}{{ItemIcon Insert|
_table:item_icon
|icon={{{icon|}}}
|name={{PAGENAME}}
|image={{{image|}}}
|icon={{#if:{{{icon|}}}|{{{icon}}}|{{{image|}}} }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{#cargo_attach:_table=item_icon}}


<!--
<!--

Revision as of 08:13, 5 September 2023


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

See the bottom of this page for template parameter explanations. If you're ever unsure what to type, simply leave a parameter empty (don't remove it, as this may confuse other wiki editors).

{{MiscItemPage

<!-- High-res image of the item. -->
| image =

<!-- Low-res, small image of the item. Used with the ItemIcon template. -->
| icon =

<!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. -->
| description =

<!-- In-game tooltip quote. -->
| quote =

<!-- Set this to "yes" if this is a book whose text contains spoiler, otherwise leave it empty.  DON'T set it to "no". -->
| book text spoiler =

<!-- Book text body.  Leave empty if this is not a book. -->
| book text =

<!-- Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc -->
| type =

<!-- Number of Camp Supplies. Leave EMPTY for all except Food and Drinks. -->
| camp supplies =

<!-- Set to "yes" if this is a single-use item like a potion or special arrow, otherwise leave EMPTY. -->
| single use =

<!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| rarity =

<!-- Weight in kg and in lb. -->
| weight kg =
| weight lb =

<!-- Price in gp as shown in the tooltip (NOT while buying or selling). -->
| price =

<!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| usage cost =

<!-- The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items. -->
| effect =

<!-- Where to find / how to obtain this item in the game. -->
| where to find =

}}

Examples follow.

Ammunition

Ammunition Arrow Icon.png

Arrow of Shootythings is a legendary piece of Ammunition that does shooty-type things.

Description Icon.png

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

Properties

  • Ammunition
  • Single Use
  • Rarity: Legendary
  •  Weight: 0.3 kg / 0.6 lb
  • Price: 36 gp

Effect

Action

  • Deal an additional 1d4Damage TypesPiercing damage to all creatures within the area of effect
  • AoE: 2 m / 6 ft (Radius)
  • Create an Awesome Surface
  • Target creature also takes normal Weapon Damage if the attack hits

Where to Find

This is a made-up item. You cannot obtain it anywhere in the game.


Book

Book WizardyGenericG.png

Book of Wisdom and Insight and Deep Knowledge is a common Book.

Description Icon.png

A weighty tome for sure.

Properties

  • Books
  • Rarity: Common
  •  Weight: 0.5 kg / 1 lb
  • Price: 10 gp


Where to Find

This is a made-up item. You cannot obtain it anywhere in the game. If you could, it would probably be on some wizard's bookshelf.

Text

Books Icon.png Spoiler warning! This text might contain about the story of Baldur's Gate 3.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. Lacus laoreet non curabitur gravida arcu ac. Massa sapien faucibus et molestie ac feugiat sed. In dictum non consectetur a. Ultrices neque ornare aenean euismod elementum nisi quis. Non arcu risus quis varius quam quisque. Quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Turpis egestas pretium aenean pharetra. Mollis aliquam ut porttitor leo a diam sollicitudin tempor id. Fames ac turpis egestas integer eget aliquet nibh praesent tristique. Proin nibh nisl condimentum id. Tortor id aliquet lectus proin. Nunc consequat interdum varius sit amet mattis vulputate enim nulla.

Et ligula ullamcorper malesuada proin libero nunc consequat interdum. Pharetra magna ac placerat vestibulum lectus mauris ultrices eros. Augue neque gravida in fermentum et sollicitudin ac. Ultrices gravida dictum fusce ut placerat orci. At tellus at urna condimentum mattis pellentesque. Arcu risus quis varius quam quisque. Tellus cras adipiscing enim eu. Lacinia at quis risus sed vulputate odio ut enim. Orci a scelerisque purus semper eget duis at tellus at. Elit duis tristique sollicitudin nibh sit amet. Volutpat consequat mauris nunc congue. Aliquam malesuada bibendum arcu vitae elementum curabitur vitae. Aliquet nec ullamcorper sit amet risus nullam.

Senectus et netus et malesuada fames ac turpis egestas. Tincidunt id aliquet risus feugiat in ante. Mus mauris vitae ultricies leo integer malesuada. Netus et malesuada fames ac turpis egestas integer eget. Adipiscing elit pellentesque habitant morbi. Feugiat in fermentum posuere urna nec. Sit amet commodo nulla facilisi nullam vehicula ipsum a. Fermentum posuere urna nec tincidunt praesent semper feugiat nibh sed. Sed libero enim sed faucibus turpis in eu mi. Gravida neque convallis a cras semper auctor neque. Vitae aliquet nec ullamcorper sit amet risus nullam eget felis. Sollicitudin nibh sit amet commodo nulla. Sit amet volutpat consequat mauris nunc. Enim ut tellus elementum sagittis. Quam id leo in vitae. Vitae proin sagittis nisl rhoncus mattis.


Food

Food Icon.png

Delicious Apple is a common Food item that grants Camp Supplies for a Long Rest.

Description Icon.png

Super tasty!

Properties


Where to Find

This is a made-up item. You cannot obtain it anywhere in the game, but food like this is quite common.


Scroll

Scroll of Revivify.png

Scroll of Castyspell is an uncommon Scroll that can be consumed to cast A Neat Spell.

Description Icon.png

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

Properties

  • Scrolls
  • Single Use
  • Rarity: Uncommon
  •  Weight: 0.1 kg / 0.2 lb
  • Price: 100 gp

Effect

Action

Where to Find

This is a made-up item. You cannot obtain it anywhere in the game.


Potion

Potion A Icon.png

Potion of Stuff is an uncommon Potion that grants +1 to Stuff until the next Long Rest.

Description Icon.png

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

Properties

  • Potions
  • Single Use
  • Rarity: Uncommon
  •  Weight: 0.5 kg / 1 lb
  • Price: 100 gp

Effect

Bonus action

Where to Find

This is a made-up item. You cannot obtain it anywhere in the game.


Alchemy Ingredient

Extract Earth 3 Icon.png

Salts of Example is a common Alchemy Ingredient that can be used in Alchemy to create An Example Potion.

Description Icon.png

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

Properties

Effect

Where to Find

This is a made-up item. You cannot obtain it anywhere in the game.



TemplateData documentation follows from this point on.


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
namename

The name of the item; can be left empty if it's the page's name.

Example
Potion of Fire Resistance
Stringsuggested
imageimage

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

Example
Potion of Fire Resistance Icon.png
Filesuggested
iconicon

The image to use as an icon. If blank, will fall back to image.

Unknownoptional
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.
Contentrequired
quotequote

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

Contentsuggested
book text spoilerbook text spoiler

Whether the book text section should be wrapped in a collapsible spoiler box. Use "yes" to enable, leave BLANK to disable. (Never actually type in "no".)

Suggested values
yes
Stringoptional
book textbook text

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

Contentsuggested
where to findwhere to find

Describe where and how to obtain the item.

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

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

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

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

Numbersuggested
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
effecteffect

The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items.

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

The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items.

Suggested values
action bonus action
Stringsuggested
single usesingle use

"yes" if item is consumed on use (Ammunition, Consumables, Potions, Scrolls, some Drinks, and some Misc Items); otherwise leave BLANK.

Suggested values
yes
Stringsuggested