Difference between revisions of "AwardImage"

From Sega Retro

Line 87: Line 87:
  
 
| cvg={{#switch:{{{2|}}}
 
| cvg={{#switch:{{{2|}}}
   | hit={{#vardefine:awardimage|{{#ifeq:{{{issue|}}}|93b|{{#vardefine:issue|74}}|}}{{Numberswitch|number={{#var:issue}}
+
   | hit={{#ifeq:{{{issue|}}}|93b|{{#vardefine:awardimage|CVG Hit 1989.png}}|{{#vardefine:awardimage|{{Numberswitch|number={{#var:issue}}
 
     |CVG Hit 1986.png
 
     |CVG Hit 1986.png
 
     |94=CVG Hit 1989.png
 
     |94=CVG Hit 1989.png
Line 93: Line 93:
 
     |150=CVG Hit 1994.png
 
     |150=CVG Hit 1994.png
 
     |159=CVG Hit 1995.png
 
     |159=CVG Hit 1995.png
     }}}}{{#vardefine:awardtext|CVG Hit}}
+
     }}}}}}{{#vardefine:awardtext|CVG Hit}}
 
   | gold={{#vardefine:awardimage|{{Numberswitch|number={{#var:issue}}
 
   | gold={{#vardefine:awardimage|{{Numberswitch|number={{#var:issue}}
 
     |CVG Gold 1994.png
 
     |CVG Gold 1994.png
Line 522: Line 522:
 
<pre>{{AwardImage|mms|megagame|issue=16s}}</pre>
 
<pre>{{AwardImage|mms|megagame|issue=16s}}</pre>
 
{{AwardImage|mms|megagame|issue=16s}}
 
{{AwardImage|mms|megagame|issue=16s}}
 +
 +
<pre>{{AwardImage|cvg|hit|issue=93}}{{AwardImage|cvg|hit|issue=93b}}{{AwardImage|cvg|hit|issue=94}}</pre>
 +
{{AwardImage|cvg|hit|issue=93}}{{AwardImage|cvg|hit|issue=93b}}{{AwardImage|cvg|hit|issue=94}}
  
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 15:51, 19 August 2020


Template for generating award images, for use in Template:Magrow.

Examples

{{AwardImage|mm|megagame}}

Mega Game

{{AwardImage|dcuk|essential}}

Essential

{{AwardImage|segapro|yo|issue=1}} {{AwardImage|segapro|yo|issue=10}} {{AwardImage|segapro|yo|issue=20}} {{AwardImage|segapro|yo|issue=30}} {{AwardImage|segapro|yo|issue=50}}

Yo! Yo! Yo! Yo! Yo!

{{AwardImage|mms|megagame|issue=16s}}

Mega Game

{{AwardImage|cvg|hit|issue=93}}{{AwardImage|cvg|hit|issue=93b}}{{AwardImage|cvg|hit|issue=94}}

CVG HitCVG HitCVG Hit