Difference between revisions of "Template:NPC infobox"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
-->{{#if: {{{rank|}}}|<dt>Rank</dt><dd>{{ucfirst:{{{rank}}}}}<!-- | -->{{#if: {{{rank|}}}|<dt>Rank</dt><dd>{{ucfirst:{{{rank}}}}}<!-- | ||
-->{{#set: Has NPC rank = {{ucfirst:{{{rank}}}}} }}</dd>}}<!-- | -->{{#set: Has NPC rank = {{ucfirst:{{{rank}}}}} }}</dd>}}<!-- | ||
− | |||
-->{{#if: {{{faction|}}}|<dt>Faction</dt><dd>{{ucfirst:{{{faction}}}}}<!-- | -->{{#if: {{{faction|}}}|<dt>Faction</dt><dd>{{ucfirst:{{{faction}}}}}<!-- | ||
-->{{#set: Has faction = {{ucfirst:{{{faction}}}}} }}</dd>}}<!-- | -->{{#set: Has faction = {{ucfirst:{{{faction}}}}} }}</dd>}}<!-- | ||
+ | -->{{#if: {{{aggro|}}}|<dt>Aggression</dt><dd>{{ucfirst:{{{aggro}}}}}</dd>}}<!-- | ||
--></dl></div></div><!-- | --></dl></div></div><!-- | ||
Revision as of 01:00, 1 November 2022
Description
Outlines an NPC or monster page, including the title and infobox. Sets SMW properties.
Usage
{{NPC infobox | name = | image = | level = | rank = | aggro = | faction = }}
Parameters
All parameters are optional.
- name
- NPC name. Defaults to
{{PAGENAME}}
. - image
- NPC image filename. Defaults to
File:<name>.png
- level
- NPC level
- rank
- NPC rank (normal, rare, boss)
- aggro
- NPC aggression (default, aggressive, friendly)
- faction
- NPC faction