Difference between revisions of "Template:NPC infobox"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
-->{{#set: Has faction = {{ucfirst:{{{faction}}}}} }}</dd>}}<!-- | -->{{#set: Has faction = {{ucfirst:{{{faction}}}}} }}</dd>}}<!-- | ||
-->{{#if: {{{aggro|}}}|<dt>Aggression</dt><dd>{{ucfirst:{{{aggro}}}}}</dd>}}<!-- | -->{{#if: {{{aggro|}}}|<dt>Aggression</dt><dd>{{ucfirst:{{{aggro}}}}}</dd>}}<!-- | ||
+ | -->{{#if: {{{variantof|}}}|{{#set: Is NPC variant of = {{{variantof}}}}}}}<!-- | ||
--></dl></div></div><!-- | --></dl></div></div><!-- | ||
Line 47: | Line 48: | ||
| aggro = | | aggro = | ||
| faction = | | faction = | ||
+ | | variantof = | ||
}}</pre> | }}</pre> | ||
Line 63: | Line 65: | ||
;faction | ;faction | ||
: NPC faction | : NPC faction | ||
+ | ;variantof | ||
+ | : If applicable, the page of the normal mob that this rare mob is related to | ||
</noinclude> | </noinclude> |
Revision as of 02:19, 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 = | variantof = }}
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
- variantof
- If applicable, the page of the normal mob that this rare mob is related to