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:{{{ | </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 44: | Line 68: | ||
"label": "Location" | "label": "Location" | ||
}, | }, | ||
" | "type": { | ||
"label": " | "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", | ||
"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 |