Template:Model-stats: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
 
(61 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{{no_start|<table style="float: left; margin: 10px; margin-top: 0px;  
====Model Statistics====
border: 1px solid black;  
<table class="wikitable" style="width: 95%; border-collapse: collapse;"><tr><th colspan=100% style="text-align:left;"></th></tr><tr><td>Base size = {{{base}}}</td><td rowspan="6" style="width:1%"></td>{{#if:{{{spd|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">SPD</td>}}{{#if:{{{aat|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">AAT</td>}}{{#if:{{{mat|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">MAT</td>}}{{#if:{{{rat|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">RAT</td>}}{{#if:{{{def|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">DEF</td>}}{{#if:{{{arm|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">ARM</td>}}{{#if:{{{arc|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">ARC</td>}}{{#if:{{{ctrl|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">CTRL</td>}}{{#if:{{{fury|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">FURY</td>}}{{#if:{{{thr|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">THR</td>}}{{#if:{{{ess|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">ESS</td>}}</tr><tr><td>Health = {{{hp}}}</td></tr><tr><td>FA = {{{fa}}}</td></tr><tr><td>{{#if:{{{cost|}}} | Cost = {{{cost}}}| Cost = Free }}</td>{{#if:{{{spd|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{spd}}}</td>}}{{#if:{{{aat|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{aat}}}</td>}}{{#if:{{{mat|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{mat}}}</td>}}{{#if:{{{rat|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{rat}}}</td>}}{{#if:{{{def|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{def}}}</td>}}{{#if:{{{arm|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{arm}}}</td>}}{{#if:{{{arc|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{arc}}}</td>}}{{#if:{{{ctrl|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{ctrl}}}</td>}}{{#if:{{{fury|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{fury}}}</td>}}{{#if:{{{thr|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{thr}}}</td>}}{{#if:{{{ess|}}}|<td rowspan="3"  style="text-align:center; font-size:90%;">{{{ess}}}</td>}}</tr><tr><td>{{#if:{{{cpm|}}} | Cost per model = {{{cpm}}}|-}}</td></tr><tr><td>{{#if:{{{mpu|}}} | Models per unit = {{{mpu}}}|-}}</td></tr></table>
border-collapse: collapse;  
{{#if:{{{def|}}}|[[Category:DEF:{{{def}}}]]|}}
background-color: #f2f2f2;">
{{#if:{{{arm|}}}|[[Category:ARM:{{{arm}}}]]|}}
}}}
{{#if:{{{spd|}}}|[[Category:SPD:{{{spd}}}]]|}}
{{#if:{{{rat|}}}|[[Category:RAT:{{{rat}}}]]|}}
{{#if:{{{mat|}}}|[[Category:MAT:{{{mat}}}]]|}}
{{#if:{{{aat|}}}|[[Category:AAT:{{{aat}}}]]|}}


<tr>
{{#if:{{{hp|}}}|[[Category:HP:{{{hp}}}]]|}}
<th colspan=2
style="padding-left: 10px; padding-right: 10px; text-align: center; font-size: 105%;
border: 1px solid black; border-bottom: 0px; background-color: #e6e6e6;">
{{{name|{{PAGENAME}}}}}
</th>
</tr>


<tr>
====Model Advantages and Abilities====
<td style="vertical-align: top; padding: 0px; border: 1px solid black;">
{{#if:{{{abilities|}}} |<table  class="wikitable" style="border: 1px solid; width: 95%; border-collapse: collapse;">{{{abilities}}} </table> | * No special advantages or abilities.}}
 
</includeonly>
<table style="width: 130px; text-align: right; margin: 0px; border-collapse: collapse;">
<noinclude>[[Category:Templates]]</noinclude>
 
<noinclude>{{Model-stats  
<tr style="{{{altname|display: none;}}}">
| name  = Model2
<td colspan=2 style="padding: 2px; padding-right: 10px; text-align: center; font-size: 80%; font-weight: bold; border: 0px;">{{{altname|Warcaster 0}}}</td>
| base = 50 mm
</tr>
| hp    = 19
<tr>
| spd   = 6
<td style="padding: 2px; padding-right: 10px; width: 55%; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">BASE</td>
| aat   = 6
<td style="padding: 2px; padding-left: 5px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{ucfirst:{{{base|<span style="color: red;">Error</span>}}}}}</td>
| mat   = 8
</tr>
| def  = 14
<tr style="{{{spd|display: none;}}}">
| arm  = 18
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">SPD</td>
| arc   = 7
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{spd}}}</td>
| ctrl = 12
</tr>
| fa = C    
<tr style="{{{str|display: none;}}}">
| abilities={{AbilitySingle|ExampleAdvantage}}{{AbilitySingle|ExampleAdvantage}}{{AbilitySingle|ExampleAdvantage}}{{AbilitySingle|ExampleAdvantage}}{{AbilitySingle|ExampleAdvantage}}{{AbilitySingle|ExampleAdvantage}}
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">STR</td>
}}</noinclude>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{str}}}</td>
</tr>
<tr style="{{{mat|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">MAT</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{mat}}}</td>
</tr>
<tr style="{{{rat|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">RAT</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{rat|<span style="color: red;">N/A</span>}}}</td>
</tr>
<tr style="{{{ma|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">[[:Category:Magic Ability|M.A.]]</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{ma|<span style="color: red;">N/A</span>}}}</td>
</tr>
<tr>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">DEF</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{def|<span style="color: red;">Error</span>}}}</td>
</tr>
<tr>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">ARM</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{arm|<span style="color: red;">Error</span>}}}</td>
</tr>
<tr style="{{{cmd|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">CMD</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{cmd|<span style="color: red;">N/A</span>}}}</td>
</tr>
<tr style="{{{ess|{{{essence|display: none;}}}}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">ESSENCE</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{ess|{{{essence}}}}}}</td>
</tr>
<tr style="{{{focus|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">FOCUS</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{focus|<span style="color: red;">N/A</span>}}}</td>
</tr>
<tr style="{{{fury|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">FURY</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{fury|<span style="color: red;">N/A</span>}}}</td>
</tr>
<tr style="{{{thrs|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">THRS</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{thrs|<span style="color: red;">N/A</span>}}}</td>
</tr>
<tr>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">HP</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{hp|1}}}</td>
</tr>
<tr style="{{{field|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">[[:Category:Force Fields|F. Field]]</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{field|<span style="color: red;">N/A</span>}}}</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr style="{{{wjp|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">WJP</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{wjp}}}</td>
</tr>
<tr style="{{{wbp|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">WBP</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{wbp}}}</td>
</tr>
<tr style="{{{ihp|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;"><span style="font-family:times new roman">I</span>HP</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{ihp}}}</td>
</tr>
<tr style="{{{fa|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">FA</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{fa|<span style="color: red">N/A</span>}}}</td>
</tr>
<tr style="{{{size|display: none;}}}">
<td style="padding: 2px; padding-left: 5px; padding-right: 5px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">UNIT&nbsp;SIZE</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{size|<span style="color: red">N/A</span>}}}</td>
</tr>
<tr style="{{{cost|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">COST</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{cost|<span style="color: red">N/A</span>}}}</td>
</tr>
<tr style="{{{cost_note|display: none;}}}">
<td colspan=2 style="text-align: right; font-size: 80%; padding-right: 5px; padding-left: 5px; border-top: 1px solid grey;">{{{cost_note|<span style="color: red">N/A</span>}}}</td>
</tr>
<tr style="{{{cost_note2|display: none;}}}">
<td colspan=2 style="font-size: 80%; padding-right: 10px; ">{{{cost_note2|<span style="color: red">N/A</span>}}}</td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr style="{{{notes|display: none;}}}">
<td colspan=2 style=" text-align: left; padding-left: 0.5em; padding-left: 0.5em; padding-right: 0.5em; border-top: 1px solid grey; font-size: smaller; word-wrap: break-word;">{{{notes|<span style="color: red">N/A</span>}}}</td>
</tr>
<tr style="{{{altname2|display: none;}}}">
<td colspan=2 style="padding: 2px; padding-right: 10px; text-align: center; font-size: 80%; font-weight: bold; border: 0px;">{{{altname2|Warcaster 1}}}</td>
</tr>
<tr style="{{{cost2|display: none;}}}">
<td style="padding: 2px; padding-right: 10px; font-size: 80%; font-weight: bold; border: 1px solid #b3b3b3; border-left: 0px;">COST</td>
<td style="padding: 2px; padding-right: 10px; font-size: 80%; border: 1px solid #b3b3b3; border-right: 0px;">{{{cost2|<span style="color: red">N/A</span>}}}</td>
</tr>
<tr style="{{{notes2|display: none;}}}">
<td colspan=2 style="padding-left: 1em; padding-right: 1em; border-top: 1px solid grey; font-size: smaller; word-wrap: break-word;">{{{notes2|<span style="color: red">N/A</span>}}}</td>
</tr>
</table>
</td>
</tr>
 
