Difference between revisions of "Template:NPC infobox"
From Project: Gorgon Wiki
m |
m |
||
Line 33: | Line 33: | ||
! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Beast Speak: | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} Beast Speak: | ||
{{pipe}} <div class="block2" style="color:#ffffff;">{{{beastspeak}}}</div> | {{pipe}} <div class="block2" style="color:#ffffff;">{{{beastspeak}}}</div> | ||
+ | }} | ||
+ | |- | ||
+ | {{ #if:{{{beastlist|}}}|{{pipe}}- valign="top" | ||
+ | ! style="background:#f5e0c7; color:#000000; border-radius:2px; width:100px;" align="center" {{pipe}} -Speaks to: | ||
+ | {{pipe}} <div class="block2" style="color:#ffffff;">{{{beastlist}}}</div> | ||
}} | }} | ||
|- | |- | ||
Line 54: | Line 59: | ||
<pre> | <pre> | ||
{{NPC infobox | {{NPC infobox | ||
− | |title | + | |title = |
− | |caption | + | |caption = |
− | |zone | + | |zone = |
− | |location | + | |location = |
− | |anatomy | + | |anatomy = |
− | |beastspeak | + | |beastspeak = |
− | |skilltrainer | + | |skilltrainer = |
− | |vendor | + | |vendor = |
}} | }} | ||
</pre> | </pre> | ||
Line 67: | Line 72: | ||
<pre> | <pre> | ||
{{NPC infobox | {{NPC infobox | ||
− | |title | + | |title = |
− | |image | + | |image = |
− | |caption | + | |caption = |
− | |zone | + | |zone = |
− | |town | + | |town = |
− | |location | + | |location = |
− | |wanders | + | |wanders = |
− | |anatomy | + | |anatomy = |
− | |beastspeak | + | |beastspeak = |
− | |skilltrainer | + | |beastlist = |
− | |vendor | + | |skilltrainer = |
+ | |vendor = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 99: | Line 105: | ||
:Optional. Used to list the Anatomy type the NPC falls into. | :Optional. Used to list the Anatomy type the NPC falls into. | ||
;beastspeak | ;beastspeak | ||
− | :Optional. Animals that the NPC will talk to, if any. Answer Yes if they speak to any type of Beast Form. | + | :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 | ;skilltrainer | ||
:Optional. Use to show if NPC can train a player in a skill. See below for example use. | :Optional. Use to show if NPC can train a player in a skill. See below for example use. |
Revision as of 20:15, 12 March 2020
title
| |
---|---|
File:NPC infobox.jpg | |
Region: | |
Location: | -
|
Basic Syntax
{{NPC infobox |title = |caption = |zone = |location = |anatomy = |beastspeak = |skilltrainer = |vendor = }}
Complex Syntax
{{NPC infobox |title = |image = |caption = |zone = |town = |location = |wanders = |anatomy = |beastspeak = |beastlist = |skilltrainer = |vendor = }}
Parameters
Long parameters will extend the width of the infobox. To keep it the correct size keep text short or use the "< br>" function
- name
- Optional. Defaults to article name.
- image
- Optional. Defaults to a .jpg image of the article's name. If specified, use
[[Image:Creature name.jpg|250px|]]
- caption
- Optional. Usually the description above the NPCs head.
- 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.
- 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.
- wanders
- Optional. Use only for NPCs that move. Percussa "Returns to her home at night" Firaki "Moves to shelter during sandstorms"
- anatomy
- Optional. Used to list the Anatomy type the NPC falls into.
- 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 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.
Description
Create an attractive "info card" for NPCs. This is another way to liven up the pages. It also provides a consistent "at a glance" information box with vital information that is consistent across all creatures. Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the Talk page.
- Automatic categories
- zone, town, anatomy, beastspeak, vendor = These parameters automatically add categories if the information is correctly filled out.
Image
- The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name).
- If an image already exists on the wiki which has a name that does not match the infobox naming scheme, or is in a different format (png), specify it using the parameter.
Examples
Here you can see examples of what Velkort's, Mushroom Jack's, and Sanja's templates could look like.
{{NPC infobox |title = Velkort |image = [[File:Velkort(npc).png|300px]] |caption = Velkort and the Sentient Flame |zone = Serbule |town = Serbule Keep |location = Near [[Serbule Keep]]'s well. |anatomy = Elven |beastspeak = Yes |skilltrainer = Fire, Archery |vendor = Yes }}
Velkort
| |
---|---|
Velkort and the Sentient Flame
| |
Region: | |
Town: | |
Location: | Near Serbule Keep's well.
|
Anatomy: | |
Beast Speak: | Yes
|
Skill Trainer: | Fire, Archery
|
Vendor |
{{NPC infobox |title = Mushroom Jack |image = [[File:Mushroom_Jack.jpg]] |caption = He smells kind of funny. |zone = Serbule |location = In his shack. |skilltrainer = |vendor = Vendor |beastspeak = Cows, Pigs, Mushrooms. }}
Mushroom Jack
| |
---|---|
He smells kind of funny.
| |
Region: | |
Location: | In his shack
|
Beast Speak: | Cows, Pigs, Mushrooms.
|
Vendor |
{{NPC infobox |title = Sanja |image = [[File:Sanja.jpg]] |caption = |zone = Kur Mountins |location = North-West Campfire <br>with [[Jace Soral]] |skilltrainer = [[Lycanthropy]] |vendor = |beastspeak = Wolf }}
Sanja
| |
---|---|
| |
Region: | |
Location: | North-West Campfire
with Jace Soral |
Beast Speak: | Wolf
|
Skill Trainer: |