Difference between revisions of "ItemInfobox"
m (Updated example) |
(Added rarity) |
||
Line 27: | Line 27: | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Item Type</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Item Type</b>:</td> | ||
<td>{{{type}}}</td> | <td>{{{type}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | {{#if: {{{rarity|}}}| | ||
+ | <tr> | ||
+ | <td class="infoboxtd1strow" style="padding: 10px;"><b>Item Rarity</b>:</td> | ||
+ | <td>{{{rarity}}}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
Line 156: | Line 162: | ||
"description": "Any additional content you need", | "description": "Any additional content you need", | ||
"type": "unbalanced-wikitext" | "type": "unbalanced-wikitext" | ||
+ | }, | ||
+ | "rarity": { | ||
+ | "label": "Item Rarity", | ||
+ | "description": "How rare the item is. Common, Uncommon, Rare, Legendary, Artifact, Crafted", | ||
+ | "example": "Common", | ||
+ | "type": "string", | ||
+ | "default": "Common", | ||
+ | "autovalue": "Common", | ||
+ | "required": true | ||
} | } | ||
} | } |
Revision as of 20:28, 23 July 2021
Test item | |
---|---|
This item is the most powerful item in the land | |
Magical?: | No |
Requires Attunement?: | No |
Usage Requirements: | Some bullshit requirement |
Item Type: | Weapon |
Current Owner: | Rydol Do'viir |
Created by: | Rydol Do'viir |
Location Created: | 4-2469 |
Location Found: | Tala Rane |
A custom field: | Extra field content |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | title | The name of the item
| String | required |
Image | image | A picture of the item | File | suggested |
Flavour Text | flavourText | A short line about the item, could be a notable quote about the item or just a quick description
| String | suggested |
Magical? | magicalItem | If the item is magical or not
| Boolean | required |
Requires Attunement? | attunement | If the item requires attunement
| Boolean | required |
Usage requirements | requirements | Any specific requirements to use the item
| String | optional |
Item Type | type | The type of item
| String | required |
Current Owner | owner | Who currently has the item in their possession
| Page | suggested |
Created by | createdBy | The character/faction that created the item
| Page | optional |
Created At | createdAt | When the item was created
| String | optional |
Location Found | foundAt | The location where the item was found
| Page | suggested |
Custom Field Name | customFieldName | A custom field for you to write your own things | String | optional |
Custom Field Content | customFieldContent | The content to be placed in the custom field | Content | optional |
Extra Content | extraContent | Any additional content you need | Unbalanced wikitext | optional |
Item Rarity | rarity | How rare the item is. Common, Uncommon, Rare, Legendary, Artifact, Crafted
| String | required |