Template:Infobox character/doc: Difference between revisions
CosmicAvelyn (talk | contribs) No edit summary |
CosmicAvelyn (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
== Uses == | |||
{{Infobox | |||
| above = {{{NAME}}} | |||
| subheader = {{{SUBHEADER}}} | |||
}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 4: | Line 10: | ||
"above": { | "above": { | ||
"aliases": [ | "aliases": [ | ||
" | "charactername" | ||
], | ], | ||
"description": " | "description": "The character's name. Just their first name will do.", | ||
"type": "line", | |||
"suggested": true | |||
}, | |||
"above2": { | |||
"type": "string", | "type": "string", | ||
"default": " | "aliases": [ | ||
" | "native_name" | ||
], | |||
"description": "The character's native name, if not in Common." | |||
}, | |||
"subheader": { | |||
"type": "line" | |||
}, | |||
"image": { | |||
"description": "i.e; X.jpg, that is to say no [[Image:", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": {}, | |||
"species": { | |||
"label": "[[species]]", | |||
"type": "line", | |||
"default": "What species the character is.", | |||
"suggested": true | |||
}, | |||
"gender": { | |||
"type": "line" | |||
}, | }, | ||
" | "pronouns": { | ||
"description": "We're woke in this house. What are this character's pronouns?", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
"age": {}, | "age": {}, | ||
"sexuality": {}, | "sexuality": {}, | ||
"born": {}, | "born": { | ||
"occupation": {} | "type": "string", | ||
"default": "When and where they were born." | |||
}, | |||
"occupation": {}, | |||
"factions": { | |||
"description": "What factions or groups this character is part of.", | |||
"type": "string" | |||
}, | |||
"image_upright": { | |||
"description": "Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).", | |||
"example": "1.15", | |||
"type": "number", | |||
"default": "1" | |||
}, | |||
"landscape": { | |||
"description": "Set to yes when using wide, short images. The image height (rather than width) will be limited to 200 pixels.", | |||
"type": "boolean" | |||
} | |||
}, | }, | ||
"description": "The main infobox for the bulk of characters on this wiki!", | "description": "The main infobox for the bulk of characters on this wiki!", | ||
"format": "{{_\n| ________________ = _\n}}\n" | "format": "{{_\n| ________________ = _\n}}\n", | ||
"paramOrder": [ | |||
"above", | |||
"above2", | |||
"subheader", | |||
"image", | |||
"image_upright", | |||
"landscape", | |||
"caption", | |||
"species", | |||
"gender", | |||
"pronouns", | |||
"age", | |||
"sexuality", | |||
"born", | |||
"occupation", | |||
"factions" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 01:08, 15 September 2025
Uses
| {{{NAME}}} | |
|---|---|
| {{{SUBHEADER}}} |
The main infobox for the bulk of characters on this wiki!
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| above | above charactername | The character's name. Just their first name will do. | Line | suggested |
| above2 | above2 native_name | The character's native name, if not in Common. | String | optional |
| subheader | subheader | no description | Line | optional |
| image | image | i.e; X.jpg, that is to say no [[Image: | File | optional |
| image_upright | image_upright | Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).
| Number | optional |
| landscape | landscape | Set to yes when using wide, short images. The image height (rather than width) will be limited to 200 pixels. | Boolean | optional |
| caption | caption | no description | Unknown | optional |
| [[species]] | species | no description
| Line | suggested |
| gender | gender | no description | Line | optional |
| pronouns | pronouns | We're woke in this house. What are this character's pronouns? | String | optional |
| age | age | no description | Unknown | optional |
| sexuality | sexuality | no description | Unknown | optional |
| born | born | no description
| String | optional |
| occupation | occupation | no description | Unknown | optional |
| factions | factions | What factions or groups this character is part of. | String | optional |