Difference between revisions of "Template:Icon"

From GTAMods Wiki
Jump to navigation Jump to search
(link to category)
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
  | 1 = [[Image:Gta1.png|{{{2|16}}}px|GTA 1]]
+
  | 1 = [[Image:Gta1.png|link=:Category:GTA 1|{{{2|16}}}px|GTA 1]]
  | 2 = [[Image:Gta2.png|{{{2|16}}}px|GTA 2]]
+
  | 2 = [[Image:Gta2.png|link=:Category:GTA 2|{{{2|16}}}px|GTA 2]]
  | 3 = [[Image:Gta3.png|{{{2|16}}}px|GTA III]]
+
  | 3 = [[Image:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]
  | iii = [[Image:Gta3.png|{{{2|16}}}px|GTA III]]
+
  | iii = [[Image:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]
  | vc = [[Image:Vc.png|{{{2|16}}}px|Vice City]]
+
  | vc = [[Image:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]]
  | sa = [[Image:Sa.png|{{{2|16}}}px|San Andreas]]
+
  | sa = [[Image:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
  | trilogy = [[Image:Gta3.png|{{{2|16}}}px|GTA III]]&nbsp;[[Image:Vc.png|{{{2|16}}}px|Vice City]]&nbsp;[[Image:Sa.png|{{{2|16}}}px|San Andreas]]
+
  | trilogy = [[Image:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]&nbsp;[[Image:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]]&nbsp;[[Image:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
  | t = [[Image:Gta3.png|{{{2|16}}}px|GTA III]]&nbsp;[[Image:Vc.png|{{{2|16}}}px|Vice City]]&nbsp;[[Image:Sa.png|{{{2|16}}}px|San Andreas]]
+
  | t = [[Image:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]&nbsp;[[Image:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]]&nbsp;[[Image:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
  | lcs = [[Image:Lcs.png|{{{2|16}}}px|GTA LCS]]
+
  | lcs = [[Image:Lcs.png|link=:Category:GTA LCS|{{{2|16}}}px|GTA LCS]]
  | vcs = [[Image:Vcs.png|{{{2|16}}}px|GTA VCS]]
+
  | vcs = [[Image:Vcs.png|link=:Category:GTA VCS|{{{2|16}}}px|GTA VCS]]
  | iv = [[Image:GTAIV.png|{{{2|16}}}px|GTA 4]]
+
  | iv = [[Image:GTAIV.png|link=:Category:GTA 4|{{{2|16}}}px|GTA 4]]
  | 4 = [[Image:GTAIV.png|{{{2|16}}}px|GTA 4]]
+
  | 4 = [[Image:GTAIV.png|link=:Category:GTA 4|{{{2|16}}}px|GTA 4]]
  | v = [[Image:GTAV.png|{{{2|16}}}px|GTA 5]]
+
  | v = [[Image:GTAV.png|link=:Category:GTA 5|{{{2|16}}}px|GTA 5]]
  | 5 = [[Image:GTAV.png|{{{2|16}}}px|GTA 5]]
+
  | 5 = [[Image:GTAV.png|link=:Category:GTA 5|{{{2|16}}}px|GTA 5]]
 
  | gtanet = [[Image:Gtanet.png|{{{2|16}}}px|GTA Net]]
 
  | gtanet = [[Image:Gtanet.png|{{{2|16}}}px|GTA Net]]
 
  | net = [[Image:Gtanet.png|{{{2|16}}}px|GTA Net]]
 
  | net = [[Image:Gtanet.png|{{{2|16}}}px|GTA Net]]

Revision as of 21:16, 28 December 2014

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}}
GTA LCS {{Icon|LCS}}
GTA VCS {{Icon|VCS}}
GTA 4 {{Icon|4}} or {{Icon|IV}}
GTA 5 {{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).

Example:

San Andreas {{Icon|SA|32}}

Parameters are not case sensitive.