Template:NPC infobox: Difference between revisions
m (disabled location template for now) |
(added goal and services) |
||
Line 1: | Line 1: | ||
</noinclude><includeonly><templatestyles src="NPC infobox/styles.css" /> | |||
<div class="infobox"> | <div class="infobox"> | ||
<p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | <p class="heading">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</p> | ||
Line 13: | Line 13: | ||
:Boss}} | :Boss}} | ||
<noinclude>{{infobox location|{{{location|}}}}}</noinclude> | <noinclude>{{infobox location|{{{location|}}}}}</noinclude> | ||
{{#if:{{{goal|}}}| | |||
;Part of | |||
:[[{{{goal}}}]]}} | |||
{{#if:{{{service|}}}| | |||
;Services | |||
:[[{{{service}}}]]}} | |||
</div> | </div> | ||
{{#if: {{{gallery1|}}} | | {{#if: {{{gallery1|}}} | | ||
Line 38: | Line 44: | ||
|level= | |level= | ||
|location= | |location= | ||
|goal= | |||
|service= | |||
|gallery1...gallery5= | |gallery1...gallery5= | ||
|gallery-text1...gallery-text5= | |gallery-text1...gallery-text5= | ||
Line 48: | Line 56: | ||
; level : Optional. The level or levels of the NPC. | ; level : Optional. The level or levels of the NPC. | ||
; boss : Optional. Yes/no if NPC is a boss monster. | ; boss : Optional. Yes/no if NPC is a boss monster. | ||
; location : Required. The area(s) or zone(s) the NPC can be found. Use a semi-colon separated list of locations. | ; location : This parameter is work in progress. Required. The area(s) or zone(s) the NPC can be found. Use a semi-colon separated list of locations. | ||
; goal : Optional. Specific quest or challenge this NPC is affiliated with. If entering multiple goals, put each new goal on a new line. | |||
; service : Optional. The service or services provided by the NPC. Use a comma-separated list of services. | |||
; gallery1...gallery5 : Optional. Images related to the NPC. | ; gallery1...gallery5 : Optional. Images related to the NPC. | ||
; gallery-text1...gallery-text5 : Optional. Image description. | ; gallery-text1...gallery-text5 : Optional. Image description. |
Revision as of 05:18, 27 June 2024
Description
This is the NPC infobox template. It should be transcluded in the following format:
{{NPC infobox |name= |image= |race= |level= |location= |goal= |service= |gallery1...gallery5= |gallery-text1...gallery-text5= }}
Parameters
- name
- Optional. Only include if the name of the NPC differs from the article name. Defaults to the name of the article:
{{PAGENAME}}
- image
- Required. Image of the NPC.
- race
- Required. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, either list them all, comma-separated, or use "Various" instead of a huge list.
- level
- Optional. The level or levels of the NPC.
- boss
- Optional. Yes/no if NPC is a boss monster.
- location
- This parameter is work in progress. Required. The area(s) or zone(s) the NPC can be found. Use a semi-colon separated list of locations.
- goal
- Optional. Specific quest or challenge this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
- service
- Optional. The service or services provided by the NPC. Use a comma-separated list of services.
- gallery1...gallery5
- Optional. Images related to the NPC.
- gallery-text1...gallery-text5
- Optional. Image description.
Example
</noinclude>Page Template:NPC infobox/styles.css has no content.
{{NPC infobox |name=La Bark |image=Boss-labark.png |race=Wolf |level=31 |boss=yes |location=Depthless Orifice |gallery1=Depthless_Orifice-labark.png |gallery-text1=Location in Depthless Orifice (all-PVP zone) }}