Template:Model-stats: Difference between revisions

From Warma-wiki
Jump to navigation Jump to search
(Created page with "<includeonly> {{{no_start|<table style="float: right; margin: 10px; margin-top: 0px; border: 1px solid black; border-collapse: collapse; background-color: #f2f2f2;">}}} <tr> <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 style="{{{type|display: none;}}}"> <td colspan=2 style="padding-left: 10px; padding-r...")
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{{no_start|<table style="float: right; margin: 10px; margin-top: 0px;  
{{{no_start|<table style="float: left; margin: 10px; margin-top: 0px;  
border: 1px solid black;  
border: 1px solid black;  
border-collapse: collapse;  
border-collapse: collapse;  

Revision as of 02:06, 26 December 2023

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.

{{Model-stats
| base  = 
| def   = 
| arm   = 
}}

Optional fields:

| type  =
| name = 
| image =
| image2 =
| spd   =
| str   = 
| mat   = 
| rat   = 
| ma    =
| cmd   = 
| ess   = 
| focus = 
| fury  = 
| thrs  = 
| hp    = 
| field =
| wjp   = 
| wbp   = 
| ihp   = 
| cost  = 
| cost_note =
| size  = 
| fa    = 
| notes = 

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 2 to the appropriate field. Example: | altname2 = Model Dos

Also, there is are cacost and casize and cafafields to be used when necessary on CA infoboxes.

Example 1

Template:Infobox-Model

{{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
}}

Template:CLEAR

Example 2

Model-stats
Missing Info
COST {{{cacost}}}
UNIT SIZE {{{casize}}}
FA {{{cafa}}}
Warcaster 0
BASE Error
SPD {{{spd}}}
STR {{{str}}}
MAT {{{mat}}}
RAT N/A
M.A. N/A
DEF Error
ARM Error
CMD N/A
ESSENCE {{{essence}}}
FOCUS N/A
FURY N/A
THRS N/A
HP 1
F. Field N/A
WJP {{{wjp}}}
WBP {{{wbp}}}
IHP {{{ihp}}}
FA N/A
UNIT SIZE N/A
COST N/A
N/A
N/A
N/A
Warcaster 1
COST N/A
N/A
Understanding
the Statblock
{{Model-stats
}}