Template:NPC infobox: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{page warning|message=This template is in draft.}}</noinclude><templatestyles src="NPC infobox/styles.css" />
<noinclude>{{page warning|message=This template is in draft.}}</noinclude><templatestyles src="NPC infobox/styles.css" />
<table class="infobox">
<table class="infobox">
<tr><th colspan="3" style="font-size:20px;">{{{name}}}</td></tr>
{{{name}}}
<tr><th colspan="3">[[File:{{{image}}}|100px|thumb|center]]</th></tr>
[[File:{{{image}}}|100px|center]]
<tr><td colspan="3" style="text-align:center;"><small>{{{caption}}}</small></td></tr>
{{{race}}}
<tr><th>Icon</th><td colspan="3">{{{race}}}</td></tr>
{{{location-text1}}} || {{{location1}}}
<tr><th rowspan="3">Locations</th>
{{{location-text2}}} || {{{location2}}}
<th>{{{location-text1}}}</th><td style="text-align:center;">{{{location1}}}</td></tr>
{{{location-text3}}} || {{{location3}}}
<th>{{{location-text2}}}</th><td style="text-align:center;">{{{location2}}}</td></tr>
<th>{{{location-text3}}}</th><td style="text-align:center;">{{{location3}}}</td></tr>
</table>
</table>



Revision as of 00:00, 27 June 2024

Warning:
This template is in draft.

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

{{{name}}} [[File:{{{image}}}|100px|center]] {{{race}}} {{{location-text1}}} || {{{location1}}} {{{location-text2}}} || {{{location2}}} {{{location-text3}}} || {{{location3}}}


Description

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

{{NPC infobox
|name=
|image=
|race=
|level=
|location1...location5=
|location-text1...location-text5=
}}

Example

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

La Bark

Wolf Level 61 || PVP {{{location-text2}}} || {{{location2}}} {{{location-text3}}} || {{{location3}}}


{{NPC infobox
|name=La Bark
|image=Boss-labark.png
|race=Wolf
|level=61<sup>?</sup>
|location1=PVP
|location-text1=Level 61
}}