Template:Medal Display/GM: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{ribbon|}}}|<!--
<includeonly><div style="position: relative; width: {{{width|80}}}px; line-height: 1.5em; padding:0.5; display: -moz-inline-stack; display: inline-block; zoom:1; *display: inline; white-space: nowrap;"><!--
 
-->{{#if:{{{ribbon|}}}|<!--


-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|MD|<!--
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|MD|<!--


-->{{#if:{{{awards|}}}|{{#switch:{{{awards}}}<!--
-->{{#if:{{{awards|}}}|{{#switch:{{{awards}}}<!--
     -->|1|#default = {{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=8}}<!--
     -->|1 = {{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=8}}<!--
     -->|2 = {{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=4}}
     -->|2 = {{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=4}}<!--
            {{Medal DIsplay/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=12}}<!--
        -->{{Medal DIsplay/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=12}}<!--
     -->|3|4|5|6|7|8|9 = {{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=2}}
     -->|3|4|5|6|7|8|9 = {{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=2}}<!--
                        {{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=8}}
                    -->{{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=8}}<!--
                        {{Medal DIsplay/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=14}}}}}}}}<!--
                    -->{{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=14}}}}<!--
                       
                        -->|{{Medal Display/GM/overlay/layout|device={{{ribbon}}}|width={{{width|80}}}|position=8}}}}}}<!--


-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|RS|<!--
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|RS|<!--
Line 36: Line 40:
-->{{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} + {{#if:{{{device3|}}}|1|0}} = 3 | <!--
-->{{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} + {{#if:{{{device3|}}}|1|0}} = 3 | <!--


-->Test 3 Devices<!--
-->{{Medal Display/GM/overlay/layout|device={{{device1}}}m|width={{{width|80}}}|position=2}}<!--
-->{{Medal Display/GM/overlay/layout|device={{{device2}}}m|width={{{width|80}}}|position=8}}<!--
-->{{Medal Display/GM/overlay/layout|device={{{device3}}}m|width={{{width|80}}}|position=14}}<!--


-->| {{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} = 2 | <!--  
-->| {{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} = 2 | <!--  


-->Test 2 Devices<!--
-->{{Medal Display/GM/overlay/layout|device={{{device1}}}m|width={{{width|80}}}|position=4}}<!--
-->{{Medal Display/GM/overlay/layout|device={{{device2}}}m|width={{{width|80}}}|position=12}}<!--


-->| {{#ifexpr:{{#if:{{{device1|}}}|1|0}} = 1 |<!--
-->| {{#ifexpr:{{#if:{{{device1|}}}|1|0}} = 1 |<!--


-->Test 1 Device}}}}}}}}<!--
-->{{Medal Display/GM/overlay/layout|device={{{device1}}}|width={{{width|80}}}|position=3}}<!--
 
-->}}}}}}}}<!--
 
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|DN|<!--
 
-->{{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} + {{#if:{{{device3|}}}|1|0}} = 3 | <!--
 
-->{{Medal Display/GM/overlay/layout|device={{{device1}}}{{#if:{{{awards|}}}|mr|m}}|width={{{width|80}}}|position={{#if:{{{awards|}}}|1|2}}}}<!--
-->{{Medal Display/GM/overlay/layout|device={{{device2}}}{{#if:{{{awards|}}}|mr|m}}|width={{{width|80}}}|position={{#if:{{{awards|}}}|5|8}}}}<!--
-->{{Medal Display/GM/overlay/layout|device={{{device3}}}{{#if:{{{awards|}}}|mr|m}}|width={{{width|80}}}|position={{#if:{{{awards|}}}|9|14}}}}<!--
-->{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|device=N{{{awards}}}|width={{{width|80}}}|position=16|}}}}<!--


-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|TRI|
-->| {{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} = 2 | <!--


    {{#if:{{{device|}}}|Device yes}}
-->{{Medal Display/GM/overlay/layout|device={{{device1}}}{{#if:{{{awards|}}}|mr|m}}|width={{{width|80}}}|position={{#if:{{{awards|}}}|3|4}}}}<!--
-->{{Medal Display/GM/overlay/layout|device={{{device2}}}{{#if:{{{awards|}}}|mr|m}}|width={{{width|80}}}|position={{#if:{{{awards|}}}|9|12}}}}<!--
-->{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|device=N{{{awards}}}|width={{{width|80}}}|position=16|}}}}<!--


     {{#if:{{{awards|}}}|Awards yes}}
-->| {{#ifexpr:{{#if:{{{device1|}}}|1|0}} = 1 |<!--
 
-->{{Medal Display/GM/overlay/layout|device={{{device1}}}|width={{{width|80}}}|position={{#if:{{{awards|}}}|1|3}}}}<!--
-->{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|device=N{{{awards}}}|width={{{width|80}}}|position=16|}}}}<!--
 
-->|{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|device=N{{{awards}}}|width={{{width|80}}}|position=num_mid}}}}<!--
 
-->}}}}}}<!--
 
-->}}<!--
 
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|TRI|<!--
 
-->{{#if:{{{device|}}}|{{Medal Display/GM/overlay/layout|device={{{device}}}|width={{{width|80}}}|position=3}}}}<!--
      
-->{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|device=T{{{awards}}}|width={{{width|80}}}|position=16}}}}


}}<!--
}}<!--


-->}}
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|AN|<!--
 
-->{{#if:{{{device|}}}|{{Medal Display/GM/overlay/layout|device={{{device}}}|width={{{width|80}}}|position=3}}}}
 
}}<!--
 
-->}}<!--
 
-->[[File:{{Medal Display/GM/ribbons|ribbon={{{ribbon|blank}}}}}|{{{width|80}}}px]]<!--
 
--></div></includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 17:11, 15 September 2022