Template:Misc item page: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(lol :))
mNo edit summary
(68 intermediate revisions by 10 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 = {{{description|{{Misc item page/description
   | type = {{{type}}}
   | type = {{{type}}}
   | rarity = {{{rarity|}}}
   | rarity = {{{rarity|}}}
Line 9: Line 9:
| {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }}
| {{#replace: {{lc: {{{rarity}}} }} | <nowiki> </nowiki> | }}
| common
| common
}}"> {{#if: {{{image|}}} | [[File:{{{image}}}|link=|300px|right]] | [[Category:Misc pages without images]]}}  
}}"> {{#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.}}}}}
{{Description|{{{quote|Missing quote ... imagine some nice flavour text here.}}}}}
Line 17: Line 17:
<h2> Properties </h2>
<h2> Properties </h2>


<ul class="bg3wiki-property-list">
<div class="bg3wiki-property-list">
<li> {{#switch: {{{type|}}}
* {{#switch: {{{type|}}}
| Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]]
| Arrows = {{SmallIcon|Ammunition Icon.png}} [[Arrows]]
| Books = {{Books}}
| Books = {{Books}}
| Notes = {{SmallIcon|Notes Icon.png}} [[Notes]]
| Coatings = {{Coatings}}
| Coatings = {{Coatings}}
| Food = {{Food}}
| Food = {{Food}}
Line 26: Line 27:
| Elixirs = {{Elixirs}}
| Elixirs = {{Elixirs}}
| Grenades = {{Grenades}}
| Grenades = {{Grenades}}
| Potions = {{SmallIcon|Potions Icon.png}} [[Alchemy|Potions]]
| Potions = {{SmallIcon|Potions Icon.png}} [[Potions]]
| Scrolls = {{Scrolls}}
| Scrolls = {{Scrolls}}
| Consumables = {{Consumables}}
| Consumables = {{Consumables}}
| Misc = Miscellaneous Items
| Dyes = {{SmallIcon|Dye.png}} [[Dyes]]
| Alchemy Ingredients
| Misc = {{SmallIcon|Miscellaneous Icon.png}} [[Miscellaneous|Miscellaneous Items]]
| Alchemical Ingredients = {{IconLink|Alchemy Icon.png|Alchemy|Alchemical Ingredients|size=25px}}
| Containers = {{SmallIcon|Containers Icon.png}} [[Containers]]
| Alchemy Extracts
| Instruments = {{SmallIcon|Instruments Icon.png}} [[Instruments]]
| Alchemical Extracts = {{IconLink|Solution Alchemy Icon.png|Alchemy|Alchemical Extracts|size=25px}}
| Alchemy Ingredients = {{Alchemical Ingredients}}
| Alchemical Ingredients = {{Alchemical Ingredients}}
| Alchemy Extracts = {{Alchemical Extracts}}
| Alchemical Extracts = {{Alchemical Extracts}}
| #default = [[{{{type}}}]]
| #default = [[{{{type}}}]]
}} {{#if: {{{camp supplies|}}} |
}} {{#if: {{{camp supplies|}}} |
<li> {{Camp Supplies}}: {{{camp supplies}}}
* {{Camp Supplies}}: {{{camp supplies}}}
}} {{#if: {{{single use|}}} |
}} {{#if: {{{single use|}}} |
<li> {{SmallIcon|Consumables Icon.png}} Single Use
* {{SmallIcon|Consumables Icon.png}} Single Use
}} {{#if: 1 |
* {{Rarity | {{{rarity|common}}} | {{{rarity honour|}}} }}
}} {{#if: {{{weight kg|}}} |
* {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
}} {{#if: {{{price|}}} |
* {{Price | {{{price}}} | {{{price honour|}}} }}
}} {{#if: {{{uid|}}} {{{uuid|}}} |
* {{SmallIcon|Ico stats.png}} {{#if: {{{uid|}}} | {{Uid|{{{uid}}}}} }} {{#if: {{{uuid|}}} | {{Uuid|{{{uuid}}}}} }}
}}
}}
<li> {{Rarity | {{{rarity|common}}} }}
</div>
<li> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }}
 
<li> {{Price | {{{price}}} }}
</ul>
{{#if: {{{effect|}}} |
{{#if: {{{effect|}}} |
<h3> Effect </h3>
<h3> Effect </h3>
{{#switch: {{{usage cost|}}}
{{#switch: {{{usage cost|}}}
Line 55: Line 64:


}}
}}
{{#if: {{{special|}}} | {{blank}}


{{clear}}
=== Special ===
 
</div> {{#if: {{{where to find|}}} |
 
<h2> Where to Find </h2>
 
<div class="bg3wiki-tooltip-box">
{{{where to find}}}
</div>
 
}} {{#if: {{{book text|}}} |


<h2> Text </h2>
The wearer of this item gains:
 
{{{special}}}
{{#if: {{{book text spoiler|}}}
{{#if: {{{stealth disadvantage|}}} | * {{Disadvantage}} on [[Stealth]] checks. }}
| <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;">
 
[[File:Books_Icon.png|32px|link=]] ''' {{color|#ebb73f|Spoiler warning!}} This text might contain about the story of ''Baldur's Gate 3''.'''
<div class="mw-collapsible-content noexcerpt" style="background:#232323; border-radius:10px; padding: 15px;">{{BookText | {{{book text}}} }} </div></div>
| {{BookText | {{{book text}}} }}
}}
}}
{{clear}}</div>
{{#if: {{{condition|}}} |


}}
<h2> Condition: {{{condition}}} </h2>
 
{{#switch: {{{this is an example|}}}
| yes =
| #default = {{#ifeq: {{{type}}} | Misc
  | [[Category:Misc Items]]
  | {{#ifeq: {{{type}}} | Alchemy Extracts
    | [[Category:Alchemical Extracts]]
    | {{#ifeq: {{{type}}} | Alchemy Ingredients
        | [[Category:Alchemical Ingredients]]
        | [[Category:{{{type}}}]] }}
    }}
  }} {{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare Items]] | [[Category:{{{rarity|common}}} Items]]}}
}}{{ItemIcon Insert|
|icon={{{icon|}}}
|image={{{image|}}}
|rarity={{{rarity|}}}
}}</includeonly><noinclude>
 
<!--
 
    ==== Documentation follows ====
 
-->
This template generates entire pages for individual items of the following types: [[Arrows]], [[Books]], [[Camp Supplies#Food|Food]], [[Camp Supplies#Drinks|Drinks]], [[Coatings]], [[Elixirs]], [[Grenades]], [[Potions]], [[Scrolls]], [[Consumables]], [[Alchemy|Alchemical Ingredients]], 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).'''
 
<pre>
{{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: Arrows, Books, Elixirs, Food, Coatings, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Alchemical Ingredients, Alchemical Extracts -->
| 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 =


<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{Condition | {{{condition}}}
| save = {{{condition save|}}}
| dc = {{{condition dc|}}}
| duration = {{{condition duration|}}}
}}
}}
</pre>
{{main namespace only|{{Inflicts|{{{condition}}}|item}}}}
 
</div>
[[Category:Page Generating Templates]] [[Category:Item Page Templates]]
{{#if: {{{condition2|}}} |


Examples follow.
<h2> Condition: {{{condition2}}} </h2>


= Arrow =
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
 
{{Condition | {{{condition2}}}
{{MiscItemPage
| save = {{{condition2 save|}}}
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| dc = {{{condition2 dc|}}}
| image = Ammunition Arrow Icon.png
| duration = {{{condition2 duration|}}}
| description = {{legendary|Arrow of Shootythings}} is a legendary piece of [[Ammunition]] that does shooty-type things.
| quote = The in-game flavour text in the item's tooltip.
| type = Arrows
| camp supplies =
| single use = yes
| rarity = legendary
| weight kg = 0.3
| weight lb = 0.7
| price = 36
| usage cost = action
| effect =
* 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 =
This is a made-up item. You cannot obtain it anywhere in the game.
| this is an example = yes
}}
}}
{{main namespace only|{{Inflicts|{{{condition2}}}|item}}}}
</div>


= Book =
  }}
}} {{#if: {{{area|}}} |


{{MiscItemPage
<h2> Area: {{{area}}} </h2>
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| image = Book_WizardyGenericG.png
| description = '''Book of Wisdom and Insight and Deep Knowledge''' is a common [[Books|Book]].
| quote = A weighty tome for sure.
| book text spoiler = yes
| 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.
<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|}}} |


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.
<h2> Where to find </h2>
| type = Books
| camp supplies =
| rarity = common
| weight kg = 0.5
| weight lb = 1.1
| price = 10
| usage cost =
| effect =
| 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.
| this is an example = yes
}}


= Food =
<div class="bg3wiki-tooltip-box">
{{{where to find}}}
</div>


{{MiscItemPage
}} {{#if: {{{book text|}}} |
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| image = Food Icon.png
| description = '''Delicious Apple''' is a common [[Camp Supplies#Food|Food]] item that grants [[Camp Supplies]] for a [[Long Rest]].
| quote = Super tasty!
| book text =
| type = Food
| camp supplies = 5
| rarity = common
| weight kg = 0.5
| weight lb = 1.1
| price = 5
| usage cost =
| effect =
| where to find =
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> Text </h2>


{{MiscItemPage
{{#if: {{{book spoiler|}}}
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| <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;">
| image = Scroll of Revivify.png
| description = {{uncommon|Scroll of Castyspell}} is an uncommon [[Scrolls|Scroll]] that can be consumed to cast [[A Neat Spell]].
| quote = The in-game flavour text in the item's tooltip.
| book text =
| type = Scrolls
| camp supplies =
| single use = yes
| rarity = uncommon
| weight kg = 0.1
| weight lb = 0.2
| price = 100
| usage cost = action
| effect =
* 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 =
This is a made-up item. You cannot obtain it anywhere in the game.
| this is an example = yes
}}


= Potion =
[[File:Books_Icon.png|32px|link=]] ''' {{color|#ebb73f|Spoiler warning!}} This text might contain spoilers about the story of ''Baldur's Gate 3''.'''
 
<div class="mw-collapsible-content noexcerpt" style="background:#232323; border-radius:10px; padding: 15px;">{{BookText | {{{book text}}} }} </div></div>
{{MiscItemPage
| {{BookText | {{{book text}}} }}
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| image = Potion_A_Icon.png
| description = {{uncommon|Potion of Stuff}} is an uncommon [[Potions|Potion]] that grants +1 to Stuff until the next [[Long Rest]].
| quote = The in-game flavour text in the item's tooltip.
| book text =
| type = Potions
| camp supplies =
| single use = yes
| rarity = uncommon
| weight kg = 0.5
| weight lb = 1.1
| price = 100
| usage cost = bonus action
| effect =
* Stuff +1 until next [[Long Rest]]
| where to find =
This is a made-up item. You cannot obtain it anywhere in the game.
| this is an example = yes
}}
}}


= Alchemy Ingredient =
}} {{#if: {{{notes|}}} |


{{MiscItemPage
<h2> Notes </h2>
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
<div class="bg3wiki-tooltip-box">
| image = Weavemoss Icon.png
{{{notes}}}
| description = [[Examplemoss]] is a common [[Alchemical Ingredients|Alchemical Ingredient]] that can be used in [[Alchemy]] to create [[Salts of Example]].
</div>
| quote = The in-game flavour text in the item's tooltip.
}} {{#if: {{{bugs|}}} |
| book text =
| type = Alchemical Ingredients
| camp supplies =
| single use = yes
| rarity = common
| weight kg = 0.1
| weight lb = 0.2
| price = 25
| usage cost =
| effect =
* Using alchemy, combine three {{SmallIcon|Weavemoss Icon.png}} [[Examplemoss]] to create {{SmallIcon|Extract Earth 3 Icon.png}} [[Salts of Example]]
| where to find =
This is a made-up item. You cannot obtain it anywhere in the game.
| this is an example = yes
}}


= Alchemy Extract =
<h2> Bugs </h2>


{{MiscItemPage
<div class="bg3wiki-tooltip-box">
<!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
{{{bugs}}}
| image = Extract Earth 3 Icon.png
{{Main namespace only|[[Category:Bugs]]}}
| description = [[Salts of Example]] is a common [[Alchemical Extracts|Alchemical Extract]] that can be used in [[Alchemy]] to create [[An Example Potion]].
</div>
| quote = The in-game flavour text in the item's tooltip.
| book text =
| type = Alchemical Extracts
| camp supplies =
| single use = yes
| rarity = common
| weight kg = 0.3
| weight lb = 0.6
| price = 75
| usage cost =
| effect =
* Using alchemy, combine with any [[Alchemy#Extractions|Suspension]] to create {{SmallIcon|Potion of Healing Icon.png}} [[An Example Potion]]
| where to find =
This is a made-up item. You cannot obtain it anywhere in the game.
| this is an example = yes
}}
}}
 
{{Main only|{{#switch:{{{type}}}
----
| Misc = [[Category:Misc items]]  
 
| Alchemy Extracts|Alchemical Extracts = [[Category:Alchemical extracts]]
TemplateData documentation follows from this point on.
| Alchemy Ingredients|Alchemical Ingredients = [[Category:Alchemical ingredients]]
 
| #default = [[Category:{{{type}}}]]
----
}}{{#ifeq: {{{rarity|}}} | very rare | [[Category:Very Rare items]] | [[Category:{{{rarity|common}}} items]]}}
 
}}{{ItemIcon Insert|
<templatedata>
|icon={{{icon|}}}
{
|image={{{controller icon|}}}
"params": {
|uid={{{uid|}}}
"name": {
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}}
"description": "The name of the item; can be left empty if it's the page's name.",
}}{{main namespace only|{{#cargo_store:
"example": "Potion of Fire Resistance",
_table=misc_items
"type": "string",
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
"suggested": true
|uid = {{{uid|}}}
},
|camp_supplies = {{{camp supplies|0}}}
"image": {
|action_type = {{{usage cost|}}}
"description": "The filename of the image/icon associated with this item.",
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare:
"example": "Potion of Fire Resistance Icon.png",
_table=misc_items
"type": "wiki-file-name",
|name = String (mandatory)
"suggested": true
|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)
"description": {
|image = File
"description": "This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy.",
|controller_icon = File
"example": "{{uncommon|Potion of Stuff}} is an uncommon [[Potions|Potion]] that grants +1 to Stuff.",
|icon = File
"type": "content",
|description = WikiText
"required": true,
|quote = String
"suggested": true
|camp_supplies = Integer
},
|rarity = String(allowed values = common, uncommon, rare, very rare, legendary, story)
"quote": {
|action_type = String
"description": "The in-game flavour text in the item's tooltip.",
|effect = WikiText
"type": "content",
|condition_duration = String
"suggested": true
|condition_save = String
},
}}</noinclude>
"book text spoiler": {
"description": "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\".)",
"type": "string",
"suggestedvalues": [
"yes",
""
]
},
"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: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Alchemy Ingredients, Alchemy Extracts",
"type": "string",
"suggestedvalues": [
"Arrows",
"Books",
"Coatings",
"Elixirs",
"Food",
"Grenades",
"Drinks",
"Potions",
"Scrolls",
"Consumables",
"Misc",
"Alchemical Ingredients",
                "Alchemical Extracts"
],
"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 (Arrows, Grenades, Consumables, Potions, Scrolls, some Drinks, and some Misc Items); otherwise leave BLANK.",
"suggestedvalues": [
"yes"
],
"suggested": true
},
"icon": {
"description": "The image to use as an icon. If blank, will fall back to image."
}
},
"description": "This template generates entire pages for individual items of the following types: Arrows, Books, Coatings , Elixirs, Food, Grenades, Drinks, Potions, Scrolls, Consumables, and other Miscellaneous Items. For Weapons, see Template:WeaponPage. For Equipment, see Template:EquipmentPage.",
"format": "block",
"paramOrder": [
"name",
"image",
"icon",
"description",
"quote",
"book text spoiler",
"book text",
"where to find",
"type",
"camp supplies",
"rarity",
"weight kg",
"weight lb",
"price",
"effect",
"usage cost",
"single use"
]
}
</templatedata></noinclude>

Navigation menu