8,282
edits
Hypermoron (talk | contribs) (Created page with "<templatedata> { "description": "An infobox to serve as a quick reference on the right side of NPC pages.", "params": { "name": { "label": "NPC name", "description": "Will automatically enter based on page name", "example": "Niall", "type": "line" }, "image": { "label": "Image", "description": "Refers to the image file stored on the wiki. Images should preferably be uploaded in .svg or .png and named the same as the NPC name in snake_case (e.g....") |
(→Some) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation header}} | |||
This template provides an infobox for NPC/character pages. | |||
<pre style="display:table"> | |||
{{NPC | |||
| name = | |||
| image = | |||
| image_caption = | |||
| other_names = | |||
| titles = | |||
| gender = | |||
| species = | |||
| affiliation = | |||
| location = | |||
| occupation = | |||
| relatives = | |||
| status = | |||
| buys = | |||
| sells = | |||
}} | |||
</pre> | |||
== TemplateData == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 35: | Line 58: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "gender": { | ||
"label": " | "label": "Gender", | ||
"description": " | "description": "The gender of the NPC.", | ||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"species": { | |||
"label": "Species", | |||
"description": "The species of the NPC.", | |||
"example": "Human", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"location": { | "location": { | ||
"label": "Found in", | "label": "Found in", | ||
Line 104: | Line 129: | ||
"other_names", | "other_names", | ||
"titles", | "titles", | ||
" | "gender", | ||
"species", | |||
"affiliation", | |||
"location", | "location", | ||
"occupation", | "occupation", | ||
"relatives", | "relatives", | ||
"status", | "status", | ||
Line 115: | Line 141: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | |||
=== Some === | |||
|image = | {{NPC | ||
| | | image = Plains Armorer.png | ||
| image_caption = Oh man dude | |||
| | | gender = Non-binary (they/them) | ||
| | | species = Human (''Homo sapiens'') | ||
| | | location = Unknown | ||
| | | occupation = Swamp Witch | ||
| | | status = Unknown, presumed alive | ||
}} | |||
<pre style="display:table"> | |||
| | {{NPC | ||
| | | image = Plains Armorer.png | ||
| | | image_caption = Oh man dude | ||
| | | gender = Non-binary (they/them) | ||
| | | species = Human (''Homo sapiens'') | ||
| | | location = Unknown | ||
| occupation = Swamp Witch | |||
| | | status = Unknown, presumed alive | ||
}} | }} | ||
</pre> |