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|link=:Category:GTA 1|{{{2|16}}}px|GTA 1]]
+
  | 1 = [[File:Gta1.png|link={{{3|:Category:GTA 1}}}|{{{2|16}}}px|GTA 1]]
  | 2 = [[Image:Gta2.png|link=:Category:GTA 2|{{{2|16}}}px|GTA 2]]
+
  | 2 = [[File:Gta2.png|link={{{3|:Category:GTA 2}}}|{{{2|16}}}px|GTA 2]]
  | 3 = [[Image:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]
+
  | 3 = [[File:Gta3.png|link={{{3|:Category:GTA 3}}}|{{{2|16}}}px|GTA III]]
  | iii = [[Image:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]
+
  | iii = [[File:Gta3.png|link={{{3|:Category:GTA 3}}}|{{{2|16}}}px|GTA III]]
  | vc = [[Image:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]]
+
  | vc = [[File:Vc.png|link={{{3|:Category:GTA VC}}}|{{{2|16}}}px|Vice City]]
  | sa = [[Image:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
+
  | sa = [[File:Sa.png|link={{{3|:Category:GTA SA}}}|{{{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]]
+
  | trilogy = [[File:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]&nbsp;[[File:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]]&nbsp;[[File:Sa.png|link=:Category:GTA SA|{{{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]]
+
  | t = [[File:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px|GTA III]]&nbsp;[[File:Vc.png|link=:Category:GTA VC|{{{2|16}}}px|Vice City]]&nbsp;[[File:Sa.png|link=:Category:GTA SA|{{{2|16}}}px|San Andreas]]
  | lcs = [[Image:Lcs.png|link=:Category:GTA LCS|{{{2|16}}}px|GTA LCS]]
+
  | lcs = [[File:Lcs.png|link={{{3|:Category:GTA LCS}}}|{{{2|16}}}px|GTA LCS]]
  | vcs = [[Image:Vcs.png|link=:Category:GTA VCS|{{{2|16}}}px|GTA VCS]]
+
  | vcs = [[File:Vcs.png|link={{{3|:Category:GTA VCS}}}|{{{2|16}}}px|GTA VCS]]
  | iv = [[Image:GTAIV.png|link=:Category:GTA 4|{{{2|16}}}px|GTA 4]]
+
  | iv = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|GTA IV]]
  | 4 = [[Image:GTAIV.png|link=:Category:GTA 4|{{{2|16}}}px|GTA 4]]
+
  | 4 = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|GTA IV]]
  | v = [[Image:GTAV.png|link=:Category:GTA 5|{{{2|16}}}px|GTA 5]]
+
  | v = [[File:GTAV.png|link={{{3|:Category:GTA 5}}}|{{{2|16}}}px|GTA V]]
  | 5 = [[Image:GTAV.png|link=:Category:GTA 5|{{{2|16}}}px|GTA 5]]
+
  | 5 = [[File:GTAV.png|link={{{3|:Category:GTA 5}}}|{{{2|16}}}px|GTA V]]
  | gtanet = [[Image:Gtanet.png|{{{2|16}}}px|GTA Net]]
+
  | gtanet = [[File:Gtanet.png|{{{2|16}}}px|GTA Net]]
  | net = [[Image:Gtanet.png|{{{2|16}}}px|GTA Net]]
+
  | net = [[File:Gtanet.png|{{{2|16}}}px|GTA Net]]
 
  | uns = <span style="font-size:0.8em">unsupported</span>
 
  | uns = <span style="font-size:0.8em">unsupported</span>
  | [[Image:Gta.png|{{{2|24}}}px|Grand Theft Auto series]]
+
  | [[File:Gta.png|{{{2|24}}}px|Grand Theft Auto series]]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{|class="wikitable"
 
{|class="wikitable"

Revision as of 16:40, 12 August 2015

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 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).

Example:

San Andreas {{Icon|SA|32}}

Parameters are not case sensitive.