Template:NPC infobox: Difference between revisions

From FHX Wiki
No edit summary
No edit summary
Line 2: Line 2:
<table class="root">
<table class="root">
<tr><th colspan="3" style="font-size:20px;">{{{name}}}</td></tr>
<tr><th colspan="3" style="font-size:20px;">{{{name}}}</td></tr>
<tr><th colspan="3">[[File:{{{img}}}|100px|thumb|center]]</th></tr>
<tr><th colspan="3">[[File:{{{image}}}|100px|thumb|center]]</th></tr>
<tr><td colspan="3" style="text-align:center;"><small>{{{caption}}}</small></td></tr>
<tr><td colspan="3" style="text-align:center;"><small>{{{caption}}}</small></td></tr>
<tr><th>Icon</th><td colspan="3">{{{icon}}}</td></tr>
<tr><th>Icon</th><td colspan="3">{{{race}}}</td></tr>
<tr><th>Name</th><td colspan="3">{{{name}}}</td></tr>
<tr><th rowspan="3">Locations</th>
<tr><th rowspan="4">Base Attributes</th>
<th>{{{location-text1}}}</th><td style="text-align:center;">{{{location1}}}</td></tr>
<th>VIT</th><td style="text-align:center;">{{{vit}}}</td></tr>
<th>{{{location-text2}}}</th><td style="text-align:center;">{{{location2}}}</td></tr>
<tr><th>DEX</th><td style="text-align:center;">{{{dex}}}</td></tr>
<th>{{{location-text3}}}</th><td style="text-align:center;">{{{location3}}}</td></tr>
<tr><th>INT</th><td style="text-align:center;">{{{int}}}</td></tr>
<tr><th>STR</th><td style="text-align:center;">{{{str}}}</td></tr>
<tr><th>Available classes</th><td colspan="3">{{{availableClasses}}}</td></tr>
</table>
</table>


<noinclude>
<noinclude>
== Description ==
This is the '''{{PAGENAME}}''' template.
This is the '''{{PAGENAME}}''' template.
It should be transcluded in the following format:
It should be transcluded in the following format:
Line 27: Line 25:
}}
}}
</pre>
</pre>
</noinclude>
== Example ==
<includeonly></includeonly><noinclude>
{{NPC infobox
|name=La Bark
|image=Boss-labark.png
|race=Wolf
|level=61<sup>?</sup>
|location1=Level 61
|location-text1=PVP
}}
<pre>
{{NPC infobox
|name=La Bark
|image=Boss-labark.png
|race=Wolf
|level=61<sup>?</sup>
|location1=Level 61
|location-text1=PVP
}}
</pre>
{{clear}}
{{clear}}
[[Category:Infobox templates|NPC]]
[[Category:Infobox templates|NPC]]
</noinclude>
</noinclude>

Revision as of 23:26, 26 June 2024

Warning:
This template is in draft.
{{{name}}}
[[File:{{{image}}}|100px|thumb|center]]
{{{caption}}}
Icon{{{race}}}
Locations {{{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

La Bark
{{{caption}}}
IconWolf
Locations PVPLevel 61
{{{location-text2}}}{{{location2}}}
{{{location-text3}}}{{{location3}}}


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