Template:NPC/doc: Difference between revisions
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....") |
Hypermoron (talk | contribs) No edit summary |
||
Line 46: | Line 46: | ||
] | ] | ||
}, | }, | ||
"species": { | |||
"label": "Species", | |||
"description": "The species of the NPC.", | |||
"example": "Human", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"location": { | "location": { | ||
"label": "Found in", | "label": "Found in", | ||
Line 105: | Line 112: | ||
"titles", | "titles", | ||
"pronouns", | "pronouns", | ||
"species", | |||
"location", | "location", | ||
"occupation", | "occupation", | ||
Line 126: | Line 134: | ||
| label3 = Pronouns | | label3 = Pronouns | ||
| data3 = {{{pronouns}}} | | data3 = {{{pronouns}}} | ||
| label4 = Found in | | label4 = Species | ||
| | | data4 = {{{species}}} | ||
| | | label5 = Found in | ||
| | | data5 = {{{location}}} | ||
| | | label6 = Occupation | ||
| | | data6 = {{{occupation}}} | ||
| | | label7 = Affiliation(s) | ||
| | | data7 = {{{affiliation}}} | ||
| | | label8 = Relatives | ||
| | | data8 = {{{relatives}}} | ||
| | | label9 = Status | ||
| | | data9 = {{{status}}} | ||
| | | label10 = Buys | ||
| | | data10 = {{{buys}}} | ||
| label11 = Sells | |||
| data11 = {{{sells}}} | |||
}} | }} |
Revision as of 20:42, 24 June 2022
An infobox to serve as a quick reference on the right side of NPC pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
NPC name | name | Will automatically enter based on page name
| Line | optional |
Image | image | 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. totem_of_the_void.png). By default, the Parallel logo will be displayed, but you should always point this parameter to an NPC render or screenshot.
| File | suggested |
Image caption | image_caption | An optional caption for the image. | Line | optional |
Other names | other_names | Any other names the NPC has been referred to with. | Line | suggested |
Titles | titles | Any titles the NPC holds.
| Line | suggested |
Pronouns | pronouns | Pronouns the NPC uses.
| Line | suggested |
Species | species | The species of the NPC.
| Line | suggested |
Found in | location | Where in Parallel the NPC is stationed.
| Line | suggested |
Occupation | occupation | Any occupation the NPC holds.
| Line | suggested |
Affiliation | affiliation | Groups the NPC is affiliated with.
| Line | suggested |
Relatives | relatives | Relatives of the NPC.
| Line | suggested |
Status | status | The current status of the NPC.
| Line | suggested |
Buys | buys | Items the NPC buys. | Line | suggested |
Found in | sells | Items the NPC sells. | Line | suggested |
This is an example NPC infobox, showing all available parameters.
{ "title": "NPC", "rows": [], "invimages": [], "images": [ "[[File:{{{image}}}]]" ] }