Template:Misc item page: Difference between revisions

Jump to navigation Jump to search
m
blank the template example code, since all parameter documentation can already be found on this page.
No edit summary
m (blank the template example code, since all parameter documentation can already be found on this page.)
Line 58: Line 58:
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]].
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]].


Following is an example of usage with all possible template parameters shown. This describes a completely made-up potion.
'''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).'''
 
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.


<pre>
<pre>
{{MiscItemPage
{{MiscItemPage
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| <!-- See here for tips on how to use this template: https://bg3.wiki/wiki/Template:MiscItemPage -->
| image = Potion of Poison Resistance Icon.png
| image =  
| 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. -->
| description =  
| quote = The in-game flavour text in the item's tooltip.
| 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. -->
| book text =  
| type = Potions <!-- Item type. Choose one of: Ammunition, Books, Food, Drinks, Potions, Scrolls, Consumables, Misc -->
| type =  
| camp supplies = <!-- Number of Camp Supplies. Leave EMPTY for all except Food and Drinks. -->
| camp supplies =  
| single use = <!-- "yes" if item is consumed on use (Ammunition, Consumables, Potions, Scrolls, some Drinks, and some Misc Items); otherwise leave BLANK. -->
| single use =  
| rarity = uncommon <!-- Choose from: common, uncommon, rare, very rare, legendary, story -->
| rarity =  
| weight kg = 0.5
| weight kg =  
| weight lb = 1.1
| weight lb =  
| price = 100
| price =  
| usage cost = bonus action <!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| usage cost =  
| effect = <!-- The effect(s) of the item when used or consumed. Leave EMPTY for non-consumable items. -->
| effect =  
* Stuff +1 until next [[Long Rest]]
| where to find =  
| 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.
}}
}}
</pre>
</pre>


See here for the result of the above: [[Template:MiscItemPage/Example]]
Examples of template usage for various types of items: [[Template:MiscItemPage/Example]], [[Template:MiscItemPage/AmmunitionExample]], [[Template:MiscItemPage/BooksExample]], [[Template:MiscItemPage/FoodExample]], [[Template:MiscItemPage/ScrollsExample]]
 
Additional examples for other items types: [[Template:MiscItemPage/AmmunitionExample]], [[Template:MiscItemPage/BooksExample]], [[Template:MiscItemPage/FoodExample]], [[Template:MiscItemPage/ScrollsExample]]


[[Category:Page Generating Templates]] [[Category:Item Page Templates]]
[[Category:Page Generating Templates]] [[Category:Item Page Templates]]


Auto-generated TemplateData follows from this point on.
TemplateData documentation follows from this point on.


----
----

Navigation menu