Open main menu

Project: Gorgon Wiki β

Changes

Template:NPC infobox

3,774 bytes added, 14:47, 7 March 2023
m
Added three hidden parameters.
|-
| style= "width:300px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}.jpg{{pipe}}300px{{pipe}}]]}}} <br><div class="block2" style="font-size:14px;color:#ffffff;">{{{caption|}}}</div>
|-
{{ #if:{{{eventnpc|}}}|{{pipe}}- valign="top"
! style="background:#f2a2a0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Event NPC
}}
|- valign="top"
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" | Region:
{{ #if:{{{town|}}}|{{pipe}}- valign="top"
! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Town:
{{pipe}} <div class="block2" style="color:#ffffff;">[[{{{town}}}]]</div>}}|-{{ #if:{{{dungeon|}}}|{{pipe}}- valign="top"! style="background:#eee; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Dungeon:{{pipe}} <div class="block2" style="color:#ffffff;">[[{{{dungeon}}}]]</div>
}}
|-
{{ #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
}}
|-
{{ #if:{{{stables|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Stable Master
}}
|-
{{ #if:{{{barter|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Offers Barter
}}
|-
{{ #if:{{{augment|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Installs Augments
}}
|-
{{ #if:{{{storage|}}}|{{pipe}}- valign="top"
! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} Offers Storage
}}
|}
| 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}}}]] }}{{ #ifeq: {{{smalltalk}}} | Yes| [[Category:Favor/Small Talk]] }}{{ #ifeq: {{{hangouts}}} | Yes| [[Category:Favor/Hang Outs]] }}{{ #ifeq: {{{favrewards}}} | Yes| [[Category:Favor/Rewards]] }}{{ #if: {{{vendor|}}} | [[Category:VendorShopkeeper]] }}{{ #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__
|skilltrainer =
|vendor =
|storage =
}}
</pre>
|image =
|caption =
|eventnpc =
|zone =
|town =
|dungeon =
|location =
|wanders wander =
|anatomy =
|species =
|beastlist =
|skilltrainer =
|smalltalk =
|hangouts =
|favrewards=
|vendor =
|consignment =
|stables =
|barter =
|augment =
|storage =
}}
</pre>
;caption
:Optional. Usually the description above the NPCs head.
;eventnpc
:Optional. Only use if the NPC is a special NPC used during an Event. Answer '''Yes''' if they are. Leave blank if not.
;zone
:Required, will remain blank on page if a value is not entered. The zone or region where the NPC can be found.
;town
:Optional. Use to further specify an NPCs location, if applicable. Joeh is in the zone Serbule, but the town Serbule Keep. Flia, outside the walls, does not use this parameter.
;dungeon
:Optional. Use to further specify an NPC location, as an '''alternative''' to town. Bogaku is in Rahu for zone, but Rahu Sewer for dungeon.
;location
:Required, will remain blank on page if not filled in. Specifically where the NPC is located in a Zone for most of the time. See below for example use.
;wanderswander
:Optional. Use only for NPCs that move. Percussa "Returns to her home at night" Firaki "Moves to shelter during sandstorms"
;anatomy
: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.
;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.;augment:Optional. Use to show that an NPC will Install Augments on equipment. Answer '''Yes''' if they do. Leave blank if not.;storage:Optional. Use to show that an NPC offers Storage. Answer '''Yes''' if they do. Leave blank if not.
==Description==
|location = Near [[Serbule Keep]]'s well.
|anatomy = Elven
|species = Elf
|beastspeak = Yes
|beastlist = ???
|skilltrainer = Fire, Archery
|vendor = Yes
|location = Near [[Serbule Keep]]'s well.
|anatomy = Elven
|species = Elf
|beastspeak = Yes
|beastlist = ???
|skilltrainer = Fire, Archery
|vendor = Yes