Template:Misc item page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(141 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<includeonly>{{PageSeo
<includeonly>{{PageSeo
| image = {{{image|}}}
| image = {{#if:{{{controller icon|}}}|{{{controller icon}}}|{{#if:{{{image|}}}|{{{image}}}|{{{icon|}}}}}}}
| description = {{{seo description|{{MiscItemPage/Description
| description = {{#if: {{{description|}}} | {{{description}}} | {{Misc item page/description
   | type = {{{type}}}
   | type = {{{type}}}
   | rarity = {{{rarity|}}}
   | rarity = {{{rarity|}}}
   }}
   }}}}
}}}}} __NOTOC__
}} __NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-{{#if: {{{rarity|}}}  
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-{{#if: {{{rarity|}}}  
| {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }}
| {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }}
| common
| common
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right|alt={{PAGENAME}} image]] | {{#if:{{{controller icon|}}} | [[File:{{{controller icon}}}|frameless|right|alt={{PAGENAME}} controller icon]] | {{#if:{{{icon|}}} | [[File:{{{icon}}}|frameless|right|alt={{PAGENAME}} icon]] | }} }} }}{{#if: {{{image|}}} || {{Main only|[[Category:Misc pages without images]]}} }}{{#if: {{{controller icon|}}} || {{Main only|[[Category:Item pages without controller icons]]}} }}{{#if: {{{icon|}}} || {{Main only|[[Category:Item pages without icons]]}} }}
 
{{{description}}}{{#if: {{{quote|}}} | {{blank}}
{{{description}}} {{#if: {{{quote|}}} | {{blank}}
{{Description|{{{quote|Missing quote ... imagine some nice flavour text here.}}}}}
 
{{quote|{{{quote|Missing quote ... imagine some nice flavour text here.}}}}}


}}
}}
Line 19: Line 17:
<h2> Properties </h2>
<h2> Properties </h2>


<div class="bg3wiki-property-list">
* {{#switch: {{{type|}}}
* {{#switch: {{{type|}}}
| Ammunition = {{SmallIcon|Ammunition Icon.png}} [[Ammunition]]
| Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]]
| Books = {{Books}}
| Books = {{Books}}
| Notes = {{SmallIcon|Notes Icon.png}} [[Notes]]
| Coatings = {{Coatings}}
| Food = {{Food}}
| Food = {{Food}}
| Drinks = {{Drinks}}
| Drinks = {{Drinks}}
| Potions = {{Potions}}
| Elixirs = {{Elixirs}}
| Keys = {{Keys}}
| Grenades = {{Grenades}}
| Potions = {{SmallIcon|Potions Icon.png}} [[Potions]]
| Scrolls = {{Scrolls}}
| Scrolls = {{Scrolls}}
| Consumables = {{Consumables}}
| Consumables = {{Consumables}}
| Misc = Miscellaneous Items
| Dyes = {{SmallIcon|Dye.png}} [[Dyes]]
| #default = [[{{{type}}}]] }} {{#if: {{{camp supplies|}}}|
| Misc = {{SmallIcon|Miscellaneous Icon.png}} [[Miscellaneous|Miscellaneous Items]]
| Containers = {{SmallIcon|Containers Icon.png}} [[Containers]]
| Instruments = {{SmallIcon|Instruments Icon.png}} [[Instruments]]
| Alchemy Ingredients = {{Alchemical Ingredients}}
| Alchemical Ingredients = {{Alchemical Ingredients}}
| Alchemy Extracts = {{Alchemical Extracts}}
| Alchemical Extracts = {{Alchemical Extracts}}
| #default = [[{{{type}}}]]
<!--}} {{#if: {{{book author|}}} |
* {{SmallIcon|Books Icon.png}} Author: {{{book author}}}-->
}} {{#if: {{{book author|}}} |
* {{#ifexist: {{{book author}}} | {{SmallIcon|Journal Icon.webp}} Author: {{CharLink|{{{book author}}}}} | {{SmallIcon|Journal Icon.webp}} Author: {{{book author}}} }}
}} {{#if: {{{camp supplies|}}} |
* {{Camp Supplies}}: {{{camp supplies}}}
* {{Camp Supplies}}: {{{camp supplies}}}
}} {{#if: {{{single use|}}}|
}} {{#if: {{{single use|}}} |
* {{SmallIcon|Consumables Icon.png}} Single Use
* {{SmallIcon|Consumables Icon.png}} Single Use
}}
}} {{#if: 1 |
* {{Rarity | {{{rarity|common}}} }}
* {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }}
}} {{#if: {{{weight kg|}}} |
* {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
* {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
* {{Price | {{{price}}} }} {{#if: {{{effect|}}} | {{blank}}
}} {{#if: {{{price|}}} |
* {{Price | {{{price}}} | {{{price honour|}}} }}
}} {{#if: {{{uid|}}} {{{uuid|}}} |
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }}
}}  
</div>


{{#if: {{{effect|}}} |
<h3> Effect </h3>
<h3> Effect </h3>
{{#switch: {{{usage cost|}}}
{{#switch: {{{usage cost|}}}
| action = {{InfoBlob|{{action}}}}
| action = {{InfoBlob | {{action}} }}
| bonus action = {{InfoBlob|{{action|bonus}}}}
| bonus action = {{InfoBlob | {{action|bonus}} }}
| #default =  
| #default =  
}}
}}
{{{effect}}}
{{{effect}}}


}}</div> {{#if: {{{where to find|}}} | {{blank}}
}}
{{#if: {{{special|}}} | {{blank}}


<h2> Where to Find </h2>
=== Special ===


<div class="bg3wiki-tooltip-box">
The wearer of this item gains:
{{{where to find}}}
{{{special}}}
</div>
{{#if: {{{stealth disadvantage|}}} | * {{Disadvantage}} on [[Stealth]] checks. }}
}}
{{clear}}</div>
{{#if: {{{condition|}}} |


}} {{#if: {{{book text|}}} | {{blank}}
<h2> Condition: {{{condition}}} </h2>


<h2> Text </h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| dc = {{{condition dc|}}}
| duration = {{{condition duration|}}}
| radius m = {{{condition radius m|}}}
}}
{{main namespace only|{{Inflicts|{{{condition}}}|item|type=item|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}}
</div>
}} {{#if: {{{condition2|}}} |


<blockquote class="bg3wiki-tooltip-box bg3wiki-book-text">
<h2> Condition: {{{condition2}}} </h2>
{{{book text}}}
</blockquote>


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition2}}}
| save = {{{condition2 save|}}}
| dc = {{{condition2 dc|}}}
| duration = {{{condition2 duration|}}}
| radius m = {{{condition2 radius m|}}}
}}
}}
{{main namespace only|{{Inflicts|{{{condition2}}}|item|type=item|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}}
</div>
}} {{#if: {{{area|}}} |


{{#switch: {{{this is an example|}}}
<h2> Area: {{{area}}} </h2>
| yes =
| #default = {{#ifeq: {{{type}}} | Misc | [[Category:Misc Items]] | [[Category:{{{type}}}]] }} [[Category:{{{rarity|common}}} Items]]
}}</includeonly><noinclude><!--


    ==== Documentation follows ====
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}}
</div>
}} {{#if: {{{where to find|}}} |


-->
<h2> Where to find </h2>
This template generates entire pages for individual items of the following types: [[Ammunition]], [[Books]], [[Camp Supplies#Food]], [[Camp Supplies#Drinks]], [[Potions]], [[Scrolls]], [[Consumables]], and other [[Miscellaneous|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).'''
<div class="bg3wiki-tooltip-box">
 
{{{where to find}}}
<pre>
</div>
{{MiscItemPage
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| image =
| description =
| quote = The in-game flavour text in the item's tooltip.
| book text =
| type =
| camp supplies =
| single use =
| rarity =
| weight kg =
| weight lb =
| price =
| usage cost =
| effect =
| where to find =
}}
</pre>


[[Category:Page Generating Templates]] [[Category:Item Page Templates]]
}} {{#if: {{{usage|}}} |


Examples follow.
<h2> Usage </h2>


= Ammunition =
<div class="bg3wiki-tooltip-box">
{{{usage}}}
</div>


{{MiscItemPage
}} {{#if: {{{book text|}}} |
| image = Ammunition Arrow Icon.png
| description = {{legendary|Arrow of Shootythings}} is a legendary piece of [[Ammunition]] that does shooty-type things. <!-- 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 = Ammunition <!-- 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. -->
| single use = yes
| rarity = legendary <!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| weight kg = 0.3
| weight lb = 0.7
| price = 36
| usage cost = action <!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| effect = <!-- The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items. -->
* Deal an additional {{DamageText|1d4|Piercing}} damage to all creatures within the area of effect
* {{AOE|m=2|ft=6|Radius}}
* Create an [[Awesome Surface]]
* Target creature also takes normal {{code|Weapon Damage}} if the attack hits
| 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.
| this is an example = yes
}}


= Book =
<h2> Text </h2>
 
{{MiscItemPage
| image = Book_WizardyGenericG.png
| description = '''Book of Wisdom and Insight and Deep Knowledge''' is a common [[Books|Book]]. <!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. -->
| quote = A weighty tome for sure.
| book text = 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.
{{#if: {{{book spoiler|}}}
| <div class="mw-collapsible mw-collapsed" data-expandtext="Show Spoilers" data-collapsetext="Hide Spoilers" style="background: linear-gradient(to right, #443E20, #232323, #232323, #232323); align-items:center; border-radius:10px; padding: 5px;">


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.<!-- The text of the book. Leave EMPTY for non-books - use "quote" parameter for all other item types. -->
[[File:Books_Icon.png|32px|link=]] ''' {{color|#ebb73f|Spoiler warning!}} This text might contain spoilers about the story of ''Baldur's Gate 3''.'''
| type = Books <!-- Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc -->
<div class="mw-collapsible-content noexcerpt" style="background:#232323; border-radius:10px; padding: 15px;">{{BookText | {{{book text}}} }} </div></div>
| camp supplies = <!-- Number of Camp Supplies. Leave EMPTY for all except Food and Drinks. -->
| {{BookText | {{{book text}}} }}
| rarity = common <!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| weight kg = 0.5
| weight lb = 1.1
| price = 10
| usage cost = <!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| effect = <!-- The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items. -->
| 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. If you could, it would probably be on some wizard's bookshelf.
| this is an example = yes
}}
}}


= Food =
<!--
}} {{#if: {{{book author|}}} |


{{MiscItemPage
<h2> Author </h2>
| image = Food Icon.png
<div class="bg3wiki-tooltip-box">
| description = '''Delicious Apple''' is a common [[Camp Supplies#Food|Food]] item that grants [[Camp Supplies]] for a [[Long Rest]]. <!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. -->
{{CharLink|{{{book author}}}}}
| quote = Super tasty!
</div>
| book text = <!-- The text of the book. Leave EMPTY for non-books - use "quote" parameter for all other item types. -->
-->
| type = Food <!-- Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc -->
}} {{#if: {{{notes|}}} |
| camp supplies = 5 <!-- Number of Camp Supplies. Leave EMPTY for all except Food and Drinks. -->
| rarity = common <!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| weight kg = 0.5
| weight lb = 1.1
| price = 5
| usage cost = <!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| effect = <!-- The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items. -->
| 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, but food like this is quite common.
| this is an example = yes
}}


= Scroll =
<h2> Notes </h2>
<div class="bg3wiki-tooltip-box">
{{{notes}}}
</div>
}} {{#if: {{{bugs|}}} |


{{MiscItemPage
<h2> Bugs </h2>
| image = Scroll of Revivify.png
| description = {{uncommon|Scroll of Castyspell}} is an uncommon [[Scrolls|Scroll]] that can be consumed to cast [[A Neat Spell]]. <!-- 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 = Scrolls <!-- 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. -->
| single use = yes
| rarity = uncommon <!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| weight kg = 0.1
| weight lb = 0.2
| price = 100
| usage cost = action <!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| effect = <!-- The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items. -->
* Consume the scroll to cast {{SmallIcon|Magic Missile Icon.png}} [[A Neat Spell]]
* (Refer to the spell's page to determine whether the scroll takes an {{action}} or {{action|bonus}} to use.)
| 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.
| this is an example = yes
}}


= Potion =
<div class="bg3wiki-tooltip-box">
 
{{{bugs}}}
{{MiscItemPage
{{Main namespace only|[[Category:Bugs]]}}
| image = Potion_A_Icon.png
</div>
| 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. -->
}} {{Main namespace only|{{#switch:{{{type}}}
| quote = The in-game flavour text in the item's tooltip.
| Misc = [[Category:Misc items]]
| book text = <!-- The text of the book. Leave EMPTY for non-books - use "quote" parameter for all other item types. -->
| Alchemy Extracts|Alchemical Extracts = [[Category:Alchemical extracts]]
| type = Potions <!-- Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc -->
| Alchemy Ingredients|Alchemical Ingredients = [[Category:Alchemical ingredients]]
| camp supplies = <!-- Number of Camp Supplies. Leave EMPTY for all except Food and Drinks. -->
| #default = [[Category:{{{type}}}]]
| single use = yes <!-- "yes" if item is consumed on use (Ammunition, Consumables, Potions, Scrolls, some Drinks, and some Misc Items); otherwise leave BLANK. -->
}}{{#switch: {{lc:{{{rarity|}}}}}
| rarity = uncommon <!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| common = [[Category:Common items]]
| weight kg = 0.5
| uncommon = [[Category:Uncommon items]]
| weight lb = 1.1
| rare = [[Category:Rare items]]
| price = 100
| very rare = [[Category:Very rare items]]
| usage cost = bonus action <!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| legendary = [[Category:Legendary items]]
| effect = <!-- The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items. -->
| story = [[Category:Story items]]
* Stuff +1 until next [[Long Rest]]
| #default = [[Category:Common items]]}}
| where to find = <!-- Describe where and how to obtain the item. -->
{{ItemIcon Insert|
This is a made-up item. You cannot obtain it anywhere in the game.
|icon={{{icon|}}}
| this is an example = yes
|image={{{controller icon|}}}
|uid={{{uid|}}}
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}}
}}{{#cargo_store:
_table=misc_items
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
|uid = {{{uid|}}}
|camp_supplies = {{{camp supplies|0}}}
|action_type = {{{usage cost|}}}
|price = {{{price|0}}}
|weight_kg = {{{weight kg|}}}
|rarity = {{#if:{{{rarity|}}}|{{{rarity}}}|common}}
|book_author = {{{book author|}}}
}}
}}
 
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
----
_table=misc_items
 
|name = String (mandatory)
TemplateData documentation follows from this point on.
|uid = String
 
|type = String(allowed values = Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Instruments, Containers, Misc, Notes, Alchemical Ingredients, Alchemical Extracts, Dyes)
----
|image = File
 
|controller_icon = File
<templatedata>
|icon = File
{
|description = Wikitext
"params": {
|quote = Wikitext
"name": {
|camp_supplies = Integer
"description": "The name of the item; can be left empty if it's the page's name.",
|rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story)
"example": "Potion of Fire Resistance",
|action_type = String
"type": "string",
|effect = WikiText
"suggested": true
|condition_duration = String
},
|condition_save = String
"image": {
|price = String
"description": "The filename of the image/icon associated with this item.",
|weight_kg = String
"example": "Potion of Fire Resistance Icon.png",
|book_author = String
"type": "wiki-file-name",
}}</noinclude>
"suggested": true
},
"description": {
"description": "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.",
"type": "content",
"required": true,
"suggested": true
},
"quote": {
"description": "The in-game flavour text in the item's tooltip.",
"type": "content",
"suggested": true
},
"book text": {
"description": "The text within the book. Leave EMPTY for non-books - use \"quote\" parameter for tooltip flavour text.",
"type": "content",
"suggested": true
},
"where to find": {
"description": "Describe where and how to obtain the item.",
"example": "Looted from [[NPC]] in [[Location]].",
"type": "content",
"suggested": true
},
"type": {
"description": "Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc",
"type": "string",
"suggestedvalues": [
"Ammunition",
"Books",
"Food",
"Drinks",
"Potions",
"Scrolls",
"Consumables",
"Misc"
],
"required": true,
"suggested": true
},
"camp supplies": {
"description": "Number of Camp Supplies. Leave EMPTY for all except Food and Drinks.",
"type": "number",
"suggested": true
},
"rarity": {
"description": "Rarity of the item. Choose from: common, uncommon, rare, very rare, legendary, story",
"type": "string",
"suggestedvalues": [
"common",
"uncommon",
"rare",
"very rare",
"legendary",
"story"
],
"default": "common",
"autovalue": "common",
"required": true
},
"weight kg": {
"description": "Weight of the item in kilograms",
"type": "number",
"required": true
},
"weight lb": {
"description": "Weight of the item in pounds",
"type": "number",
"required": true
},
"price": {
"description": "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.",
"type": "number",
"required": true
},
"effect": {
"description": "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]]",
"type": "content",
"suggested": true
},
"usage cost": {
"description": "The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items.",
"type": "string",
"suggestedvalues": [
"action",
"bonus action"
],
"suggested": true
},
"single use": {
"type": "string",
"description": "\"yes\" if item is consumed on use (Ammunition, Consumables, Potions, Scrolls, some Drinks, and some Misc Items); otherwise leave BLANK.",
"suggestedvalues": [
"yes"
],
"suggested": true
}
},
"description": "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.",
"format": "block"
}
</templatedata></noinclude>

Latest revision as of 02:52, 28 November 2024

Template documentation

This template generates entire pages for individual items of the following types: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Alchemical Ingredients, Alchemical Extracts, Dyes, Instruments, Containers, 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 =

<!-- A smaller, unfaded image of the item, used for the controller interface. Falls back to the value of "image" if not provided -->
| controller icon = Longsword Unfaded.png

<!-- An even smaller image of the item, to be used as an icon. Falls back to the value of "controller icon" if not provided -->
| icon = Longsword Unfaded Icon.png

<!-- 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 spoiler =

<!-- Book or Note author.  Leave empty if this is not a book or note. -->
| book author =

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

<!-- Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Instruments, Containers, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes -->
| 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 UID of the item. Is a string similar to OBJ_ItemName_OtherSubName. -->
| uid =
<!-- The UUID or Root Template of the item. Is a string in format like "3d99b0ae-4e96-438a-8029-cce11109f415" -->
| uuid = 

<!-- 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 =

<!-- List of special features, bonuses, or abilities granted by the item. -->
| special =

<!-- The condition applied by this consumable. Leave EMPTY for non-consumable items. -->
| condition =

<!-- The number of turns to apply this condition, can also use 'Long Rest' or 'Short Rest' -->
| condition duration =

<!-- The saving throw for this condition, if applicable -->
| condition save =

<!-- The fixed dc for this condition, if applicable -->
| condition dc =

<!-- The radius to apply this condition in meters, if applicable -->
| condition radius m =

<!-- The area that is created when this item is destroyed or thrown. -->
| area = 

<!-- The shape of the area (usually 'Radius') -->
| area shape = 

<!-- The range of the area in meters -->
| area range m = 

<!-- The range of the area in feet -->
| area range ft = 

<!-- How long the created area lasts, in turns -->
| area duration = 

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

<!-- Where and how to use this item in the game. Meant for keys and similar items.-->
| usage =

<!-- Any additional notes.  Could be a single line or a list in wiki syntax. -->
| notes =

<!-- Any known bugs.  Could be a single line or a list in wiki syntax. -->
| bugs =

}}

Copy-ready template:

{{MiscItemPage
| image =
| controller icon =
| icon =
| description =
| quote =
| book spoiler =
| book author =
| book text =
<!-- Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Instruments, Containers, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes -->
| type =
| camp supplies =
| single use =
<!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| rarity =
| weight kg =
| weight lb =
| price =
| uid =
| uuid =
<!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| usage cost =
| effect =
| where to find =
| usage =
| notes =
| bugs =
}}

Examples follow.

Arrow

Misc item page image

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

  • Arrows
  • Single Use
  • Rarity: Legendary
  •  Weight: 0.3 kg / 0.6 lb
  • Price: 36 gp
  • UID OBJ_Arrow_Shooty_Legendary
    UUID 3d99b0ae-4e96-438a-8029-cce11109f415

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.

Notes

  • Interesting additional fact.
  • Another interesting additional fact.

Bugs

  • Totally broken on the latest patch. Yikes!

Book

Misc item page image

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

Description Icon.png

A weighty tome for sure.

Properties

  • Books
  • Author: Volo Volo
  • Rarity: Common / UncommonHHonour
  •  Weight: 0.5 kg / 1 lb
  • Price: 10 gp / 100 gpHHonour


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 spoilers 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

Misc item page image

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

Misc item page image

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

Misc item page image

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

Misc item page image

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

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.

Alchemy Extract

Misc item page image

Salts of Example is a common Alchemical Extract 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.

Key

Misc item page image

Moss-Covered Key is a miscellaneous Story Item in Act One.

Description Icon.png

A simple key carried by a goblin in Moonhaven. Moss sticks stubbornly to the many nooks and crannies.

Properties


Where to find

Usage

Opens the Moss-Covered Chest in Blighted Village at X: 29 Y: 405

Miscellaneous Item

Misc item page image

Ball is a common Miscellaneous Item.

Description Icon.png

The exterior of this toy ball is rough with tooth marks.

Properties


Where to find

On a pillow in Gales tent at Camp.

Misc item page image

Crate is a common miscellaneous item. It is heavy and has little value and is primarily used for set-dressing.

Description Icon.png

Often hauled about by merchants and mongers.

Properties

  • Containers
  • Rarity: Common
  •  Weight: 10 kg / 20 lb
  • Price: 1 gp


Where to find

Found throughout the game as set-dressing.


TemplateData documentation follows from this point on.


This template generates entire pages for individual items of the following types: Arrows, Books, Coatings, Elixirs, Food, Grenades, Drinks, Potions, Scrolls, Consumables, Alchemical Ingredients, Alchemical Extracts, Dyes, Instruments, Containers, 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 associated with this item, usually the image seen in tooltips.

Example
Potion of Fire Resistance Faded.png
Filesuggested
controller iconcontroller icon

The unfaded controller icon of this item. Defaults to the value of image= if not provided.

Filesuggested
iconicon

The icon of this item. Defaults to the value of controller icon= if not provided.

Filerequired
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 spoilerbook 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 authorbook author

The author of the book or note. Leave EMPTY for non-books - use "quote" parameter for tooltip flavour text.

Contentsuggested
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
Carried by [[NPC]] in [[Location]]
Contentsuggested
usageusage

Describe where and how to use the item.

Example
Opens the chest in [[Location]]
Contentsuggested
typetype

Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Instruments, Container, Alchemical Ingredients, Alchemical Extracts, Dyes

Suggested values
Arrows Books Coatings Elixirs Food Grenades Drinks Potions Scrolls Consumables Instruments Containers Misc Alchemical Ingredients Alchemical Extracts Dyes
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
uiduid

UID for the item. Is a string in a format similar to "OBJ_ItemName_SomeSubName". It is NOT a uuid, in the format "a3859470-8d1b-40f5-9ca3-8a73fa9a592b".

Stringoptional
uuiduuid

The uuid or Root Template for the item. In a uuid format such as "3d99b0ae-4e96-438a-8029-cce11109f415".

Stringoptional
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 (Arrows, Grenades, Consumables, Potions, Scrolls, some Drinks, and some Misc Items); otherwise leave BLANK.

Suggested values
yes
Stringsuggested
seo descriptionseo description

no description

Unknownoptional
notesnotes

Any additional notes about this item.

Contentoptional
bugsbugs

Any known bugs about this item.

Contentoptional
this is an examplethis is an example

no description

Unknownoptional
rarity honourrarity honour

The rarity in Honour Mode, if it is different.

Unknownoptional
price honourprice honour

The price in Honour Mode, if it is different.

Unknownoptional
conditioncondition

no description

Unknownoptional
condition savecondition save

no description

Unknownoptional
condition dccondition dc

no description

Unknownoptional
condition durationcondition duration

no description

Unknownoptional
condition2condition2

no description

Unknownoptional
condition2 savecondition2 save

no description

Unknownoptional
condition2 dccondition2 dc

no description

Unknownoptional
condition2 durationcondition2 duration

no description

Unknownoptional
areaarea

no description

Unknownoptional
area shapearea shape

no description

Unknownoptional
area range marea range m

no description

Unknownoptional
area range ftarea range ft

no description

Unknownoptional
area durationarea duration

no description

Unknownoptional
specialspecial

List of special features, bonuses, or abilities granted by the item.

Example
* '''Super Cool Ability:''' Once per [[Long Rest]] you can use this awesome ability of this item.
Contentsuggested
This template defines the table "misc_items". View table.