ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Template:Icon: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Quick way to get a game's icon
 
m Bugs abound.
 
Line 1: Line 1:
<includeonly>[[Image:Game_{{{1|yr}}}_{{#if:{{{2|}}}|{{{2|no}}}|yes}}.png{{#if:{{{3|}}}|{{!}}{{{3|32px}}}|}}]]</includeonly><noinclude>
<includeonly>[[Image:Game_{{lc:{{{1|yr}}}}}_{{lc:{{#if:{{{2|}}}|{{{2|no}}}|yes}}}}.png{{#if:{{{3|}}}|{{!}}{{{3|32px}}}|}}]]</includeonly><noinclude>
==Usage==
==Usage==
  <nowiki>{{icon|game}}</nowiki>
  <nowiki>{{icon|game}}</nowiki>

Latest revision as of 14:22, 24 December 2012

Usage

{{icon|game}}
{{icon|game|no}}

Parameter Codes for game

Code Game
ra Red Alert
cs Counterstrike
am Aftermath
ts Tiberian Sun
fs Firestorm
hp HyperPatch
ra2 Red Alert 2
yr Yuri's Revenge
ares Ares

Examples

{{icon|ares}}

{{icon|ares|no}}