Template:Infobox NPC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (3 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:{{{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:{{{ | </tr>}} | ||
<th class="infobox-label"> | {{#if:{{{symbol|}}}|<tr class="infobox-label"> | ||
<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 29: | Line 53: | ||
{ | { | ||
"params": { | "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": { | "title": { | ||
"label": "Title", | |||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "gender": { | ||
"label": "Gender", | |||
" | "type": "string" | ||
}, | |||
"symbol": { | |||
" | "label": "Common Symbol", | ||
"type": "unknown" | |||
}, | |||
"creaturetype": { | |||
"label": "Creature Type", | |||
"type": "string" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | |||
"image", | |||
"type", | |||
"aka", | |||
"title", | "title", | ||
" | "gender", | ||
"pronouns", | "pronouns", | ||
"location", | "location", | ||
"symbol", | |||
"creaturetype", | "creaturetype", | ||
"race", | "race", | ||
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 |