Template:Infobox NPC: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<div class="infobox-title">{{{name}}}</div>
<div class="infobox-title">{{{name}}}</div>
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{pronouns|}}}|<tr class="infobox-label">
<table>
{{#if:{{{type|}}}|<tr class="infobox-label">
    <th class="infobox-label">Type</th>
    <td class="infobox-data">{{{type}}}</td class="infobox-data">
</tr>}}
{{#if:{{{aka|}}}|<tr class="infobox-label">
    <th class="infobox-label">Also known as</th>
    <td class="infobox-data">{{{aka}}}</td class="infobox-data">
</tr>}}
{{#if:{{{title|}}}|<tr class="infobox-label">
    <th class="infobox-label">Title</th>
    <td class="infobox-data">{{{title}}}</td class="infobox-data">
</tr>}}
{{#if:{{{gender|}}}|<tr class="infobox-label">
    <th class="infobox-label">Gender</th>
    <td class="infobox-data">{{{gender}}}</td class="infobox-data">
</tr>}}
{{#if:{{{pronouns|}}}|<tr class="infobox-label">
     <th class="infobox-label">Pronouns</th>
     <th class="infobox-label">Pronouns</th>
     <td class="infobox-data">{{{pronouns}}}</td class="infobox-data">
     <td class="infobox-data">{{{pronouns}}}</td class="infobox-data">
</tr>}}{{#if:{{{aka|}}}|<tr class="infobox-label">
</tr>}}
     <th class="infobox-label">Also known as</th>
{{#if:{{{symbol|}}}|<tr class="infobox-label">
     <td class="infobox-data">{{{aka}}}</td class="infobox-data">
     <th class="infobox-label">Common Symbol</th>
</tr>}}{{#if:{{{location|}}}|<tr class="infobox-label">
     <td class="infobox-data">{{{symbol}}}</td class="infobox-data">
</tr>}}
{{#if:{{{location|}}}|<tr class="infobox-label">
     <th class="infobox-label">Location</th>
     <th class="infobox-label">Location</th>
     <td class="infobox-data">{{{location}}}</td class="infobox-data">
     <td class="infobox-data">{{{location}}}</td class="infobox-data">
</tr>}}{{#if:{{{creaturetype|}}}|<tr class="infobox-label">
</tr>}}
{{#if:{{{creaturetype|}}}|<tr class="infobox-label">
     <th class="infobox-label">Creature Type</th>
     <th class="infobox-label">Creature Type</th>
     <td class="infobox-data">{{{creaturetype}}}</td class="infobox-data">
     <td class="infobox-data">{{{creaturetype}}}</td class="infobox-data">
</tr>}}{{#if:{{{race|}}}|<tr class="infobox-label">
</tr>}}
{{#if:{{{race|}}}|<tr class="infobox-label">
     <th class="infobox-label">Race</th>
     <th class="infobox-label">Race</th>
     <td class="infobox-data">{{{race}}}</td class="infobox-data">
     <td class="infobox-data">{{{race}}}</td class="infobox-data">
</tr>}}{{#if:{{{languages|}}}|<tr class="infobox-label">
</tr>}}
{{#if:{{{languages|}}}|<tr class="infobox-label">
     <th class="infobox-label">Languages</th>
     <th class="infobox-label">Languages</th>
     <td class="infobox-data">{{{languages}}}</td class="infobox-data">
     <td class="infobox-data">{{{languages}}}</td class="infobox-data">
</tr>}}{{#if:{{{profession|}}}|<tr class="infobox-label">
</tr>}}
{{#if:{{{profession|}}}|<tr class="infobox-label">
     <th class="infobox-label">Profession</th>
     <th class="infobox-label">Profession</th>
     <td class="infobox-data">{{{profession}}}</td class="infobox-data">
     <td class="infobox-data">{{{profession}}}</td class="infobox-data">
</tr>}}</table>
</tr>}}
</table>
</div>
</div>
<noinclude>
<noinclude>
Line 44: Line 68:
"label": "Location"
"label": "Location"
},
},
"creaturetype": {
"type": {
"label": "Creature Type",
"label": "Type",
"type": "string"
"type": "string"
},
},
Line 64: Line 88:
"type": "string",
"type": "string",
"required": true
"required": true
},
"title": {
"label": "Title",
"type": "string"
},
"gender": {
"label": "Gender",
"type": "string"
},
"symbol": {
"label": "Common Symbol",
"type": "unknown"
},
"creaturetype": {
"label": "Creature Type",
"type": "string"
}
}
},
},
Line 69: Line 109:
"name",
"name",
"image",
"image",
"type",
"aka",
"title",
"gender",
"pronouns",
"pronouns",
"aka",
"location",
"location",
"symbol",
"creaturetype",
"creaturetype",
"race",
"race",

Latest revision as of 07:18, 14 January 2026

{{{name}}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

no description

Stringrequired
Imageimage

no description

Fileoptional
Typetype

no description

Stringoptional
Also known asaka

no description

Stringoptional
Titletitle

no description

Stringoptional
Gendergender

no description

Stringoptional
Pronounspronouns

no description

Stringoptional
Locationlocation

no description

Unknownoptional
Common Symbolsymbol

no description

Unknownoptional
Creature Typecreaturetype

no description

Stringoptional
Racerace

no description

Stringoptional
Languageslanguages

no description

Stringoptional
Professionprofession

no description

Stringoptional