44,473
editsTemplate:Misc item page/doc: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
m (Added Miscellaneous Item example) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
This template generates entire pages for individual items of the following types: [[Arrows]], [[Books]], [[Coatings]], [[Elixirs]], [[Camp Supplies#Food|Food]], [[Camp Supplies#Drinks|Drinks]], [[Grenades]], [[Potions]], [[Scrolls]], [[Consumables]], [[Alchemy|Alchemical Ingredients]], [[Alchemy|Alchemical Extracts]], [[Dyes]], 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: [[Arrows]], [[Books]], [[Coatings]], [[Elixirs]], [[Camp Supplies#Food|Food]], [[Camp Supplies#Drinks|Drinks]], [[Grenades]], [[Potions]], [[Scrolls]], [[Consumables]], [[Alchemy|Alchemical Ingredients]], [[Alchemy|Alchemical Extracts]], [[Dyes]], [[Instruments]], [[Containers]], 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).''' | '''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).''' | ||
Line 9: | Line 9: | ||
| image = | | image = | ||
<!-- | <!-- A smaller, unfaded image of the item, used for the controller interface. Falls back to the value of "image" if not provided --> | ||
| icon = | | 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. --> | <!-- This is the first text that will appear on the page. Briefly describe what the item is and what makes it noteworthy. --> | ||
Line 24: | Line 27: | ||
| 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, Instruments, Containers, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes --> | ||
| type = | | type = | ||
Line 68: | Line 71: | ||
<!-- The fixed dc for this condition, if applicable --> | <!-- The fixed dc for this condition, if applicable --> | ||
| condition dc = | | condition dc = | ||
<!-- 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 / how to obtain this item in the game. --> | ||
Line 74: | Line 92: | ||
<!-- Any additional notes. Could be a single line or a list in wiki syntax. --> | <!-- Any additional notes. Could be a single line or a list in wiki syntax. --> | ||
| notes = | | notes = | ||
<!-- Any known bugs. Could be a single line or a list in wiki syntax. --> | |||
| bugs = | |||
}} | }} | ||
Line 82: | Line 103: | ||
{{MiscItemPage | {{MiscItemPage | ||
| image = | | image = | ||
| controller icon = | |||
| icon = | | icon = | ||
| description = | | description = | ||
Line 87: | Line 109: | ||
| book spoiler = | | 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, Instruments, Containers, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes --> | ||
| type = | | type = | ||
| camp supplies = | | camp supplies = | ||
Line 103: | Line 125: | ||
| where to find = | | where to find = | ||
| notes = | | notes = | ||
| bugs = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 137: | Line 160: | ||
* Interesting additional fact. | * Interesting additional fact. | ||
* Another interesting additional fact. | * Another interesting additional fact. | ||
| bugs = | |||
* Totally broken on the latest patch. Yikes! | |||
| this is an example = yes | | this is an example = yes | ||
}} | }} | ||
Line 294: | Line 319: | ||
| weight kg = 0.15 | | weight kg = 0.15 | ||
| weight lb = 0.3 | | weight lb = 0.3 | ||
| price = 1 | |||
}} | |||
{{MiscItemPage | |||
| image = Wooden Crate A Faded.webp | |||
| description = '''Crate''' is a common [[miscellaneous]] item. It is heavy and has little value and is primarily used for [[set-dressing]]. | |||
| quote = Often hauled about by merchants and mongers. | |||
| where to find = Found throughout the game as set-dressing. | |||
| type = Containers | |||
| rarity = common | |||
| weight kg = 10 | |||
| weight lb = 20 | |||
| price = 1 | | price = 1 | ||
}} | }} | ||
Line 314: | Line 351: | ||
"description": "The filename of the image associated with this item, usually the image seen in tooltips.", | "description": "The filename of the image associated with this item, usually the image seen in tooltips.", | ||
"example": "Potion of Fire Resistance Faded.png", | "example": "Potion of Fire Resistance Faded.png", | ||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"controller icon": { | |||
"description": "The unfaded controller icon of this item. Defaults to the value of image= if not provided.", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"icon": { | |||
"description": "The icon of this item. Defaults to the value of controller icon= if not provided.", | |||
"required": true, | |||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | "suggested": true | ||
Line 349: | Line 397: | ||
}, | }, | ||
"type": { | "type": { | ||
"description": "Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Alchemical Ingredients, Alchemical Extracts, Dyes", | "description": "Item type. Choose one of: Arrows, Books, Coatings, Elixirs, Food, Drinks, Grenades, Potions, Scrolls, Consumables, Misc, Instruments, Container, Alchemical Ingredients, Alchemical Extracts, Dyes", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
Line 362: | Line 410: | ||
"Scrolls", | "Scrolls", | ||
"Consumables", | "Consumables", | ||
"Instruments", | |||
"Containers", | |||
"Misc", | "Misc", | ||
"Alchemical Ingredients", | "Alchemical Ingredients", | ||
Line 426: | Line 476: | ||
"yes" | "yes" | ||
], | ], | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 439: | Line 483: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"notes": {}, | "notes": { | ||
"description": "Any additional notes about this item.", | |||
"type": "content" | |||
}, | |||
"bugs": { | |||
"description": "Any known bugs about this item.", | |||
"type": "content" | |||
}, | |||
"this is an example": {}, | "this is an example": {}, | ||
"uuid": { | "uuid": { | ||
Line 464: | Line 515: | ||
"condition2 save": {}, | "condition2 save": {}, | ||
"condition2 dc": {}, | "condition2 dc": {}, | ||
"condition2 duration": {} | "condition2 duration": {}, | ||
"area": {}, | |||
"area shape": {}, | |||
"area range m": {}, | |||
"area range ft": {}, | |||
"area duration": {} | |||
}, | }, | ||
"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, Instruments, Containers, and other Miscellaneous Items. For Weapons, see Template:WeaponPage. For Equipment, see Template:EquipmentPage.", | ||
"format": "block", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"image", | "image", | ||
"controller icon", | |||
"icon", | "icon", | ||
"description", | "description", | ||
Line 490: | Line 547: | ||
"seo description", | "seo description", | ||
"notes", | "notes", | ||
"bugs", | |||
"this is an example", | "this is an example", | ||
"rarity honour", | "rarity honour", | ||
Line 501: | Line 559: | ||
"condition2 dc", | "condition2 dc", | ||
"condition2 duration", | "condition2 duration", | ||
"area", | |||
"area shape", | |||
"area range m", | |||
"area range ft", | |||
"area duration", | |||
"special" | "special" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> |