Template:NPC infobox: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 12: Line 12:
;Rank
;Rank
:Boss}}
:Boss}}
{{infobox location|{{{location|}}}}}
</div>
</div>
{{#if: {{{gallery1|}}} |  
{{#if: {{{gallery1|}}} |  

Revision as of 04:56, 27 June 2024

Warning:
This template is in draft.

Description

This is the NPC infobox template. It should be transcluded in the following format:

{{NPC infobox
|name=
|image=
|race=
|level=
|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.
gallery1...gallery5
Optional. Images related to the NPC.
gallery-text1...gallery-text5
Optional. Image description.

Example

Page Template:NPC infobox/styles.css has no content.

La Bark

Race
Wolf
Level
31
Rank
Boss
Location
Unspecified
Image(s)

Location in Depthless Orifice (all-PVP zone)

{{NPC infobox
|name=La Bark
|image=Boss-labark.png
|race=Wolf
|level=31
|boss=yes
|gallery1=Depthless_Orifice-labark.png
|gallery-text1=Location in Depthless Orifice (all-PVP zone)
}}