Difference between revisions of "Template:NPC infobox"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
}} | }} | ||
</p> | </p> | ||
;Race | {{#if: {{{gender|}}} |;Gender | ||
:{{#arraymap: {{{gender}}}|,|@@@|{{ucfirst:@@@}}|<br>}}}} | |||
{{#if: {{{age|}}} |;Age | |||
:{{#arraymap: {{{age}}}|,|@@@|{{ucfirst:@@@}}|<br>}}}} | |||
{{#if: {{{race|}}} |;Race | |||
: {{#if:{{{race|}}}|[[Has race::{{ucfirst:{{{race}}}}}]]{{#if:{{{clan|}}}| <small>([[Has clan::{{ucfirst:{{{clan}}}}}]])</small>}} | : {{#if:{{{race|}}}|[[Has race::{{ucfirst:{{{race}}}}}]]{{#if:{{{clan|}}}| <small>([[Has clan::{{ucfirst:{{{clan}}}}}]])</small>}} | ||
}}}} | |||
{{#if: {{{species|}}} |;Species | |||
: {{#if:{{{species|}}}|[[Has species::{{ucfirst:{{{species}}}}}]]{{#if:{{{type|}}}| <small>([[Has type::{{ucfirst:{{{type}}}}}]])</small>}}}} | |||
}}{{#if:{{{class|}}}| | }}{{#if:{{{class|}}}| | ||
;[[Class]] | ;[[Class]] | ||
Line 122: | Line 129: | ||
; icon : Optional. The creature icon. If no value is set the icon defaults to showing an icon chosen by the '''service''' parameter. If that too is unspecified, the icon is hidden. | ; icon : Optional. The creature icon. If no value is set the icon defaults to showing an icon chosen by the '''service''' parameter. If that too is unspecified, the icon is hidden. | ||
; image : Optional. The NPC image should not include any text. Defaults to the page name (<code><nowiki>{{PAGENAME}}.jpg</nowiki></code>). | ; image : Optional. The NPC image should not include any text. Defaults to the page name (<code><nowiki>{{PAGENAME}}.jpg</nowiki></code>). | ||
; race : Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various". | ; gender : Optional. The gender of the NPC. | ||
; age : Optional. The age of the NPC, if known. | |||
; race : Required for all Spoken NPCs. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various". | |||
; clan : Optional. The NPC clan if applicable. | ; clan : Optional. The NPC clan if applicable. | ||
; species : Required for all Monster NPCs. The species of the NPC (Beastkin, Scalekin, Wavekin, Vilekin, Seedkin, Voidsent, Elemental, Chimera). | |||
; type : Required for all Monster NPCs. Specific type of monster (Flan, Drake, Aldgoat, etc.) | |||
; location : Required. The area or zone the NPC can be found. For multiple locations, please input ''Varies'' and use the appropriate location templates (see [[Morbol#Locations|this example]]). | ; location : Required. The area or zone the NPC can be found. For multiple locations, please input ''Varies'' and use the appropriate location templates (see [[Morbol#Locations|this example]]). | ||
; organization: Optional. The affiliation the NPC belongs to. | ; organization: Optional. The affiliation the NPC belongs to. | ||
Line 143: | Line 154: | ||
| location = | | location = | ||
| coordinates = | | coordinates = | ||
| gender = | |||
| race = | | race = | ||
| clan = | | clan = | ||
Line 157: | Line 169: | ||
<pre> | <pre> | ||
{{NPC infobox | {{NPC infobox | ||
| name = Alphinaud | | name = Alphinaud Leveilleur | ||
| description = | | description = | ||
| image = Alphinaud.png | | image = Alphinaud.png | ||
| location = South Shroud | | location = South Shroud | ||
| coordinates = 19, 29 | | coordinates = 19, 29 | ||
| gender = Male | |||
| age = 16 | |||
| race = Elezen | | race = Elezen | ||
| clan = Wildwood | | clan = Wildwood | ||
| class = Arcanist | | class = Arcanist | ||
| organization = Scions of the Seventh Dawn | | organization = Scions of the Seventh Dawn | ||
}} | }} | ||
</pre> | </pre> | ||
{{NPC infobox | {{NPC infobox | ||
| name = Alphinaud | | name = Alphinaud Leveilleur | ||
| description = | | description = | ||
| image = Alphinaud.png | | image = Alphinaud.png | ||
| location = South Shroud | | location = South Shroud | ||
| coordinates = 19, 29 | | coordinates = 19, 29 | ||
| gender = Male | |||
| age = 16 | |||
| race = Elezen | | race = Elezen | ||
| clan = Wildwood | | clan = Wildwood | ||
| class = Arcanist | | class = Arcanist | ||
| organization = Scions of the Seventh Dawn | | organization = Scions of the Seventh Dawn | ||
}} | }} | ||
{{clear}} | {{clear}} | ||
Line 188: | Line 202: | ||
| name = Gelato | | name = Gelato | ||
| image = Gelato.jpg | | image = Gelato.jpg | ||
| | | species = Voidsent | ||
| type = Flan | |||
| location = South Shroud | | location = South Shroud | ||
| aggression = a4 | | aggression = a4 | ||
Line 197: | Line 212: | ||
| name = Gelato | | name = Gelato | ||
| image = Gelato.jpg | | image = Gelato.jpg | ||
| | | species = Voidsent | ||
| type = Flan | |||
| location = South Shroud | | location = South Shroud | ||
| aggression = a4 | | aggression = a4 |
Revision as of 05:27, 19 November 2017
Parameters
- name
- Optional. Defaults the name of the article (
{{PAGENAME}}
). - description
- Optional. The description of the abilites of the NPC, listed under the health bar. Use a comma-separated list of the abilities.
- icon
- Optional. The creature icon. If no value is set the icon defaults to showing an icon chosen by the service parameter. If that too is unspecified, the icon is hidden.
- image
- Optional. The NPC image should not include any text. Defaults to the page name (
{{PAGENAME}}.jpg
). - gender
- Optional. The gender of the NPC.
- age
- Optional. The age of the NPC, if known.
- race
- Required for all Spoken NPCs. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various".
- clan
- Optional. The NPC clan if applicable.
- species
- Required for all Monster NPCs. The species of the NPC (Beastkin, Scalekin, Wavekin, Vilekin, Seedkin, Voidsent, Elemental, Chimera).
- type
- Required for all Monster NPCs. Specific type of monster (Flan, Drake, Aldgoat, etc.)
- location
- Required. The area or zone the NPC can be found. For multiple locations, please input Varies and use the appropriate location templates (see this example).
- organization
- Optional. The affiliation the NPC belongs to.
- level
- Optional. The level of the NPC.
- aggression
- Optional. The aggression type and rank. It accepts aggressive and passive, formatted as follows: a1 (aggressive rank 1), a2 (agressive rank 2), ..., p1 (passive rank 1), p2 (passive rank 2), etc.
- class
- Optional. The class of the NPC.
- job
- Optional. The job of the NPC.
- service
- The service or services provided by the NPC. Use a comma-seperated list of services.
- goal
- Optional. Specific events or tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
- coordinates
- Optional. The X, Y and Z coordinates to the NPCs location, comma-separated. Eg.:
23.2, 5.55, 1
. - release
- Optional. The expansion required to access the content. Displays a notice of the release.
Usage
{{NPC infobox | name = | description = | image = | location = | coordinates = | gender = | race = | clan = | class = | job = | organization = | level = | aggression = | service = | goal = }}
Example
{{NPC infobox | name = Alphinaud Leveilleur | description = | image = Alphinaud.png | location = South Shroud | coordinates = 19, 29 | gender = Male | age = 16 | race = Elezen | clan = Wildwood | class = Arcanist | organization = Scions of the Seventh Dawn }}
Alphinaud Leveilleur
{{NPC infobox | name = Gelato | image = Gelato.jpg | species = Voidsent | type = Flan | location = South Shroud | aggression = a4 }}
Gelato