Template:Medal Display/GM/overlay/layout: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{#if:{{{awards|}}}|{{#switch:{{{ribbon|}}} | DSO | CGC | CSC | DSC | MC | DFC | AFC | NSC | CGM | CSM | AM | DSM | MM | DFM | AFM | NSM | KGM | SGM | MSM | ACSM | LSGCMn | LS...")
 
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{awards|}}}|{{#switch:{{{ribbon|}}}
<includeonly>{{#if:{{{device|}}}
| DSO | CGC | CSC | DSC | MC | DFC | AFC | NSC | CGM | CSM | AM | DSM | MM | DFM | AFM | NSM | KGM | SGM | MSM | ACSM | LSGCMn | LSGCMa | LSGCMr | LSGCMp | LSGCMf | LSGCMas
|<div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos={{{position}}}|width={{{width}}}}}px; bottom: 0px; padding: 0;"><!--
| LSGCMes | LSGCMcs | NM | VRSM | RFASM | CFLSM | SMSTJ | TRIMSM = {{#switch:{{{awards|}}}:
-->{{#if:{{{device|}}}|[[File:{{Medal Display/GM/overlay|device={{{device}}}}}|{{Medal Display/GM/overlay/width|device={{{device}}}|width={{{width}}}}}px]]}}<!--
| 2 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_1|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div>
-->}}</div></includeonly>
| 3 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_2a|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_2b|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div>
| 4 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3a|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3b|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3c|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div>
| 5 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4a|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4b|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4c|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4d|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div>
| 6 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_1|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|width={{{width|80}}}}}px}}]]</div>
| 7 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_2a|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_2b|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div>
| 8 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3a|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3b|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3c|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div>
| 9 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4a|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4b|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4c|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div><!--
  --><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4d|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|{{Medal Display/GM/overlay/width|{{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px}}]]</div>}}
| MNVWSM | OSMCP | OSMBP | OSMEF | OSMHUM | OSMCIV | SSMAP | SSMTS | SSMTRI | GSM | MHPM | GPKM | POSM | OTPM | HOSM | NEM | PM | SHOT = {{#if:{{{awards|}}}|<!--
  --> <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos={{{position|0}}}|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|device=N{{{awards}}}|{{Medal Display/GM/overlay/width|device=N{{{awards}}}|width={{{width|80}}}}}px}}]]</div>}}
| TRIA5 | TRINA5 = {{#if:{{{awards|}}}|<!--
  --> <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=No_O1|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|device=T{{{awards}}}|{{Medal Display/GM/overlay/width|device=T{{{awards}}}|width={{{width|80}}}}}px}}]]</div>}}}}<!--
 
  -->|{{#if:{{{devices|}}}|<div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos={{{position|0}}}|width={{{width|80}}}}}px; top: 0px; padding: 0;">[[File:{{Medal Display/GM/overlay|device={{{device}}}|{{Medal Display/GM/overlay/width|device={{{device}}}|width={{{width|80}}}}}px}}]]</div>}}}}

Latest revision as of 13:36, 20 November 2019