Template:Medal Display/GM: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(125 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr:{{#if:{{{device|0}}}|1|0}} or {{#if:{{{awards|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"><!--


--><div style="position: absolute; left: 0px; top: 0px; padding: 0;">[[Image:{{Medal Display/GM/overlay|awards={{{awards}}}|device={{{device}}}|ribbon={{{ribbon}}}}}|width={{{width|80}}}px|alt={{Medal Display/GM/overlay/alt|awards={{{awards}}}|device={{{device}}}|ribbon={{{ribbon}}}}}]]</div>[[Image:{{Medal Display/GM/overlay|ribbon={{{ribbon}}}|width={{{width|80}}}px}}]]<!--
-->{{#if:{{{ribbon|}}}|<!--
    ELSE
 
    -->|[[Image:{{Medal Display/GM/ribbons|ribbon={{{ribbon}}}}}|width={{{width|80}}}px|alt={{Medal Display/GM/ribbons/alt}}]]}}<!--
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|}}}}}|MD|<!--
 
-->{{#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:{{{link|}}}|&nbps;{{Medal Display/GM/links|ribbon={{{ribbon}}}}}}}</div></div></includeonly><!--
-->{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|device=T{{{awards}}}|width={{{width|80}}}|position=16}}}}
    --><noinclude>{{documentation}}</noinclude>
 
}}<!--
 
-->{{#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