Difference between revisions of "ItemInfobox"
(Added infobox display) |
(Moved flavour text and removed duplicate field) |
||
Line 2: | Line 2: | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
<tr> | <tr> | ||
− | <td class="infobox-image" style="padding: 10px;" colspan="2">[[File:{{{image}}}|frameless|center|375px]] | + | <td class="infobox-image" style="padding: 10px;" colspan="2"> |
− | + | [[File:{{{image}}}|frameless|center|375px]] | |
− | + | {{#if: {{{flavourText|}}}|<i>{{{flavourText}}}</i>}} | |
− | + | </td> | |
− | |||
− | |||
</tr> | </tr> | ||
}} | }} | ||
Line 20: | Line 18: | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Requires Attunement?</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Requires Attunement?</b>:</td> | ||
<td>{{{attunement}}}</td> | <td>{{{attunement}}}</td> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</tr> | </tr> | ||
}} | }} | ||
Line 70: | Line 62: | ||
</tr> | </tr> | ||
}} | }} | ||
− | + | }}}}}</includeonly><noinclude> | |
− | |||
<noinclude> | <noinclude> | ||
{{ItemInfobox|title=Test item|image=byAllah.jpg|flavourText=Test|magicalItem=No|attunement=No|type=Weapon|owner=Rydol Do'viir|foundAt=Tala Rane|requirements=Some bullshit requirement|createdAt=4-2469|createdBy=Rydol Do'viir|extraContent=Test extra content|customFieldContent=Extra field content|customFieldName=A custom field}} | {{ItemInfobox|title=Test item|image=byAllah.jpg|flavourText=Test|magicalItem=No|attunement=No|type=Weapon|owner=Rydol Do'viir|foundAt=Tala Rane|requirements=Some bullshit requirement|createdAt=4-2469|createdBy=Rydol Do'viir|extraContent=Test extra content|customFieldContent=Extra field content|customFieldName=A custom field}} |
Revision as of 20:19, 23 July 2021
Test item | |
---|---|
Test |
|
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 |