Template:Infobox NPC: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table>{{#if:{{{location|}}}|<tr class="infobox-label"> <th class="infobox-label">Location</th> <td class="infobox-data">{{{location}}}</td class="infobox-data"> </tr>}}{{#if:{{{population|}}}|<tr class="infobox-label"> <th class="infobox-label">Population</th> <td class="infobox-data">{{{populati...") |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{ | <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:{{{location|}}}|<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> | |||
<td class="infobox-data">{{{pronouns}}}</td class="infobox-data"> | |||
</tr>}} | |||
{{#if:{{{symbol|}}}|<tr class="infobox-label"> | |||
<th class="infobox-label">Common Symbol</th> | |||
<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:{{{ | </tr>}} | ||
<th class="infobox-label"> | {{#if:{{{creaturetype|}}}|<tr class="infobox-label"> | ||
<td class="infobox-data">{{{ | <th class="infobox-label">Creature Type</th> | ||
</tr>}}{{#if:{{{ | <td class="infobox-data">{{{creaturetype}}}</td class="infobox-data"> | ||
<th class="infobox-label"> | </tr>}} | ||
<td class="infobox-data">{{{ | {{#if:{{{race|}}}|<tr class="infobox-label"> | ||
</tr>}}{{#if:{{{ | <th class="infobox-label">Race</th> | ||
<th class="infobox-label"> | <td class="infobox-data">{{{race}}}</td class="infobox-data"> | ||
<td class="infobox-data">{{{ | </tr>}} | ||
</tr>}} | {{#if:{{{languages|}}}|<tr class="infobox-label"> | ||
{{#if:{{{ | <th class="infobox-label">Languages</th> | ||
< | <td class="infobox-data">{{{languages}}}</td class="infobox-data"> | ||
</tr>}} | |||
{{#if:{{{profession|}}}|<tr class="infobox-label"> | |||
<th class="infobox-label">Profession</th> | |||
<td class="infobox-data">{{{profession}}}</td class="infobox-data"> | |||
</tr>}} | |||
</table> | |||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"type": "wiki-file-name" | |||
}, | |||
"pronouns": { | |||
"label": "Pronouns", | |||
"type": "string" | |||
}, | |||
"aka": { | |||
"label": "Also known as", | |||
"type": "string" | |||
}, | |||
"location": { | |||
"label": "Location" | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"type": "string" | |||
}, | |||
"race": { | |||
"label": "Race", | |||
"type": "string" | |||
}, | |||
"languages": { | |||
"label": "Languages", | |||
"type": "string" | |||
}, | |||
"profession": { | |||
"label": "Profession", | |||
"type": "string" | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"title": { | |||
"label": "Title", | |||
"type": "string" | |||
}, | |||
"gender": { | |||
"label": "Gender", | |||
"type": "string" | |||
}, | |||
"symbol": { | |||
"label": "Common Symbol", | |||
"type": "unknown" | |||
}, | |||
"creaturetype": { | |||
"label": "Creature Type", | |||
"type": "string" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"type", | |||
"aka", | |||
"title", | |||
"gender", | |||
"pronouns", | |||
"location", | |||
"symbol", | |||
"creaturetype", | |||
"race", | |||
"languages", | |||
"profession" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 07:18, 14 January 2026
{{{name}}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | String | required |
| Image | image | no description | File | optional |
| Type | type | no description | String | optional |
| Also known as | aka | no description | String | optional |
| Title | title | no description | String | optional |
| Gender | gender | no description | String | optional |
| Pronouns | pronouns | no description | String | optional |
| Location | location | no description | Unknown | optional |
| Common Symbol | symbol | no description | Unknown | optional |
| Creature Type | creaturetype | no description | String | optional |
| Race | race | no description | String | optional |
| Languages | languages | no description | String | optional |
| Profession | profession | no description | String | optional |