Difference between revisions of "Template:NPC infobox"
Jump to navigation
Jump to search
m (→Example) |
m (enabling location) |
||
Line 48: | Line 48: | ||
;[[Experience|Level]] | ;[[Experience|Level]] | ||
:[[Has NPC level::{{{level}}}]] | :[[Has NPC level::{{{level}}}]] | ||
}} {{#if: {{{ | }} {{#if: {{{aggression|}}} | | ||
;[[ | ;[[Aggression]] | ||
:[[Has | :[[Has aggression type::{{#ucfirst:{{{aggression}}}}}]]{{#set:Has aggression rank={{{aggression-rank|1}}}}} }} | ||
{{infobox location| {{{location|}}} }} | |||
}}]] | |||
{{#if: {{{affiliation|}}} | | {{#if: {{{affiliation|}}} | | ||
;[[:Category:Affiliations|Affiliation]] | ;[[:Category:Affiliations|Affiliation]] | ||
Line 163: | Line 148: | ||
; affiliation: Optional. The affiliation the NPC belongs to. | ; affiliation: Optional. The affiliation the NPC belongs to. | ||
; level : Optional. The level of the NPC. | ; level : Optional. The level of the NPC. | ||
; rank : Optional. | ; aggression : Optional. The aggression type: aggressive, passive. | ||
; | ; aggression-rank : The aggression rank from 1 to 6. | ||
; 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. | ; 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. | ; 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 and Y coordinates to the NPCs location. Displays and interactive map with a marker of the NPC's location. EG <code>[12345,31321]</code>. See {{tl|Infobox map}} for more details. | ; coordinates: Optional. The X and Y coordinates to the NPCs location. Displays and interactive map with a marker of the NPC's location. EG <code>[12345,31321]</code>. See {{tl|Infobox map}} for more details. | ||
; release : Optional. The expansion or living world season required to access the content. Displays a notice of the release. | |||
; release : Optional. The expansion or living world season required to access the content. Displays a notice of the release | |||
== Usage == | == Usage == | ||
Line 181: | Line 167: | ||
| affiliation = | | affiliation = | ||
| level = | | level = | ||
| | | aggression = | ||
| aggression-type = | |||
| profession = | | profession = | ||
| service = | | service = | ||
Line 193: | Line 180: | ||
| description = | | description = | ||
| image = Alphinaud.png | | image = Alphinaud.png | ||
| location = South Shroud | |||
| race = Elezen | | race = Elezen | ||
| affiliation = Scions of the Seventh Dawn | | affiliation = Scions of the Seventh Dawn | ||
Line 203: | Line 191: | ||
| description = | | description = | ||
| image = Alphinaud.png | | image = Alphinaud.png | ||
| location = South Shroud | |||
| race = Elezen | | race = Elezen | ||
| affiliation = Scions of the Seventh Dawn | | affiliation = Scions of the Seventh Dawn |
Revision as of 13:26, 22 June 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
). - race
- Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various".
- location
- Required. The area(s) or zone(s) the NPC can be found. Use a comma-separated list of locations.
- affiliation
- Optional. The affiliation the NPC belongs to.
- level
- Optional. The level of the NPC.
- aggression
- Optional. The aggression type: aggressive, passive.
- aggression-rank
- The aggression rank from 1 to 6.
- 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 and Y coordinates to the NPCs location. Displays and interactive map with a marker of the NPC's location. EG
[12345,31321]
. See {{Infobox map}} for more details. - release
- Optional. The expansion or living world season required to access the content. Displays a notice of the release.
Usage
{{NPC infobox | name = | description = | image = | location = | race = | affiliation = | level = | aggression = | aggression-type = | profession = | service = | goal = }}
Example
{{NPC infobox | name = Alphinaud | description = | image = Alphinaud.png | location = South Shroud | race = Elezen | affiliation = Scions of the Seventh Dawn | job = Scholar }}
Alphinaud