{{{no_end|</table>}}}</includeonly><noinclude>
 
 
=Usage=
To use this template copy the following code into the page that you are editing.  Then fill in the values and preview to make sure that the template is working and that all of the values have been filled in.
 
<pre style="width: 220px; margin-left: 20px;">
{{Model-stats
| base  =
| def  =
| arm  =
}}
</pre>
 
Optional fields:
 
<pre style="width: 220px; margin-left: 20px;">
| name =
| spd  =
| str  =
| mat  =
| rat  =
| ma    =
| cmd  =
| ess  =
| focus =
| fury =  
| thrs =  
| hp    =  
| field =
| wjp   =  
| wbp   =  
| ihp  =
| cost  =
| cost_note =
| size  =
| fa    =
| notes =
</pre>
Note: "image" only requires the filename, but image2 requires a full input. See example.
 
Not listed here are fields for a secondary model (only use for CA or other edge cases).  To use these fields just add <code>2</code> to the appropriate field.  Example: <code>| altname2 = Model Dos</code>
 
Also, there is are <code>cacost</code> and <code>casize</code> and <code>cafa</code>fields to be used when necessary on CA infoboxes.
 
==Example 1==
{{Model-stats
| name  = Lord Hexy
| altname = Hexeris1
| type  = Warlock
| image = Lord_Tyrant_Hexeris.jpg
| image2= [[File:Cryx pic2.jpg|center|280px]]
| noimage
| base  = a
| spd   = b
| def  = c
| arm  = d
| str  = e
| mat  = f
| rat  = g
| ma    = h
| cmd  = i
| ess   = j
| focus = k
| fury = l
| thrs  = m
| hp   = n
| field = o
| wjp  = +p
| wbp  = +q
| ihp  = +r
| cost  = s
| cost_note = t each
| size  = u / v
| fa    = w
| notes = xyz
}}
<pre>
{{Model-stats
| name  = Lord Hexy
| altname = Hexeris1
| type  = Warlock
| image = Lord_Tyrant_Hexeris.jpg
| image2= [[File:Cryx pic2.jpg|center|280px]]
| noimage
| base  = a
| spd  = b
| def  = c
| arm  = d
| str  = e
| mat  = f
| rat  = g
| ma    = h
| cmd  = i
| ess  = j
| focus = k
| fury  = l
| thrs  = m
| hp    = n
| field = o
| wjp  = +p
| wbp  = +q
| ihp  = +r
| cost  = s
| cost_note = t each
| size  = u / v
| fa    = w
| notes = xyz
}}
</pre>
{{CLEAR}}
 
==Example 2==
{{Model-stats
}}
<pre>{{Model-stats
}}</pre>
</noinclude>

Latest revision as of 16:46, 28 January 2025


Model Statistics

Base size = 50 mmSPDAATMATDEFARMARCCTRL
Health = 19
FA = C
Cost = Free6681418712
-
-

Model Advantages and Abilities


ExampleAdvantage
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.

No errata for ExampleAdvantage (Create)


ExampleAdvantage
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.

No errata for ExampleAdvantage (Create)


ExampleAdvantage
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.

No errata for ExampleAdvantage (Create)


ExampleAdvantage
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.

No errata for ExampleAdvantage (Create)


ExampleAdvantage
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.

No errata for ExampleAdvantage (Create)


ExampleAdvantage
This is an example of things that has a single option, or multiple options, like a gun mage's gun, or a warp wolf's abilities.

No errata for ExampleAdvantage (Create)