Template:NPC/doc: Difference between revisions

No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
{{Documentation header}}
|above = {{{name}}}
 
|image = [[File:{{{image}}}]]
This template provides an infobox for NPC/character pages.
|caption = {{{image_caption}}}
<pre style="display:table">
| label1 = Other names
{{NPC
| data1 = {{{other_names}}}
| name =
| label2 = Title(s)
| image =
| data2 = {{{titles}}}
| image_caption =
| label3 = Pronouns
| other_names =
| data3 = {{{pronouns}}}
| titles =
| label4 = Species
| gender =
| data4 = {{{species}}}
| species =
| label5 = Found in
| affiliation =
| data5 = {{{location}}}
| location =
| label6 = Occupation
| occupation =
| data6 = {{{occupation}}}
| relatives =
| label7 = Affiliation(s)
| status =
| data7 = {{{affiliation}}}
| buys =
| label8 = Relatives
| sells =
| data8 = {{{relatives}}}
| label9 = Status
| data9 = {{{status}}}
| label10 = Buys
| data10 = {{{buys}}}
| label11 = Sells
| data11 = {{{sells}}}
}}
}}
</pre>


== TemplateData ==
<templatedata>
<templatedata>
{
{
Line 63: Line 58:
             "suggested": true
             "suggested": true
         },
         },
         "pronouns": {
         "gender": {
"label": "Pronouns",
"label": "Gender",
"description": "Pronouns the NPC uses.",
"description": "The gender of the NPC.",
"type": "line",
"type": "line",
             "suggested": true,
             "suggested": true
            "suggestedvalues": [
        "he/him",
        "she/her",
        "they/them"
        ]
         },
         },
"species": {
"species": {
Line 139: Line 129:
         "other_names",
         "other_names",
         "titles",
         "titles",
         "pronouns",
         "gender",
         "species",
         "species",
"affiliation",
"location",
"location",
"occupation",
"occupation",
"affiliation",
"relatives",
"relatives",
"status",
"status",
Line 151: Line 141:
}
}
</templatedata>
</templatedata>
== Examples ==
=== Some ===
{{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>