Difference between revisions of "ItemInfobox"
(Added infobox for items) |
(Updated template data) |
||
Line 55: | Line 55: | ||
<tr> | <tr> | ||
<td class="infoboxtd1strow" style="padding: 10px;"><b>Location Created</b>:</td> | <td class="infoboxtd1strow" style="padding: 10px;"><b>Location Created</b>:</td> | ||
− | <td>{{{ | + | <td>{{{createdAt}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 73: | Line 73: | ||
{{{extraContent}}}}}}}</includeonly><noinclude> | {{{extraContent}}}}}}}</includeonly><noinclude> | ||
<noinclude> | <noinclude> | ||
− | </noinclude> | + | <templatedata> |
+ | { | ||
+ | "params": { | ||
+ | "title": { | ||
+ | "label": "Name", | ||
+ | "description": "The name of the item", | ||
+ | "example": "The Outer Blade", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "image": { | ||
+ | "label": "Image", | ||
+ | "description": "A picture of the item", | ||
+ | "type": "wiki-file-name", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "flavourText": { | ||
+ | "label": "Flavour Text", | ||
+ | "description": "A short line about the item, could be a notable quote about the item or just a quick description", | ||
+ | "example": "Someday, someone will best me. But it won’t be today, and it won’t be you", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "magicalItem": { | ||
+ | "label": "Magical?", | ||
+ | "description": "If the item is magical or not", | ||
+ | "type": "boolean", | ||
+ | "default": "No", | ||
+ | "autovalue": "No", | ||
+ | "required": true | ||
+ | }, | ||
+ | "attunement": { | ||
+ | "label": "Requires Attunement?", | ||
+ | "description": "If the item requires attunement", | ||
+ | "example": "Yes", | ||
+ | "type": "boolean", | ||
+ | "default": "No", | ||
+ | "autovalue": "No", | ||
+ | "required": true | ||
+ | }, | ||
+ | "requirements": { | ||
+ | "label": "Usage requirements", | ||
+ | "description": "Any specific requirements to use the item", | ||
+ | "example": "Requires attunment by a lawful evil character", | ||
+ | "type": "string", | ||
+ | "autovalue": "" | ||
+ | }, | ||
+ | "type": { | ||
+ | "label": "Item Type", | ||
+ | "description": "The type of item", | ||
+ | "example": "Weapon, Artifact. We can’t limit this to the usual choices, because I give people things like hip-flasks and shit", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "owner": { | ||
+ | "label": "Current Owner", | ||
+ | "description": "Who currently has the item in their possession ", | ||
+ | "example": "Rydol", | ||
+ | "type": "wiki-page-name", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "createdBy": { | ||
+ | "label": "Created by", | ||
+ | "description": "The character/faction that created the item", | ||
+ | "example": "Templars", | ||
+ | "type": "wiki-page-name" | ||
+ | }, | ||
+ | "createdAt": { | ||
+ | "label": "Created At", | ||
+ | "description": "When the item was created", | ||
+ | "example": "4-2490", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "foundAt": { | ||
+ | "label": "Location Found", | ||
+ | "description": "The location where the item was found", | ||
+ | "example": "Tala Rane", | ||
+ | "type": "wiki-page-name", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "customFieldName": {}, | ||
+ | "customFieldContent": {}, | ||
+ | "extraContent": {} | ||
+ | } | ||
+ | } | ||
+ | </templatedata></noinclude> |
Revision as of 20:02, 23 July 2021
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 |
CustomFieldName | customFieldName | no description | Unknown | optional |
CustomFieldContent | customFieldContent | no description | Unknown | optional |
ExtraContent | extraContent | no description | Unknown | optional |