Difference between revisions of "ItemInfobox"
(Fixed flavour text not showing if the image was not set) |
(Fixed maximum height of images to 400px) |
||
Line 2: | Line 2: | ||
{{#if: {{{image|}}}{{{flavourText|}}}| | {{#if: {{{image|}}}{{{flavourText|}}}| | ||
<tr> | <tr> | ||
− | <td class="infobox-image" style="padding: 10px;text-align: center;" colspan="2">{{#if: {{{image|}}}|[[File:{{{image}}}|frameless|center|375px]]}}{{#if: {{{flavourText|}}}|<i>{{{flavourText}}}</i>}}</td> | + | <td class="infobox-image" style="padding: 10px;text-align: center;" colspan="2">{{#if: {{{image|}}}|[[File:{{{image}}}|frameless|center|375px|x400px]]}}{{#if: {{{flavourText|}}}|<i>{{{flavourText}}}</i>}}</td> |
</tr> | </tr> | ||
}} | }} |
Latest revision as of 16:55, 30 August 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: | Tala Rane |
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 |