Template:Misc item page: Difference between revisions

Jump to navigation Jump to search
add uid
(Use the if construct again for rarity)
Tag: Manual revert
(add uid)
Line 44: Line 44:
<li> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} </li>
<li> {{Weight | kg = {{{weight kg}}} | lb = {{{weight lb}}} }} </li>
<li> {{Price | {{{price}}} }} </li>
<li> {{Price | {{{price}}} }} </li>
{{#if:{{{uid|}}}|<li>UID: <tt>{{{uid|}}}</tt></li>}}
</ul>
</ul>
{{#if: {{{effect|}}} |
{{#if: {{{effect|}}} |
Line 154: Line 155:
<!-- Price in gp as shown in the tooltip (NOT while buying or selling). -->
<!-- Price in gp as shown in the tooltip (NOT while buying or selling). -->
| price =
| 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. -->
<!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
Line 188: Line 192:
| weight lb =
| weight lb =
| price =
| price =
| uid =
<!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
<!-- The cost to use the item. Choose from: action, bonus action - or leave EMPTY for non-consumable items. -->
| usage cost =
| usage cost =
Line 215: Line 220:
| price = 36
| price = 36
| usage cost = action
| usage cost = action
| uid = OBJ_Arrow
| effect =  
| effect =  
* Deal an additional {{DamageText|1d4|Piercing}} damage to all creatures within the area of effect
* Deal an additional {{DamageText|1d4|Piercing}} damage to all creatures within the area of effect
Line 502: Line 508:
"icon": {
"icon": {
"description": "The image to use as an icon. If blank, will fall back to image."
"description": "The image to use as an icon. If blank, will fall back to image."
}
},
"seo description": {},
"uid": {
"description": "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\"."
},
"notes": {},
"this is an example": {}
},
},
"description": "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.",
"description": "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.",
Line 521: Line 533:
"weight lb",
"weight lb",
"price",
"price",
"uid",
"effect",
"effect",
"usage cost",
"usage cost",
"single use"
"single use",
"seo description",
"notes",
"this is an example"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Navigation menu