Difference between revisions of "Template:Medal Display/GM/test"

Line 1: Line 1:
 
<div style="position: relative; width: {{Medal Display/GM/base/width|width={{{size}}}}}px; display: -moz-inline-stack; display: inline-block; zoom:1; *display: inline; white-space: nowrap;"><!--
 
<div style="position: relative; width: {{Medal Display/GM/base/width|width={{{size}}}}}px; display: -moz-inline-stack; display: inline-block; zoom:1; *display: inline; white-space: nowrap;"><!--
  
Medal Device
+
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|blank}}}}}|MD|Medals and Devices<!--
-->{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon}}}}}|MD<!--
 
  
-->|{{#if:{{{awards|}}}|{{#switch:{{{awards}}}<!--
+
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|blank}}}}}|RS|Medals and Devices<!--
-->|1 = {{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=4|size={{{size}}}}}<!--
 
  
-->|2 = {{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=3|size={{{size}}}}}<!--
+
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|blank}}}}}|DO|Device Only<!--
-->{{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=5|size={{{size}}}}}<!--
 
  
-->|3 = {{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=2|size={{{size}}}}}<!--
+
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|blank}}}}}|DN|Device and Number<!--
-->{{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=4|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=6|size={{{size}}}}}<!--
 
  
-->|4|5|6|7|8|9 = {{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=1|size={{{size}}}}}<!--
+
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|blank}}}}}|TRIMSM|TRI TRIMSM<!--
-->{{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=3|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=5|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{ribbon}}}|x-pos=7|size={{{size}}}}}<!--
 
-->}}<!--
 
  
Rosettes and Star
+
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon|blank}}}}}|TRI|TRIDENT}}}}}}}}}}}}<!--
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon}}}}}|RS<!--
 
  
-->|{{#ifexpr:{{{awards|}}} > 1|{{#switch:{{{awards}}}<!--
+
-->[[File:{{Medal Display/GM/ribbons|ribbon={{{ribbon|blank}}}}}|{{#switch:{{{size|}}}|l|L = 160|m|M = 80|s|S =60|#default = 80}}}}px]]<!--
-->|2|6 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|2|Rosette|MarStar}}|x-pos=4|size={{{size}}}}}<!--
 
 
 
-->|3|7|10 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|3|Rosette|MarStar}}|x-pos=3|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|10|MarStar|Rosette}}|x-pos=5|size={{{size}}}}}<!--
 
 
 
-->|4|8 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|4|Rosette|MarStar}}|x-pos=2|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=Rosette|x-pos=4|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=Rosette|x-pos=6|size={{{size}}}}}<!--
 
 
 
-->|5|9 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|5|Rosette|MarStar}}|x-pos=1|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=Rosette|x-pos=3|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=Rosette|x-pos=5|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=Rosette|x-pos=7|size={{{size}}}}}<!--
 
-->}}<!--
 
 
 
Device Only
 
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon}}}}}|DO<!--
 
 
 
-->|{{#if:{{{device|}}}{{{device1|}}}{{{device2|}}}{{{device3|}}}<!--
 
 
 
-->|{{#ifexpr: {{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} + {{#if:{{{device3|}}}|1|0}} = 3<!--
 
-->|{{Medal Display/GM/overlay/layout|image={{{device1}}}m|x-pos=2|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{device2}}}m|x-pos=4|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{device3}}}m|x-pos=6|size={{{size}}}}}<!--
 
-->|{{#ifexpr: {{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} = 2<!--
 
-->|{{Medal Display/GM/overlay/layout|image={{{device1}}}m|x-pos=3|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{device2}}}m|x-pos=5|size={{{size}}}}}<!--
 
-->|{{#ifexpr: {{#if:{{{device1|}}}{{{device|}}}|1|0}} = 1<!--
 
-->|{{Medal Display/GM/overlay/layout|image={{{device1}}}|x-pos=2|size={{{size}}}}}}}}}}}}}<!--
 
 
 
Device + Numbers
 
-->|{{#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|image={{{device1}}}m|x-pos=2|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{device2}}}m|x-pos=4|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{device3}}}m|x-pos=6|size={{{size}}}}}<!--
 
-->|{{#ifexpr: {{#if:{{{device1|}}}|1|0}} + {{#if:{{{device2|}}}|1|0}} = 2<!--
 
-->|{{Medal Display/GM/overlay/layout|image={{{device1}}}m|x-pos=3|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{{device2}}}m|x-pos=5|size={{{size}}}}}<!--
 
-->|{{#ifexpr: {{#if:{{{device1|}}}{{{device|}}}|1|0}} = 1<!--
 
-->|{{Medal Display/GM/overlay/layout|image={{{device1}}}{{{device}}}|x-pos={{#if:{{{awards|}}}|1|2}}|size={{{size}}}}}}}}}}} <!--
 
-->{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|image=N{{{awards}}}|x-pos={{#if:{{{device}}}{{{device1}}}{{{device2}}}{{{device3}}}|4|7}}|size={{{size}}}}}}}<!--
 
 
 
TRIDENT Star Devices
 
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon}}}}}|TRIMSM<!--
 
 
 
-->|{{#if:{{{awards|}}}|{{#switch:{{{awards}}}<!--
 
-->|2|6 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|2|TSS|TGS}}|x-pos=4|size={{{size}}}}}<!--
 
 
 
-->|3|7|10 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|3|TSS|TGS}}|x-pos=3|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|10|TGS|TSS}}|x-pos=5|size={{{size}}}}}<!--
 
 
 
-->|4|8 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|4|TSS|TGS}}|x-pos=2|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=TSS|x-pos=4|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=TSS|x-pos=6|size={{{size}}}}}<!--
 
 
 
-->|5|9 = {{Medal Display/GM/overlay/layout|image={{#ifeq:{{{awards|}}}|5|TSS|TGS}}|x-pos=1|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=TSS|x-pos=3|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=TSS|x-pos=5|size={{{size}}}}}<!--
 
-->{{Medal Display/GM/overlay/layout|image=TSS|x-pos=7|size={{{size}}}}}<!--
 
-->}}}}<!--
 
 
 
 
 
-->|{{#ifeq:{{Medal Display/GM/ribbons/check|ribbon={{{ribbon}}}}}|TRI<!--
 
 
 
-->|{{#ifexpr: {{#if:{{{device1|}}}{{{device|}}}|1|0}} = 1<!--
 
-->|{{Medal Display/GM/overlay/layout|image={{{device1}}}{{{device}}}|x-pos={{#if:{{{awards|}}}|1|2}}|size={{{size}}}}}}}<!--
 
-->{{#if:{{{awards|}}}|{{Medal Display/GM/overlay/layout|image=N{{{awards}}}|x-pos={{#if:{{{device}}}{{{device1}}}{{{device2}}}{{{device3}}}|4|7}}|size={{{size}}}}}}}<!--
 
-->}}}}}}}}}}}}}}}}<!--
 
 
 
-->[[File:{{Medal Display/GM/ribbons|ribbon={{{ribbon|blank}}}}}|{{#switch:{{{size|}}}|l|L = 160|m|M = 80|s|S =60|#default = 80}}px]]<!--
 
 
--></div><noinclude>{{documentation}}</noinclude>
 
--></div><noinclude>{{documentation}}</noinclude>

Revision as of 03:20, 11 November 2019

[[File:|80}}px]]
Template documentation[create]