Template:NPC list/doc
![]() |
This article or section contains information that is out-of-date. Please replace the old information with up-to-date information.
Reason: "DEPRECATED: Please use Cargo templates instead." |
This template displays a nicely formatted list of all NPCs that share a given property.
The list is displayed in the following way:
- First all matching NPCs that have portraits, displayed as boxes showing the name and portrait.
- Then all matching NPCs that have screenshots but not portraits, displayed as boxes showing the name and screenshot — unless there are too many of them.
- Then all remaining matching NPCs shown as just their names.
Syntax
{{NPC list|some property::some value}}
{{NPC list|some property}}
- to use the name of the current page as the value
Example
{{NPC list|has subrace::Meadow human}}
...results in this list:
{{#ask:
has subrace::Meadow human has portrait::+ |?has portrait# - |format = template |template = box result format
}}{{#ask:
has subrace::Meadow human has no portrait::true has screenshot::+ |?has screenshot# - |format = template |template = box result format
}}
{{#ask:
has subrace::Meadow human has no image::true |format = ul |columns = 4
}}