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

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{awards|}}}|{{#switch:{{{ribbon|}}}
<includeonly>{{#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 | LSGCMa | LSGCMr | LSGCMp | LSGCMf | LSGCMas
| 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
| LSGCMes | LSGCMcs | NM | VRSM | RFASM | CFLSM | SMSTJ | TRIMSM = {{#switch:{{{awards|}}}:
| LSGCMes | LSGCMcs | NM | VRSM | RFASM | CFLSM | SMSTJ | TRIMSM = {{#switch:{{{awards|}}}
| 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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div>
| 2 | 6 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_1|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
| 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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div><!--
-->[[File:{{Medal Display/GM/overlay|device={{#ifeq:{{{awards|}}}|2|Rosette|MarStar}}|{{Medal Display/GM/overlay/width|device={{#ifeq:{{{awards|}}}|2|Rosette|MarStar}}|width={{{width}}}}}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|device={{#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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div><!--
-->| 3 | 7 | 10 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_2a|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
  --><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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div><!--
-->[[File:{{Medal Display/GM/overlay|device={{#ifeq:{{{awards|}}}|3|Rosette|MarStar}}|{{Medal Display/GM/overlay/width|device={{#ifeq:{{{awards|}}}|3|Rosette|MarStar}}|width={{{width}}}}}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|device={{#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}}}}}px; top: 0px; padding: 0;"><!--
| 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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div><!--
-->[[File:{{Medal Display/GM/overlay|device={{#ifeq:{{{awards|}}}|10|MarStar|Rosette}}|{{Medal Display/GM/overlay/width|device={{#ifeq:{{{awards|}}}|10|MarStar|Rosette}}|width={{{width}}}}}px}}]]<!--
  --><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|device={{#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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div><!--
-->| 4 | 8 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3a|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
  --><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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div>
-->[[File:{{Medal Display/GM/overlay|device={{#ifeq:{{{awards|}}}|4|Rosette|MarStar}}|{{Medal Display/GM/overlay/width|device={{#ifeq:{{{awards|}}}|4|Rosette|MarStar}}|width={{{width}}}}}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|device={{#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}}}}}px; top: 0px; padding: 0;"><!--
| 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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|width={{{width|80}}}}}px]]</div><!--
-->[[File:{{Medal Display/GM/overlay|device=Rosette|{{Medal Display/GM/overlay/width|device=Rosette|width={{{width}}}}}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|device={{#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}}}}}px; top: 0px; padding: 0;"><!--
| 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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|width={{{width|80}}}}}px]]</div><!--
-->[[File:{{Medal Display/GM/overlay|device=Rosette|{{Medal Display/GM/overlay/width|device=Rosette|width={{{width}}}}}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|device={{#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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div>
-->| 5 | 9 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4a|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
| 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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TGS|MarStar}}|width={{{width|80}}}}}px]]</div><!--
-->[[File:{{Medal Display/GM/overlay|device={{#ifeq:{{{awards|}}}|5|Rosette|MarStar}}|{{Medal Display/GM/overlay/width|device={{#ifeq:{{{awards|}}}|5|Rosette|MarStar}}|width={{{width}}}}}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|device={{#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}}}}}px; top: 0px; padding: 0;"><!--
  --><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|device={{#ifeq:{{{ribbon|}}}|TRIMSM|TSS|Rosette}}|width={{{width|80}}}}}px]]</div><!--
-->[[File:{{Medal Display/GM/overlay|device=Rosette|{{Medal Display/GM/overlay/width|device=Rosette|width={{{width}}}}}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|device={{#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}}}}}px; top: 0px; padding: 0;"><!--
| MNVWSM | OSMCP | OSMBP | OSMEF | OSMHUM | OSMCIV | SSMAP | SSMTS | SSMTRI | GSM | MHPM | GPKM | POSM | OTPM | HOSM | NEM | PM | SHOT = {{#if:{{{awards|}}}|<!--
-->[[File:{{Medal Display/GM/overlay|device=Rosette|{{Medal Display/GM/overlay/width|device=Rosette|width={{{width}}}}}px}}]]</div><!--
  --> <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>}}
--><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_4d|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
| TRIA5 | TRINA5 = {{#if:{{{awards|}}}|<!--
-->[[File:{{Medal Display/GM/overlay|device=Rosette|{{Medal Display/GM/overlay/width|device=Rosette|width={{{width}}}}}px}}]]</div>}}<!--
  --> <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>}}}}<!--
 
 
-->| MNVWSM | OSMCP | OSMBP | OSMEF | OSMHUM | OSMCIV | SSMAP | SSMTS | SSMTRI | GSM | MHPM | GPKM | POSM | OTPM | HOSM | NEM | PM | SHOT  = {{#if:{{{awards|}}}|<!--
  -->|{{#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>}}}}</includeonly>
 
--><div style="position: absolute; left: {{Medal DIsplay/GM/overlay/position|x-pos={{{position}}}|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[File:{{Medal Display/GM/overlay|device=N{{{awards}}}|{{Medal Display/GM/overlay/width|device=N{{{awards}}}|width={{{width}}}}}px}}]]</div>}}<!--
 
-->| TRIA5 | TRINA5 = {{#if:{{{awards|}}}|<!--
 
--><div style="position: absolute; left: {{Medal DIsplay/GM/overlay/position|x-pos=No_O1|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[File:{{Medal Display/GM/overlay|device=T{{{awards}}}|{{Medal Display/GM/overlay/width|device=T{{{awards}}}|width={{{width}}}}}px}}]]</div>}}}}<!--
 
-->|{{#if:{{{device|}}}|<div style="position: absolute; left: {{Medal DIsplay/GM/overlay/position|x-pos={{{position}}}|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[File:{{Medal Display/GM/overlay|device={{{device}}}|{{Medal Display/GM/overlay/width|device={{{device}}}|width={{{width}}}}}px}}]]</div>}}}}</includeonly>

Revision as of 02:57, 6 November 2019