Template:Infobox test/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 58: Line 58:
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}
{{TemplateData header|noheader=1}}
{{TemplateData header|noheader=1}}
 
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "name of the item",
"type": "string",
"default": "{{PAGENAME}}"
},
"tag": {
"label": "Tag",
"description": "tag line of the item",
"type": "string"
},
"image": {
"label": "Image",
"description": "image of the item",
"type": "wiki-file-name",
"suggested": true
},
"caption": {
"label": "Caption",
"description": "caption of the image",
"type": "string"
},
"rarity": {
"label": "Rarity",
"description": "rarity of the item",
"example": "Legendary",
"type": "string",
"default": "Common",
"required": true
},
"type": {
"label": "Type",
"description": "the item type",
"example": "Trinket",
"type": "string",
"suggested": true
},
"attunement": {
"label": "Attunement",
"description": "if the item requires attunement, input yes, otherwise leave blank",
"type": "string"
},
"cursed": {
"label": "Cursed",
"description": "if the item is cursed input yes, otherwise leave blank",
"type": "string"
},
"value": {
"label": "Value",
"description": "the price the item goes for",
"type": "string",
"suggested": true
},
"creator": {
"label": "Creator",
"description": "who created the item",
"type": "string"
},
"location": {
"label": "Location",
"description": "for unique items, where is it currently if known",
"type": "string"
},
"firstappears": {
"label": "First Appearance",
"description": "what session did the item first appear in",
"type": "string"
},
"lastappears": {
"label": "Latest Appearance",
"description": "the latest session the item appeared in, if different from first appearance"
}
}
}
</templatedata>
{{Collapse bottom}}
{{Collapse bottom}}


Navigation menu