Template:NPC/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
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 47: Line 42:
         "image_caption": {
         "image_caption": {
"label": "Image caption",
"label": "Image caption",
"description": "An optional caption for the image. Currently not working at the moment!",
"description": "An optional caption for the image.",
"type": "line"
"type": "line"
         },
         },

Navigation menu