Difference between revisions of "Template:Properties"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(reverting checking for BASEPAGENAME back to ROOTPAGENAME how it was prior to language changes, it should work fine now)
old>Realpsojed
(second param for Translate template)
Line 11: Line 11:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties1}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values1}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values1}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties2}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties2}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties1}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values1}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values1}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties2}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties2}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 23: Line 23:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties2}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values2}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values2}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties3}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties3}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties2}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values2}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values2}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties3}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties3}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 35: Line 35:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties3}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values3}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values3}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties4}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties4}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties3}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values3}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values3}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties4}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties4}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 47: Line 47:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties4}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values4}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values4}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties5}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties5}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties4}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values4}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values4}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties5}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties5}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 59: Line 59:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties5}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values5}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values5}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties6}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties6}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties5}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values5}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values5}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties6}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties6}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 71: Line 71:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties6}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values6}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values6}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties7}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties7}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties6}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values6}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values6}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties7}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties7}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 83: Line 83:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties7}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values7}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values7}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties8}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties8}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties7}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values7}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values7}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties8}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties8}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 95: Line 95:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties8}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values8}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values8}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties9}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties9}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties8}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values8}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values8}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties9}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties9}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 107: Line 107:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties9}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values9}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values9}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties10}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties10}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties9}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values9}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values9}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties10}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties10}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 119: Line 119:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties10}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values10}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values10}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties11}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties11}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties10}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values10}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values10}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties11}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties11}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 131: Line 131:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties11}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values11}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values11}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties12}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties12}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties11}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values11}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values11}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties12}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties12}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 143: Line 143:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties12}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values12}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values12}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties13}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties13}}}}
|#default = }}{{Translate|{{:{{{1}}}|Properties12}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values12}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values12}}</span></div>| }}}}{{#if: {{:{{{1}}}|Properties13}} | {{#switch: {{Properties_sort|{{:{{{1}}}|Properties13}}}}
|Propertygrp1 = <div style="order: 10;">
|Propertygrp1 = <div style="order: 10;">
|Propertygrp2 = <div style="order: 20;">
|Propertygrp2 = <div style="order: 20;">
Line 155: Line 155:
|Propertygrp10 = <div style="order: 100;">
|Propertygrp10 = <div style="order: 100;">
|Propertygrp11 = <div style="order: 110;">
|Propertygrp11 = <div style="order: 110;">
|#default = }}{{Translate|{{:{{{1}}}|Properties13}}}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values13}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values13}}</span></div>| }}}}<!--
|#default = }}{{Translate|{{:{{{1}}}|Properties13}}|Properties}}: {{#ifeq: {{ROOTPAGENAME}} | {{{1}}} | <div style="float: right;color:white;">{{:{{{1}}}|Values13}}</div></div> | <span style="color:white;">{{:{{{1}}}|Values13}}</span></div>| }}}}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp1}} | <div style="order: 15;"> </div> | }}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp1}} | <div style="order: 15;"> </div> | }}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp2}} | <div style="order: 25;"> </div> | }}<!--
-->{{#if: {{#pos: {{Properties_list|{{{1}}}}} | Propertygrp2}} | <div style="order: 25;"> </div> | }}<!--

Revision as of 23:47, 6 October 2020