Difference between revisions of "Template:WH-Armour"

From Game Logs
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><div style="
<div style="
 
 
     background-color: #f9f9f9;
 
     background-color: #f9f9f9;
 
     border: {{{Border|1}}}px solid #aaa;
 
     border: {{{Border|1}}}px solid #aaa;
Line 8: Line 7:
 
     padding: 0.5em;
 
     padding: 0.5em;
 
     text-align: center;
 
     text-align: center;
">
+
">{{#if: {{Title|}}| <b>{{{Title|Armor}}}</b><br>|}}
{{#if: {{Title}} <b>{{{Title|Armor}}}</b><br>| }}
 
 
<div style="
 
<div style="
 
     background-color: #fcfcfc;
 
     background-color: #fcfcfc;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     color: black;
 
     color: black;
 +
    font-size: smaller;
 
     height: 50px;
 
     height: 50px;
 
     margin: auto;
 
     margin: auto;
Line 19: Line 18:
 
     width: 25%;
 
     width: 25%;
 
">
 
">
<b>Head</b><br>{{{Head|0}}}
+
<b style="font-size: larger;">Head</b><br>{{{Head|0}}}
 
</div><br>
 
</div><br>
 
<div style="
 
<div style="
Line 25: Line 24:
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     color: black;
 
     color: black;
 +
    float: left;
 +
    font-size: smaller;
 
     height: 50px;
 
     height: 50px;
    float: left;
 
 
     margin: auto;
 
     margin: auto;
 
     padding: 5px;
 
     padding: 5px;
 
     width: 25%;
 
     width: 25%;
 
">
 
">
<b>R.Arm</b><br>{{{RArm|0}}}
+
<b style="font-size: larger;">R.Arm</b><br>{{{RArm|0}}}
 
</div>
 
</div>
 
<div style="
 
<div style="
Line 37: Line 37:
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     color: black;
 
     color: black;
 +
    font-size: smaller;
 
     height: 50px;
 
     height: 50px;
 
     float: right;
 
     float: right;
Line 43: Line 44:
 
     width: 25%;
 
     width: 25%;
 
">
 
">
<b>L.Arm</b><br>{{{LArm|0}}}
+
<b style="font-size: larger;">L.Arm</b><br>{{{LArm|0}}}
 
</div>
 
</div>
 
<div style="
 
<div style="
Line 49: Line 50:
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;
 
     color: black;
 
     color: black;
 +
    font-size: smaller;
 
     height: 50px;
 
     height: 50px;
 
     margin: 25px auto -10px auto;
 
     margin: 25px auto -10px auto;
Line 54: Line 56:
 
     width: 25%;
 
     width: 25%;
 
">
 
">
<b>Body</b><br>{{{Body|0}}}
+
<b style="font-size: larger;">Body</b><br>{{{Body|0}}}
 
</div><br>
 
</div><br>
 
<div style="
 
<div style="
Line 61: Line 63:
 
     color: black;
 
     color: black;
 
     display: inline-block;
 
     display: inline-block;
 +
    font-size: smaller;
 
     height: 50px;
 
     height: 50px;
 
     margin: 15px;
 
     margin: 15px;
Line 66: Line 69:
 
     width: 25%;
 
     width: 25%;
 
">
 
">
<b>R.Leg</b><br>{{{RLeg|0}}}
+
<b style="font-size: larger;">R.Leg</b><br>{{{RLeg|0}}}
 
</div>
 
</div>
 
<div style="
 
<div style="
Line 73: Line 76:
 
     color: black;
 
     color: black;
 
     display: inline-block;
 
     display: inline-block;
 +
    font-size: smaller;
 
     height: 50px;
 
     height: 50px;
 
     margin: 15px;
 
     margin: 15px;
Line 78: Line 82:
 
     width: 25%;
 
     width: 25%;
 
">
 
">
<b>L.Leg</b><br>{{{LLeg|0}}}
+
<b style="font-size: larger;">L.Leg</b><br>{{{LLeg|0}}}
 
</div>
 
</div>
 
<div style="clear: both;"></div>
 
<div style="clear: both;"></div>
</div>
+
</div></includeonly>
</includeonly>
 
 
<noinclude>
 
<noinclude>
 
[[Category:Appearance]]
 
[[Category:Appearance]]

Latest revision as of 19:40, 18 June 2016

Block with armour values per body part for WH/WH40k.
Example:

 {{WH-Armour|Head=0|RArm=3|LArm=3|Body=6|RLeg=0|LLeg=0}}
 
Armor

Head
0


R.Arm
3

L.Arm
3

Body
6


R.Leg
0

L.Leg
0


Can be incorporated in sidebar:

 {{Sidebar|Name={{WH-Armour|Border=0|Title=|RArm=2|LArm=4|Body=4}}}}
 

Head
0


R.Arm
2

L.Arm
4

Body
4


R.Leg
0

L.Leg
0

=====>