Template:Medal Display/GM: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(124 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{#if:{{{device|0}}}|1|0}}>0|<div style="position:relative; width:{{{width|80}}}px; border: none; line-height:1.5em; display:-moz-inline-stack; display:inline-block; zoom:1; *display=inline; white-space: nowrap;"><!--
<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;"><!--
--><div style="position:relative; display:inline-block"><!--


-->{{Medal Display/GM/devices|{{{device}}}|{{{width|80}}}}}{{Medal Display/GM/ribbons|{{{ribbon}}}|{{{width|80}}}}}<!--
-->{{#if:{{{ribbon|}}}|<!--
else
-->|{{Medal Display/GM/ribbons|{{{ribbon}}}|{{{width|80}}}}}}}<!--


-->{{#if:{{{link|}}}|&nbsp;{{Medal Display/GM/links|ribbon={{{ribbon}}}}}}}</div></div></includeonly><!--
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|MD|<!--
--><noinclude>{{documentation}}</noinclude>
 
-->{{#if:{{{awards|}}}|{{#switch:{{{awards}}}<!--
    -->|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}}<!--
        -->{{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}}<!--
                    -->{{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=8}}}}}}<!--
 
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|RS|<!--
 
-->{{#if:{{{awards|}}}|{{#switch:{{{awards|}}}<!--
    -->|2 = {{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=8}}<!--
    -->|3 = {{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=4}}<!--
        -->{{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=12}}<!--
    -->|4 = {{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=2}}<!--
        -->{{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=8}}<!--
        -->{{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=14}}<!--
    -->|5 = {{Medal Display/GM/overlay/layout|device=MarStar|width={{{width|80}}}|position=8}}<!--
    -->|6 = {{Medal Display/GM/overlay/layout|device=MarStar|width={{{width|80}}}|position=4}}<!--
        -->{{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=12}}<!--
    -->|7 = {{Medal Display/GM/overlay/layout|device=MarStar|width={{{width|80}}}|position=2}}<!--
        -->{{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=8}}<!--
        -->{{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=14}}<!--
    -->|8 = {{Medal Display/GM/overlay/layout|device=MarStar|width={{{width|80}}}|position=2}}<!--
        -->{{Medal Display/GM/overlay/layout|device=MarStar|width={{{width|80}}}|position=8}}<!--
        -->{{Medal Display/GM/overlay/layout|device=Rosette|width={{{width|80}}}|position=14}}<!--
    -->|9 = {{Medal Display/GM/overlay/layout|device=MarStar|width={{{width|80}}}|position=4}}<!--
        -->{{Medal Display/GM/overlay/layout|device=MarStar|width={{{width|80}}}|position=12}}}}}}}}<!--
 
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|DO|<!--
 
-->{{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} + {{#if:{{{device3|}}}|1|0}} = 3 | <!--
 
-->{{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 | <!--
 
-->{{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 |<!--
 
-->{{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|}}}}<!--
 
-->| {{#ifexpr:{{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} = 2 | <!--
 
-->{{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|}}}}<!--
 
-->| {{#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