Difference between revisions of "Template:Statbox module"

From UFOpaedia
Jump to navigation Jump to search
m
m (added spanning so intermix with 3 col modules ok.)
 
Line 25: Line 25:
 
This statbox is used for the basic stats that you see in the stat screen. Derived and hidden stats are covered elsewhere.  
 
This statbox is used for the basic stats that you see in the stat screen. Derived and hidden stats are covered elsewhere.  
  
Note, the Statbox modules can not be mixed with the Infobox modules at this time due to the different number of table columns used.  
+
<strike>Note, the Statbox modules can not be mixed with the Infobox modules at this time due to the different number of table columns used. </strike><br>
 
+
statbox module has been corrected to span, it should function and appear mostly correct when used with infobox modules.
 
</noinclude>
 
</noinclude>
 
<includeonly>|-{{StdDescTable_Heading}}  
 
<includeonly>|-{{StdDescTable_Heading}}  
! colspan = "2" |{{{name}}}
+
! colspan = "3" |{{{name}}}
 
|-  
 
|-  
| {{StdTable_Sub_Heading}} | Time Units || {{{time_units}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Time Units || {{{time_units}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Health || {{{health}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Health || {{{health}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Energy || {{{energy}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Energy || {{{energy}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Reactions || {{{reactions}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Reactions || {{{reactions}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Strength || {{{strength}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Strength || {{{strength}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Bravery || {{{bravery}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Bravery || {{{bravery}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Firing Accuracy || {{{firing_acc}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Firing Accuracy || {{{firing_acc}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Throwing Accuracy || {{{throwing_acc}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Throwing Accuracy || {{{throwing_acc}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | MC Skill || {{{MC_skill}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | MC Skill || {{{MC_skill}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | MC Strength || {{{MC_strength}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | MC Strength || {{{MC_strength}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Front Armour || {{{armour_front}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Front Armour || {{{armour_front}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Left Armour || {{{armour_left}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Left Armour || {{{armour_left}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Right Armour || {{{armour_right}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Right Armour || {{{armour_right}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Back Armour || {{{armour_back}}}
+
| {{StdTable_Sub_Heading}} colspan="2" | Back Armour || {{{armour_back}}}
 
|-
 
|-
| {{StdTable_Sub_Heading}} | Under Armour || {{{armour_under}}}</includeonly>
+
| {{StdTable_Sub_Heading}} colspan="2" | Under Armour || {{{armour_under}}}</includeonly>

Latest revision as of 22:49, 12 January 2011

{{Statbox module
| name = 
| time_units=
| health = 
| energy =
| reactions =
| strength =
| bravery = 
| firing_acc = 
| throwing_acc = 
| MC_skill =
| MC_strength = 
| armour_front = 
| armour_left =
| armour_right =
| armour_back =
| armour_under = 
}}

The Statbox modules are a set of modules for displaying stats related to units and 'built in' weapons. Currently leveraging off the Infobox open/close templates for quick development.

This statbox is used for the basic stats that you see in the stat screen. Derived and hidden stats are covered elsewhere.

Note, the Statbox modules can not be mixed with the Infobox modules at this time due to the different number of table columns used.
statbox module has been corrected to span, it should function and appear mostly correct when used with infobox modules.