Template:Npc
This template serializes NPCs into Cargo data, and processes information to be displayed in a custom infobox for NPCs.
Uses templates
In addition to the code found here, this template relies on the following templates:
{{infobox npc}}
— The infobox.{{npc/rolefilter}}
— Filters valid NPC role shorthand into a "ready-for-display" format.
Parameters
Accepted Template Parameters | ||||
---|---|---|---|---|
Parameter | Parameter Type | Accepted Values | Default Value | Notes |
name | String | Any | {{PAGENAME}} |
The name of the NPC if it differs from the page name. |
name-caption | String | Any | n/a | (optional) A nickname or title for the character. |
subtype | String |
|
n/a | Used to identify enemy NPCs. |
class | String |
|
n/a | Defines enemy classification. |
role | List of Strings (Delimiter , )
|
See list below | n/a | Defines the NPC's role in player interactions.
Supports comma seperated parameters. |
shop | String | See list below | n/a | Name of the shopkeeper NPC's shop. |
company | String | See list below | n/a | The Trading Company the NPC currently represents. For all other past affiliations, use the affiliation parameter.
|
faction | String |
|
n/a | The Faction the NPC currently represents. For all other past affiliations, use the affiliation parameter.
|
status | String | See list below | n/a | The NPC's current status if Vanquished, Banished, etc if it is important to indicate. |
species | List of Strings (Delimiter , )
|
|
n/a | Identifies NPC's species.
For NPCs who have transformed (Ex. From Human to Skeleton) list their current "species" state first followed by their original state. Supports comma seperated parameters. |
affiliation | List of Strings (Delimiter , )
|
|
n/a | The groups that the NPC is currently or has formerly been affiliated with, separated by commas. |
location | String |
|
n/a | The NPC's current location. |
offers-voyages |
|
No | Indicate yes when the NPC offers Voyages.
| |
buys-treasure | Boolean |
|
No | Indicate yes when the NPC buys Treasure.
|
cargo-run-target | Boolean |
|
No | Indicate yes when the NPC can either give or receive Cargo as part of a Cargo Run.
|
outside-only | Boolean |
|
No | Indicate yes when the NPC only exists in supplemental media outside of the Sea of Thieves video game.
|
removed | Boolean |
|
No | Candidate for removal from template.
Indicate |
List of parameter values
Roles
Valid Roles | |
---|---|
Valid inputs | Resulting Output |
|
Representative |
|
Shopkeeper |
|
Shipwright |
|
Tavern Keeper |
|
Emissary Representative |
|
Chronicler |
|
Trader |
Shops
Valid Shops | |
---|---|
Valid inputs | Resulting Output |
|
Weaponsmith Shop |
|
Equipment Shop |
|
General Clothing Shop |
|
Shipwright Shop |
|
Tavern |
|
Pirate Emporium |
|
Athena's Fortune Shop |
|
Athena's Fortune Shipwright |
|
Umbra's Tattoo Outlet |
|
Sea Post Shop |
|
Black Market |
|
Bonesmith |
|
Miscellaneous |
Other custom text |
Displays as inputted. |
Companies
Valid Companies | |
---|---|
Valid inputs | Resulting Output |
|
Gold Hoarders |
|
Order of Souls |
|
Merchant Alliance |
|
Sovereigns |
|
Athena's Fortune |
|
Reaper's Bones |
|
Bilge Rats |
|
The Hunter's Call |
|
Sea Dogs |
The above documentation is transcluded from Template:Npc/doc. (edit | history)
This template defines the table "NPCs". View table.