Difference between revisions of "Template:Test"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(flex layout works, added spacer)
 
old>Realpsojed
(created this by accident, might aswell use it for testing. loaded with custom data.)
Line 1: Line 1:
<div style="display: flex;flex-direction:column;">
<includeonly>{{#switch: {{{1}}}
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties1}}}}
|WeaponType = Sword
|Propertygrp1 = <div style="order: 1;">
|Damage1 = 30
|Propertygrp2 = <div style="order: 2;">
|DamageType1 = Slashing
|Propertygrp3 = <div style="order: 3;">
|Damage2 = {{Sacred|2}}
|Propertygrp4 = <div style="order: 4;">
|DamageType2 = {{Sacred|Sacred}}
|Propertygrp5 = <div style="order: 5;">
|Properties1 = Fumble Chance
|Propertygrp6 = <div style="order: 6;">
|Values1 = {{Positive|-20%}}
|Propertygrp7 = <div style="order: 7;">
|Properties2 = Block Chance
|Propertygrp8 = <div style="order: 8;">
|Values2 = {{Positive|+3%}}
|Propertygrp9 = <div style="order: 9;">
|Properties3 = Block Power
|Propertygrp10 = <div style="order: 10;">
|Values3 = {{Positive|+5%}}
|#default = }}
|Properties5 = Skills Energy Cost
{{Spacer| {{#if: {{:{{{1}}}|Properties1}} | {{:{{{1}}}|Properties1}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values1}}</div> | <span style="color:white;">{{:{{{1}}}|Values1}}</span>| }}}}}}</div>
|Values5 = {{Negative|+15%}}
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties2}}}}
|Durability = 400
|Propertygrp1 = <div style="order: 1;">
|Description = There is a faint etching on the surface of the blade, pledging loyalty to the Host and the court... the common kind of court.
|Propertygrp2 = <div style="order: 2;">
|Price = 7200
|Propertygrp3 = <div style="order: 3;">
|#default =  
|Propertygrp4 = <div style="order: 4;">
}}</includeonly>
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties2}} | {{:{{{1}}}|Properties2}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values2}}</div> | <span style="color:white;">{{:{{{1}}}|Values2}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties3}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties3}} | {{:{{{1}}}|Properties3}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values3}}</div> | <span style="color:white;">{{:{{{1}}}|Values3}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties4}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties4}} | {{:{{{1}}}|Properties4}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values4}}</div> | <span style="color:white;">{{:{{{1}}}|Values4}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties5}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties5}} | {{:{{{1}}}|Properties5}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values5}}</div> | <span style="color:white;">{{:{{{1}}}|Values5}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties6}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties6}} | {{:{{{1}}}|Properties6}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values6}}</div> | <span style="color:white;">{{:{{{1}}}|Values6}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties7}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties7}} | {{:{{{1}}}|Properties7}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values7}}</div> | <span style="color:white;">{{:{{{1}}}|Values7}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties8}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties8}} | {{:{{{1}}}|Properties8}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values8}}</div> | <span style="color:white;">{{:{{{1}}}|Values8}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties9}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties9}} | {{:{{{1}}}|Properties9}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values9}}</div> | <span style="color:white;">{{:{{{1}}}|Values9}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties10}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties10}} | {{:{{{1}}}|Properties10}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values10}}</div> | <span style="color:white;">{{:{{{1}}}|Values10}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties11}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties11}} | {{:{{{1}}}|Properties11}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values11}}</div> | <span style="color:white;">{{:{{{1}}}|Values11}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties12}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties12}} | {{:{{{1}}}|Properties12}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values12}}</div> | <span style="color:white;">{{:{{{1}}}|Values12}}</span>| }}}}}}</div>
{{#switch: {{Properties_sort|{{:{{{1}}}|Properties13}}}}
|Propertygrp1 = <div style="order: 1;">
|Propertygrp2 = <div style="order: 2;">
|Propertygrp3 = <div style="order: 3;">
|Propertygrp4 = <div style="order: 4;">
|Propertygrp5 = <div style="order: 5;">
|Propertygrp6 = <div style="order: 6;">
|Propertygrp7 = <div style="order: 7;">
|Propertygrp8 = <div style="order: 8;">
|Propertygrp9 = <div style="order: 9;">
|Propertygrp10 = <div style="order: 10;">
|#default = }}
{{Spacer| {{#if: {{:{{{1}}}|Properties13}} | {{:{{{1}}}|Properties13}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values13}}</div> | <span style="color:white;">{{:{{{1}}}|Values13}}</span>| }}}}}}</div>
</div>

Revision as of 10:58, 13 May 2020