Template:Npcbox: Difference between revisions

From Azeroth Gazetteer
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
|Faction={{{faction|}}}
|Faction={{{faction|}}}
|Sex={{{sex|}}}
|Sex={{{sex|}}}
|Race={{{race|}}}
|Race={{#if:{{{race|}}}|[[{{{race}}}]]}}
|Creature_type={{{creature|}}}
|Creature_type={{{creature|}}}
|Level={{{level|}}}
|Level={{{level|}}}
|Class={{{class|}}}
|Class={{#if:{{{class|}}}|[[{{{class}}}]]}}
|Affiliation={{{affiliation|}}}
|Affiliation={{{affiliation|}}}
|Former_affiliation={{{faffiliation|}}}
|Former_affiliation={{{faffiliation|}}}
Line 19: Line 19:
<tr>
<tr>
<th colspan="2" class="npcbox-header">{{#if:{{{faction|}}}|<span class="npcbox-faction">{{FactionIcon|{{{faction}}}}}</span>}}<span class="npcbox-name">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{title|}}}|<br><small>{{{title}}}</small>}}</th>
<th colspan="2" class="npcbox-header">{{#if:{{{faction|}}}|<span class="npcbox-faction">{{FactionIcon|{{{faction}}}}}</span>}}<span class="npcbox-name">{{{name|{{PAGENAME}}}}}</span>{{#if:{{{title|}}}|<br><small>{{{title}}}</small>}}</th>
</tr>
</tr><!--
{{#if:{{{image|}}}|<tr><td colspan="2" class="npcbox-image">[[File:{{{image}}}|200px|center|{{{name|{{PAGENAME}}}}}]]</td></tr>}}
-->{{#if:{{{image|}}}|<tr><td colspan="2" class="npcbox-image">[[File:{{{image}}}|200px|center|{{{name|{{PAGENAME}}}}}]]</td></tr>}}<!--
{{#if:{{{sex|}}}|<tr><th>Sex</th><td>{{{sex}}}</td></tr>}}
-->{{#if:{{{sex|}}}|<tr><th>Sex</th><td>{{{sex}}}</td></tr>}}<!--
{{#if:{{{race|}}}|<tr><th>Race</th><td>{{{race}}}</td></tr>}}
-->{{#if:{{{race|}}}|<tr><th>Race</th><td>[[{{{race}}}]]</td></tr>}}<!--
{{#if:{{{creature|}}}|<tr><th>Creature type</th><td>{{{creature}}}</td></tr>}}
-->{{#if:{{{creature|}}}|<tr><th>Creature type</th><td>{{{creature}}}</td></tr>}}<!--
{{#if:{{{level|}}}|<tr><th>Level</th><td>{{{level}}}</td></tr>}}
-->{{#if:{{{level|}}}|<tr><th>Level</th><td>{{{level}}}</td></tr>}}<!--
{{#if:{{{class|}}}|<tr><th>Class</th><td>{{{class}}}</td></tr>}}
-->{{#if:{{{class|}}}|<tr><th>Class</th><td>[[{{{class}}}]]</td></tr>}}<!--
{{#if:{{{affiliation|}}}|<tr><th>Affiliation(s)</th><td>{{{affiliation}}}</td></tr>}}
-->{{#if:{{{affiliation|}}}|<tr><th>Affiliation(s)</th><td>{{{affiliation}}}</td></tr>}}<!--
{{#if:{{{faffiliation|}}}|<tr><th>Former affiliation(s)</th><td>{{{faffiliation}}}</td></tr>}}
-->{{#if:{{{faffiliation|}}}|<tr><th>Former affiliation(s)</th><td>{{{faffiliation}}}</td></tr>}}<!--
{{#if:{{{occupation|}}}|<tr><th>Occupation</th><td>{{{occupation}}}</td></tr>}}
-->{{#if:{{{occupation|}}}|<tr><th>Occupation</th><td>{{{occupation}}}</td></tr>}}<!--
{{#if:{{{foccupation|}}}|<tr><th>Former occupation(s)</th><td>{{{foccupation}}}</td></tr>}}
-->{{#if:{{{foccupation|}}}|<tr><th>Former occupation(s)</th><td>{{{foccupation}}}</td></tr>}}<!--
{{#if:{{{profession|}}}|<tr><th>Profession(s)</th><td>{{{profession}}}</td></tr>}}
-->{{#if:{{{profession|}}}|<tr><th>Profession(s)</th><td>{{{profession}}}</td></tr>}}<!--
{{#if:{{{location|}}}|<tr><th>Location</th><td>{{{location}}}</td></tr>}}
-->{{#if:{{{location|}}}|<tr><th>Location</th><td>{{{location}}}</td></tr>}}<!--
{{#if:{{{status|}}}|<tr><th>Status</th><td>{{{status}}}</td></tr>}}
-->{{#if:{{{status|}}}|<tr><th>Status</th><td>{{{status}}}</td></tr>}}<!--
{{#if:{{{relatives|}}}|<tr><th>Relative(s)</th><td>{{{relatives}}}</td></tr>}}
-->{{#if:{{{relatives|}}}|<tr><th>Relative(s)</th><td>{{{relatives}}}</td></tr>}}<!--
{{#if:{{{mentors|}}}|<tr><th>Mentor(s)</th><td>{{{mentors}}}</td></tr>}}
-->{{#if:{{{mentors|}}}|<tr><th>Mentor(s)</th><td>{{{mentors}}}</td></tr>}}<!--
{{#if:{{{students|}}}|<tr><th>Student(s)</th><td>{{{students}}}</td></tr>}}
-->{{#if:{{{students|}}}|<tr><th>Student(s)</th><td>{{{students}}}</td></tr>}}<!--
{{#if:{{{companions|}}}|<tr><th>Companion(s)</th><td>{{{companions}}}</td></tr>}}
-->{{#if:{{{companions|}}}|<tr><th>Companion(s)</th><td>{{{companions}}}</td></tr>}}<!--
{{#if:{{{source|}}}|<tr><th>Source(s)</th><td>{{{source}}}</td></tr>}}
-->{{#if:{{{source|}}}|<tr><th>Source(s)</th><td>{{{source}}}</td></tr>}}
</table></includeonly><noinclude>
</table>[[category:NPCs]]</includeonly><noinclude>
{{#cargo_declare:
{{#cargo_declare:
_table=NPCs
_table=NPCs
Line 44: Line 44:
|Faction=String
|Faction=String
|Sex=String
|Sex=String
|Race=String
|Race=Wikitext string
|Creature_type=String
|Creature_type=Wikitext string
|Level=String
|Level=String
|Class=String
|Class=Wikitext string
|Affiliation=String
|Affiliation=Wikitext string
|Former_affiliation=String
|Former_affiliation=Wikitext string
|Occupation=String
|Occupation=Wikitext string
|Former_occupation=String
|Former_occupation=Wikitext string
|Profession=String
|Profession=Wikitext string
|Current_location=String
|Current_location=Wikitext string
|Status=String
|Status=String
|Source=String
|Source=Wikitext string
}}
}}



Latest revision as of 12:31 AM, September 12, 2026

This template defines the table "NPCs". View table.