Open main menu

Project: Gorgon Wiki β

Changes

Template:NPC infobox

561 bytes added, 09:04, 18 March 2020
Added consignment parameter, and automatic categories for Myconian, Mantis, and Ranalon
{{ #if:{{{vendor|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Vendor
}}
|-
{{ #if:{{{consignment|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Consignment
}}
|-
| 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}}}]] }}{{ #if: {{{vendor|}}} | [[Category:Vendor]] }}{{ #if: {{{consignment|}}} | [[Category:Consignment]] }}{{ #if: {{{storage|}}} | [[Category:Storage]] }}{{ #if: {{{town|}}} | [[Category:{{{town}}} NPCs]] }}{{ #if: {{{dungeon|}}} | [[Category:{{{dungeon}}} NPCs]] }}{{ #ifeq: {{{species}}} | Ranalon| [[Category:Ranalon]] }}{{ #ifeq: {{{species}}} | Myconian| [[Category:Myconian]] }}{{ #ifeq: {{{species}}} | Mantis| [[Category:Mantis]] }}}}
<noinclude>
{{clear}}__NOTOC__
|vendor =
|storage =
|consignment =
}}
</pre>
:Optional. The species of the NPC. Sanja is a Canine for Anatomy, but a Wolf for species. Preta is a Fae for Anatomy, but a Fairy for species.
;beastspeak
:Optional. Animals that the NPC will talk to, if any. Answer '''Yes ''' if they speak to any type of Beast Form. Leave blank if they do not speak to animals.
;beastlist
:Optional. Only use if beastspeak is Yes. Specify which forms they speak to in the infobox.
:Optional. Use to show if NPC can train a player in a skill. See below for example use.
;vendor
:Optional. Use to show that a NPC is Vendor. Answer '''Yes ''' if they are. Leave blank if not.
;storage
:Optional. Use to show that an NPC offers Storage. Answer yes '''Yes''' if they are. Leave blank if not.;consignment:Optional. Use to show that an NPC offers Consignment. Answer '''Yes''' if they are. Leave blank if not.
==Description==