Open main menu

Project: Gorgon Wiki β

Changes

Template:NPC infobox

354 bytes added, 09:23, 18 March 2020
m
Added barter parameter and category.
{{ #if:{{{consignment|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Consignment
}}
|-
{{ #if:{{{barter|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Offers Barter
}}
|-
| 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: {{{barter|}}} | [[Category:Bartering]] }}{{ #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__
|skilltrainer =
|vendor =
|consignment =
|barter =
|storage =
|consignment =
}}
</pre>
:Optional. Only use if beastspeak is Yes. Specify which forms they speak to in the infobox.
;skilltrainer
:Optional. Use to show if an NPC can train a player in a skill. See below for example use.
;vendor
:Optional. Use to show that a 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.;barter:Optional. Use to show that an NPC offers Barter options. Answer '''Yes''' if they do. Leave blank if not.
;storage
:Optional. Use to show that an NPC offers Storage. Answer '''Yes''' if they are. Leave blank if not.;consignment:Optional. Use to show that an NPC offers Consignment. Answer '''Yes''' if they aredo. Leave blank if not.
==Description==