Template:NPC/doc: Difference between revisions

No edit summary
 
(7 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
| image =
| data2 = {{{titles|}}}
| image_caption =
| label3 = Gender
| other_names =
| data3 = {{{gender|}}}
| titles =
| label4 = Species
| gender =
| data4 = {{{species|}}}
| species =
| label5 = Affiliation
| affiliation =
| data5 = {{{affiliation|}}}
| location =
| label6 = Occupation
| occupation =
| data6 = {{{occupation|}}}
| relatives =
| label7 = Found in
| status =
| data7 = {{{location|}}}
| buys =
| label8 = Relatives
| sells =
| data8 = {{{relatives|}}}
| label9 = Status
| data9 = {{{status|Unknown}}}
| label10 = Buys
| data10 = {{{buys|}}}
| label11 = Sells
| data11 = {{{sells|}}}
}}
}}
</pre>


== TemplateData ==
<templatedata>
<templatedata>
{
{
Line 146: 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>