Difference between revisions of "Template:Icon"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 8: Line 8:
 
  | trilogy = [[File:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]] [[File:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]] [[File:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
 
  | trilogy = [[File:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]] [[File:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]] [[File:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
 
  | t = [[File:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]] [[File:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]] [[File:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
 
  | t = [[File:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]] [[File:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]] [[File:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
  | lcs = [[File:Lcs.png|link={{{3|:Category:GTA LCS}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|GTA LCS}}]]
+
  | lcs = [[File:Lcs.png|link={{{3|:Category:GTA LCS}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|Liberty City Stories}}]]
  | vcs = [[File:Vcs.png|link={{{3|:Category:GTA VCS}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|GTA VCS}}]]
+
  | vcs = [[File:Vcs.png|link={{{3|:Category:GTA VCS}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|Vice City Stories}}]]
 
  | iv = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|GTA IV}}]]
 
  | iv = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|GTA IV}}]]
 
  | 4 = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|GTA IV}}]]
 
  | 4 = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|{{#if:{{{4|}}}|{{{4}}}|GTA IV}}]]

Latest revision as of 21:59, 1 June 2017

Icon Template syntax
GTA 1 {{Icon|1}}
GTA 2 {{Icon|2}}
GTA III {{Icon|3}} or {{Icon|III}}
Vice City {{Icon|VC}}
San Andreas {{Icon|SA}}
GTA III Vice City San Andreas {{Icon|trilogy}} or {{Icon|t}}
Liberty City Stories {{Icon|LCS}}
Vice City Stories {{Icon|VCS}}
GTA IV {{Icon|4}} or {{Icon|IV}}
GTA V {{Icon|5}} or {{Icon|V}}
GTA Net {{Icon|GTAnet}} or {{Icon|net}}
Grand Theft Auto series {{Icon}} (default)

The second parameter is optional and its value is the icon size (16px, by default).

Examples:

San Andreas {{Icon|SA|32}}
Mouseover text {{Icon|SA|32|Main Page|Mouseover text}}
No link {{Icon|SA|32||No link}}
San Andreas San Andreas {{Icon|SA}} {{Icon|SA|16}}

Parameters are not case sensitive.