Template:CharacterInfobox: Difference between revisions

add templatedata
improve documentation
 
Line 18: Line 18:
"title1": {
"title1": {
"label": "Character name",
"label": "Character name",
"type": "string",
"type": "content",
"default": "{{PAGENAME}}"
"default": "{{PAGENAME}}",
"description": "The character's name."
},
},
"image": {
"image": {
"label": "Image",
"label": "Image",
"type": "wiki-file-name"
"type": "wiki-file-name",
"description": "An image of the character, like a talksprite."
},
},
"pronouns": {
"pronouns": {
"label": "Pronouns",
"label": "Pronouns",
"example": "they/them"
"example": "they/them",
"description": "The character's pronouns.",
"type": "content"
},
},
"aspect": {
"aspect": {
"label": "Aspect",
"label": "Aspect",
"example": "[[Keys]]"
"example": "[[Keys]]",
"description": "The character's aspect. This should be a link.",
"type": "content"
}
}
},
},
Line 39: Line 45:
"pronouns",
"pronouns",
"aspect"
"aspect"
]
],
"description": "Infobox for a character."
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>