Difference between revisions of "NPC info"
Stratonian (talk | contribs) m (critters category) |
Stratonian (talk | contribs) m (removed repetition) |
||
Line 16: | Line 16: | ||
-->{{#arraydefine:organizationRow|{{#switch:{{lc:{{{organization|}}}}}<!-- | -->{{#arraydefine:organizationRow|{{#switch:{{lc:{{{organization|}}}}}<!-- | ||
cultures | cultures | ||
− | -->|elaniens= | + | -->|elaniens=Culture,[[Elaniens]] |
− | |faidens= | + | |faidens=Culture,[[Faidens]] |
− | |quaddari= | + | |quaddari=Culture,[[Quaddari]] |
− | |yorners= | + | |yorners=Culture,[[Yorners]]<!-- |
camp creatures | camp creatures | ||
− | -->|archosaurs= | + | -->|archosaurs=Enemy Type,[[:Category:Archosaurs]] |
− | |boars= | + | |boars=Enemy Type,[[:Category:Boars]] |
− | |fingi= | + | |fingi=Enemy Type,[[:Category:Fingi]] |
− | |gnats= | + | |gnats=Enemy Type,[[:Category:Gnats]] |
− | |imps= | + | |imps=Enemy Type,[[:Category:Imps]] |
− | |insects= | + | |insects=Enemy Type,[[:Category:Insects]]<!-- no official name; contains bomboslug, gravedigger fly, termite queen etc --> |
− | |leafies= | + | |leafies=Enemy Type,[[:Category:Leafies]] |
− | |lost fronts= | + | |lost fronts=Enemy Type,[[:Category:Lost Fronts]] |
− | |mutant rats= | + | |mutant rats=Enemy Type,[[:Category:Mutant rats]] |
− | |occultists= | + | |occultists=Enemy Type,[[:Category:Occultists]] |
− | |spiders= | + | |spiders=Enemy Type,[[:Category:Spiders]] |
− | |wolves= | + | |wolves=Enemy Type,[[:Category:Wolves]]<!-- |
unique | unique | ||
− | -->|critters= | + | -->|critters=Type,[[:Category:Critters{{!}}Critter]]<!-- no official name; contains NPCs with 1 health --> |
− | |wandering bosses= | + | |wandering bosses=Type,[[:Category:Wandering bosses{{!}}Wandering Boss]] |
− | |world bosses= | + | |world bosses=Type,[[:Category:World bosses{{!}}World Boss]] |
}}}}<!-- | }}}}<!-- | ||
-->{{#if:{{{name|}}}<!-- if name parameter is not given | -->{{#if:{{{name|}}}<!-- if name parameter is not given | ||
Line 61: | Line 61: | ||
! colspan="2" class="{{#var:disposition class}}" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name --> | ! colspan="2" class="{{#var:disposition class}}" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name --> | ||
|- | |- | ||
− | {{# | + | {{#if:{{#arraysize:organizationRow}}|{{InfoboxRow|'''{{#arrayindex:organizationRow|0}}'''|{{#arrayindex:organizationRow|1}}}}}}<!-- prints the organization as a row--> |
|- | |- | ||
{{#if:{{{level|}}}|{{InfoboxRow|'''[[Level]]'''|{{{level}}}}}}} | {{#if:{{{level|}}}|{{InfoboxRow|'''[[Level]]'''|{{{level}}}}}}} |
Latest revision as of 20:29, 16 May 2024
Description[edit]
Displays an information page about a non-player character (NPC).
Usage[edit]
{{NPC info|<icon=icon>|<name=name>|<description=description>|<disposition=disposition>|<organization=organization>|<level=level>|<quest=Quest 1, Quest 2>}}
Parameters[edit]
- 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[edit]
No description was provided. Add a description parameter.