Open main menu

Project: Gorgon Wiki β

Changes

Template:NPC infobox

1,219 bytes added, 13:47, 7 March 2023
m
Added three hidden parameters.
{{ #if:{{{consignment|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Consignment
}}
|-
{{ #if:{{{stables|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Stable Master
}}
|-
| Template:NPC infobox =
| NPC Template =
| {{ #ifeq: {{{beastspeak}}} | Yes| [[Category:Talks to Animals]] }}{{ #if: {{{zone|}}} | [[Category:{{{zone}}} NPCs]] }}{{ #if: {{{skilltrainer|}}} | [[Category:Skill Trainer]] }}{{ #if: {{{anatomy|}}} | [[Category:{{{anatomy}}}]] }}{{ #ififeq: {{{smalltalk}}} | Yes| [[Category:Favor/Small Talk]] }}{{ #ifeq: {{{vendorhangouts}}} | Yes|[[Category:Favor/Hang Outs]] }}{{ #ifeq: {{{favrewards}}} | Yes| [[Category:VendorFavor/Rewards]]}}{{ #if: {{{vendor|}}} | [[Category:Shopkeeper]] }}{{ #if: {{{consignment|}}} | [[Category:Consignment]] }}{{ #if: {{{stables|}}} | [[Category:Stablemaster]] }}{{ #if: {{{barter|}}} | [[Category:Bartering]] }}{{ #if: {{{augment|}}} | [[Category:Augmentation]] }}{{ #if: {{{storage|}}} | [[Category:Storage]] }}{{ #if: {{{town|}}} | [[Category:{{{town}}} NPCs]] }}{{ #if: {{{dungeon|}}} | [[Category:{{{dungeon}}} NPCs]][[Category:Dungeon NPCs]] }}{{ #if: {{{eventnpc|}}} | [[Category:Event NPCs]] }}{{ #ifeq: {{{species}}} | Ranalon| [[Category:Ranalon]] }}{{ #ifeq: {{{species}}} | Myconian| [[Category:Myconian]] }}{{ #ifeq: {{{species}}} | Mantis| [[Category:Mantis]] }}}}
<noinclude>
{{clear}}__NOTOC__
|beastlist =
|skilltrainer =
|smalltalk =
|hangouts =
|favrewards=
|vendor =
|consignment =
|stables =
|barter =
|augment =
;skilltrainer
:Optional. Use to show if an NPC can train a player in a skill. See below for example use.
;smalltalk
:Optional. Use to show that an NPC can be gifted items as part of the favor system. Answer '''Yes''' if they can. Leave blank if not. This adds a category, it does not influence the infobox appearance.
;hangouts
:Optional. Use to show that an NPC offers Hang Out options. Answer '''Yes''' if there are. Leave blank if not. This adds a category, it does not influence the infobox appearance.
;favrewards
:Optional. Use to show that an NPC offers Rewards from leveling favor. Answer '''Yes''' if there are. Leave blank if not. This adds a category, it does not influence the infobox appearance.
;vendor
:Optional. Use to show that a an NPC is a Vendor. Answer '''Yes''' if they are. Leave blank if not.
;consignment
:Optional. Use to show that an NPC offers Consignment. Answer '''Yes''' if they do. Leave blank if not.
;stables
:Optional. Use to show that an NPC is a Stable Master (offers access to stable slots). ''Yes''' if they do. Leave blank if not.
;barter
:Optional. Use to show that an NPC offers Barter options. Answer '''Yes''' if they do. Leave blank if not.