Template:Misc item page: Difference between revisions
Llamageddon (talk | contribs) (Just minor tweak to image/icon wording to reflect current style guidance. +Missing types) |
No edit summary |
||
Line 72: | Line 72: | ||
<h2> Text </h2> | <h2> Text </h2> | ||
{{#if: {{{book | {{#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;"> | | <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;"> | ||
Line 132: | Line 132: | ||
<!-- Set this to "yes" if this is a book whose text contains spoiler, otherwise leave it empty. DON'T set it to "no". --> | <!-- Set this to "yes" if this is a book whose text contains spoiler, otherwise leave it empty. DON'T set it to "no". --> | ||
| book | | book spoiler = | ||
<!-- Book text body. Leave empty if this is not a book. --> | <!-- Book text body. Leave empty if this is not a book. --> | ||
Line 181: | Line 181: | ||
| description = | | description = | ||
| quote = | | quote = | ||
| book | | book spoiler = | ||
| book text = | | book text = | ||
<!-- Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes --> | <!-- Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes --> | ||
Line 241: | Line 241: | ||
| description = '''Book of Wisdom and Insight and Deep Knowledge''' is a common [[Books|Book]]. | | description = '''Book of Wisdom and Insight and Deep Knowledge''' is a common [[Books|Book]]. | ||
| quote = A weighty tome for sure. | | quote = A weighty tome for sure. | ||
| book | | book 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. | | 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. | ||
Line 407: | Line 407: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"book | "book 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\".)", | "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", | "type": "string", | ||
Line 527: | Line 527: | ||
"description", | "description", | ||
"quote", | "quote", | ||
"book | "book spoiler", | ||
"book text", | "book text", | ||
"where to find", | "where to find", |
Revision as of 11:31, 1 October 2023
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, 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 spoiler = <!-- 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, 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. Is NOT a uuid, in the format a3859470-8d1b-40f5-9ca3-8a73fa9a592b --> | uid = <!-- 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 = <!-- Any additional notes. Could be a single line or a list in wiki syntax. --> | notes = }}
Copy-ready template:
{{MiscItemPage | image = | icon = | description = | quote = | book spoiler = | book text = <!-- Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, 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 = <!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. --> | usage cost = | effect = | where to find = | notes = }}
Examples follow.
Arrow
Arrow of Shootythings is a legendary piece of Ammunition that does shooty-type things.
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
Effect
- Deal an additional 1d4Piercing 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.
Book
Book of Wisdom and Insight and Deep Knowledge is a common Book.
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
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
Delicious Apple is a common Food item that grants Camp Supplies for a Long Rest.
Super tasty!
Properties
- Food
- Camp Supplies: 5
- Rarity: Common
- Weight: 0.5 kg / 1 lb
- Price: 5 gp
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 Castyspell is an uncommon Scroll that can be consumed to cast A Neat Spell.
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
- Consume the scroll to cast A Neat Spell
- (Refer to the spell's page to determine whether the scroll takes an Action or Bonus action to use.)
Where to Find
This is a made-up item. You cannot obtain it anywhere in the game.
Potion
Potion of Stuff is an uncommon Potion that grants +1 to Stuff until the next Long Rest.
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
- Stuff +1 until next Long Rest
Where to Find
This is a made-up item. You cannot obtain it anywhere in the game.
Alchemy Ingredient
Examplemoss is a common Alchemical Ingredient that can be used in Alchemy to create Salts of Example.
The in-game flavour text in the item's tooltip.
Properties
- Alchemical Ingredients
- Single Use
- Rarity: Common
- Weight: 0.1 kg / 0.2 lb
- Price: 25 gp
Effect
- Using alchemy, combine three Examplemoss to create Salts of Example
Where to Find
This is a made-up item. You cannot obtain it anywhere in the game.
Alchemy Extract
Salts of Example is a common Alchemical Extract that can be used in Alchemy to create An Example Potion.
The in-game flavour text in the item's tooltip.
Properties
- Alchemical Extracts
- Single Use
- Rarity: Common
- Weight: 0.3 kg / 0.6 lb
- Price: 75 gp
Effect
- Using alchemy, combine with any Suspension to create An Example Potion
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: Arrows, Books, Coatings, Elixirs, Food, Grenades, Drinks, Potions, Scrolls, Consumables, Alchemical Ingredients, Alchemical Extracts, Dyes, and other Miscellaneous Items. For Weapons, see Template:WeaponPage. For Equipment, see Template:EquipmentPage.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | The name of the item; can be left empty if it's the page's name.
| String | suggested |
image | image | The filename of the image associated with this item, usually the image seen in tooltips.
| File | suggested |
icon | icon | The image to use as an icon, usually the image used in UI elements such as inventories. If blank, will fall back to image.
| File | optional |
description | description | This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy.
| Content | required |
quote | quote | The in-game flavour text in the item's tooltip. | Content | suggested |
book spoiler | book 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".)
| String | optional |
book text | book text | The text within the book. Leave EMPTY for non-books - use "quote" parameter for tooltip flavour text. | Content | suggested |
where to find | where to find | Describe where and how to obtain the item.
| Content | suggested |
type | type | Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes
| String | required |
camp supplies | camp supplies | Number of Camp Supplies. Leave EMPTY for all except Food and Drinks. | Number | suggested |
rarity | rarity | Rarity of the item. Choose from: common, uncommon, rare, very rare, legendary, story
| String | required |
weight kg | weight kg | Weight of the item in kilograms | Number | required |
weight lb | weight lb | Weight of the item in pounds | Number | required |
price | price | 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. | Number | required |
uid | uid | 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". | String | optional |
effect | effect | The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items.
| Content | suggested |
usage cost | usage cost | The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items.
| String | suggested |
single use | single use | "yes" if item is consumed on use (Arrows, Grenades, Consumables, Potions, Scrolls, some Drinks, and some Misc Items); otherwise leave BLANK.
| String | suggested |
seo description | seo description | no description | Unknown | optional |
notes | notes | no description | Unknown | optional |
this is an example | this is an example | no description | Unknown | optional |