Template:NPC: Difference between revisions
(Added CSS class and inline styling, changed ifeq statements to if, removed parent category) |
(changed to a right floating infobox, added CSS for styling) |
||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{|style="border-collapse:collapse; float:right" | ||
| | | | ||
{|class="character" | {|class="character-infobox rowcolors columnstop" | ||
!colspan="2" class="worldbgc"|{{{Name}}}<br><span style="font-size:75%">{{{Status}}}</span> | |||
|- | |- | ||
|colspan="2" | |colspan="2"|{{#ifexist:File:{{{Live Image}}} | [[File:{{{Live Image}}}|thumb|center]] | [[File:{{{Live Image}}}|center|Image Needed]]}} | ||
|{{# | |||
|- | |- | ||
| | |Race | ||
|{{{Race|}}} | |||
| | |||
|- | |- | ||
| | |Title | ||
|{{{Title|}}} | |||
|- | |- | ||
| | |Location | ||
|{{{Location|}}} | |||
|} | |} | ||
|- | |||
| | | | ||
{| | {|class="character-infobox mw-collapsible mw-collapsed rowcolors" | ||
|{{ | |colspan="2"|'''Other Stats''' | ||
|- | |||
|Strength | |||
|{{{Strength|}}} | |||
|- | |||
|Endurance | |||
|{{{Endurance|}}} | |||
|- | |||
|Coordination | |||
|{{{Coordination|}}} | |||
|- | |||
|Quickness | |||
|{{{Quickness|}}} | |||
|- | |||
|Focus | |||
|{{{Focus|}}} | |||
|- | |||
|Self | |||
|{{{Self|}}} | |||
|- | |||
|Health | |||
|{{{Health|}}} | |||
|- | |||
|Stamina | |||
|{{{Stamina|}}} | |||
|- | |||
|Mana | |||
|{{{Mana|}}} | |||
|} | |} | ||
|}{{#if:{{{nocat|}}}||[[Category:NPC Index]]}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]][[Category:Infobox Templates]]</noinclude> | |||
|} | |||
Revision as of 23:33, 30 December 2014
Template Documentation: | |_}}/Doc?action=edit Edit Documentation |
---|
Syntax
{{NPC | Name = | Live Image = Live.jpg | Race = | Title = | Status = Non-Player Killer | Level = | Strength = | Endurance = | Coordination = | Quickness = | Focus = | Self = | Health = | Stamina = | Mana = | Location = }}
Usage
This is a component of the NPC Template.