Difference between revisions of "NPC info"
Stratonian (talk | contribs) m (test) |
Stratonian (talk | contribs) m (better categorization) |
||
Line 7: | Line 7: | ||
-->{{#arraydefine:organizationRow|{{#switch:{{lc:{{{organization|}}}}}<!-- | -->{{#arraydefine:organizationRow|{{#switch:{{lc:{{{organization|}}}}}<!-- | ||
cultures | cultures | ||
− | -->|elaniens=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Elaniens]] | + | -->|elaniens=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Elaniens]] |
− | |faidens=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Faidens]] | + | |faidens=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Faidens]] |
− | |quaddari=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Quaddari]] | + | |quaddari=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Quaddari]] |
− | |yorners=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Yorners]] | + | |yorners=,class="skill-infobox-row-heading",[[:Category:Cultures{{!}}Culture]],,class="skill-infobox-row-data",[[Yorners]]<!-- |
enemy types (note: rename "Enemy" to an official name) | enemy types (note: rename "Enemy" to an official name) | ||
− | -->|gnats=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Gnats]] | + | -->|gnats=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Gnats]] |
− | |imps=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Imps]] | + | |imps=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Imps]] |
− | |leaves=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Leaves]] | + | |leaves=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Leaves]] |
− | |mutant rats=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Mutant Rats]] | + | |mutant rats=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Mutant Rats]] |
− | |occultists=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Occultists]] | + | |occultists=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Occultists]] |
− | |spiders=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Spiders]] | + | |spiders=,class="skill-infobox-row-heading",Enemy Type,,class="skill-infobox-row-data",[[:Category:Spiders]]<!-- |
unique | unique | ||
− | -->|wandering bosses=,class="skill-infobox-row-heading",Type,,class="skill-infobox-row-data",[[:Category:Wandering Bosses{{!}}Wandering Boss]] | + | -->|wandering bosses=,class="skill-infobox-row-heading",Type,,class="skill-infobox-row-data",[[:Category:Wandering Bosses{{!}}Wandering Boss]] |
− | |world bosses=,class="skill-infobox-row-heading",Type,,class="skill-infobox-row-data",[[:Category:World Bosses{{!}}World Boss]]{{#if:{{{name}}}{{ | + | |world bosses=,class="skill-infobox-row-heading",Type,,class="skill-infobox-row-data",[[:Category:World Bosses{{!}}World Boss]] |
− | + | }}}}{{#if:{{{name}}}||[[Category:{{{organization}}}]]}}<!-- add to category | |
quests | quests |
Revision as of 13:07, 22 April 2023
Description
Displays an information page about a non-player character (NPC).
Usage
{{NPC info|<icon=icon>|<name=name>|<description=description>|<disposition=disposition>|<organization=organization>|<level=level>|<quest=Quest 1, Quest 2>}}
Parameters
- icon: An icon of the NPC.
- Optional. Defaults to '
{{PAGENAME}} Icon.png
'. - Notes: Only use if the icon name differs from the name of the page.
- random: Displays a note stating that the NPC's appearance may change randomly.
- Optional.
- Notes: Set to any value to enable.
- name: The name of the NPC.
- Optional. Defaults to '
{{PAGENAME}}
'. - Notes: Only use if the template is on a different page to the NPC's main article.
- disposition: The NPC's disposition toward the player.
- Optional. Defaults to '
neutral
'. - Notes: Used to determine the background color of the table heading. Choose from "
ally
", "neutral
", or "enemy
".
- image: An image of the NPC.
- Optional. Defaults to '
{{PAGENAME}}.jpg
'. - Notes: Only use if the image name differs from the name of the page.
Possible organizations:
- Cultures
- •Elaniens
- •Faidens
- •Quaddari
- •Yorners
- Camp Creatures
- •Archosaurs
- •Boars
- •Gnats
- •Fingi
- •Imps
- •Insects (no official name; contains bomboslug, gravedigger fly, termite queen, etc)
- •Leafies
- •Lost Fronts
- •Mutant Rats
- •Occultists
- •Spiders
- •Wolves
- Unique
- •Critters
- •Wandering Bosses
- •World Bosses
Errors
No description was provided. Add a description parameter.