Template:Npcbox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 38: | Line 38: | ||
-->{{#if:{{{companions|}}}|<tr><th>Companion(s)</th><td>{{{companions}}}</td></tr>}}<!-- | -->{{#if:{{{companions|}}}|<tr><th>Companion(s)</th><td>{{{companions}}}</td></tr>}}<!-- | ||
-->{{#if:{{{source|}}}|<tr><th>Source(s)</th><td>{{{source}}}</td></tr>}} | -->{{#if:{{{source|}}}|<tr><th>Source(s)</th><td>{{{source}}}</td></tr>}} | ||
</table></includeonly><noinclude> | </table>[[category:NPCs]]</includeonly><noinclude> | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table=NPCs | _table=NPCs | ||
| Line 57: | Line 57: | ||
|Source=String | |Source=String | ||
}} | }} | ||
{{Documentation}} | {{Documentation}} | ||
[[category:Templates]] | [[category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 11:27 PM, September 11, 2026
This template defines the table "NPCs". View table.
{{Npcbox
|name =
|faction =
|image =
|title =
|sex =
|race =
|creature =
|level =
|class =
|affiliation =
|faffiliation =
|occupation =
|foccupation =
|profession =
|location =
|status =
|relatives =
|mentors =
|students =
|companions =
|source =
}}
Any parameter can be dropped.
faction is used to display an icon beside the name. It must take one of the following variables or none at all:
alliancefor Alliance of Lordaeronhordefor Hordeashenfor Ashen Covenantguardiansfor Guardians of Hyjalneutralfor neutral partiescombatfor general enemies, such as wild animals or typically violent opponentsscourgefor Scourge
image takes a file name directly for display.
title appears directly under the character name.
creature is for an in-game classification, such as Humanoid, Beast, Demon, Mechanical, etc.
level is for an in-game character level in a numeric value, but it can accept any value ultimately.
affiliation is a character's direct loyalty, such as the Undercity for Forsaken. faffiliation is any former affiliations.
occupation is a character's job. foccupation is any former occupation.
profession is a character's particular skillset, such as leatherworking or blacksmithing.
location is the current location of the character.
status is whether a character is alive, dead, missing, etc.
relatives, mentors, and students are self-explanatory.
companions might be friends, tamed animals, etc.
source is where this character appears within the overall lore. This might perhaps just be "Personal lore" for new characters.