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

Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#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 | 6 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_1|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->}}</div></includeonly>
-->[[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><!--
 
-->| 3 | 7 | 10 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_2a|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[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_2b|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[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}}]]<!--
 
-->| 4 | 8 = <div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3a|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[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><!--
--><div style="position: absolute; left: {{Medal Display/GM/overlay/position|x-pos=R_3b|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[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_3c|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[File:{{Medal Display/GM/overlay|device=Rosette|{{Medal Display/GM/overlay/width|device=Rosette|width={{{width}}}}}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;"><!--
-->[[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}}}}}px; top: 0px; padding: 0;"><!--
-->[[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_4c|width={{{width}}}}}px; top: 0px; padding: 0;"><!--
-->[[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}}}}}px; top: 0px; padding: 0;"><!--
-->[[File:{{Medal Display/GM/overlay|device=Rosette|{{Medal Display/GM/overlay/width|device=Rosette|width={{{width}}}}}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}}}|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>

Latest revision as of 13:36, 20 November 2019