Difference between revisions of "Template:Icon"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly>{{#switch: {{lc:{{{1|}}}}} | + | <includeonly>{{#if:{{{2|}}}||<span class="icon-align">}}{{#switch: {{lc:{{{1|}}}}} |
− | | 1 = [[File:Gta1.png|link={{{3|:Category:GTA 1}}}|{{{2|16}}}px | + | | 1 = [[File:Gta1.png|link={{{3|:Category:GTA 1}}}|{{{2|16}}}px|GTA 1]] |
− | | 2 = [[File:Gta2.png|link={{{3|:Category:GTA 2}}}|{{{2|16}}}px | + | | 2 = [[File:Gta2.png|link={{{3|:Category:GTA 2}}}|{{{2|16}}}px|GTA 2]] |
− | | 3 = [[File:Gta3.png|link={{{3|:Category:GTA 3}}}|{{{2|16}}}px | + | | 3 = [[File:Gta3.png|link={{{3|:Category:GTA 3}}}|{{{2|16}}}px|GTA III]] |
− | | iii = [[File:Gta3.png|link={{{3|:Category:GTA 3}}}|{{{2|16}}}px | + | | iii = [[File:Gta3.png|link={{{3|:Category:GTA 3}}}|{{{2|16}}}px|GTA III]] |
− | | vc = [[File:Vc.png|link={{{3|:Category:GTA VC}}}|{{{2|16}}}px | + | | vc = [[File:Vc.png|link={{{3|:Category:GTA VC}}}|{{{2|16}}}px|Vice City]] |
− | | sa = [[File:Sa.png|link={{{3|:Category:GTA SA}}}|{{{2|16}}}px | + | | sa = [[File:Sa.png|link={{{3|:Category:GTA SA}}}|{{{2|16}}}px|San Andreas]] |
− | | trilogy = [[File:Gta3.png|link=:Category:GTA 3|{{{2|16}}}px | + | | 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 | + | | 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 | + | | lcs = [[File:Lcs.png|link={{{3|:Category:GTA LCS}}}|{{{2|16}}}px|GTA LCS]] |
− | | vcs = [[File:Vcs.png|link={{{3|:Category:GTA VCS}}}|{{{2|16}}}px | + | | vcs = [[File:Vcs.png|link={{{3|:Category:GTA VCS}}}|{{{2|16}}}px|GTA VCS]] |
− | | iv = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px | + | | iv = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|GTA IV]] |
− | | 4 = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px | + | | 4 = [[File:GTAIV.png|link={{{3|:Category:GTA 4}}}|{{{2|16}}}px|GTA IV]] |
− | | v = [[File:GTAV.png|link={{{3|:Category:GTA 5}}}|{{{2|16}}}px | + | | v = [[File:GTAV.png|link={{{3|:Category:GTA 5}}}|{{{2|16}}}px|GTA V]] |
− | | 5 = [[File:GTAV.png|link={{{3|:Category:GTA 5}}}|{{{2|16}}}px | + | | 5 = [[File:GTAV.png|link={{{3|:Category:GTA 5}}}|{{{2|16}}}px|GTA V]] |
− | | gtanet = [[File:Gtanet.png|{{{2|16}}}px | + | | gtanet = [[File:Gtanet.png|{{{2|16}}}px|GTA Net]] |
− | | net = [[File:Gtanet.png|{{{2|16}}}px | + | | 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> | ||
| [[File:Gta.png|{{{2|24}}}px|Grand Theft Auto series]] | | [[File:Gta.png|{{{2|24}}}px|Grand Theft Auto series]] | ||
− | }}</includeonly><noinclude> | + | }}{{#if:{{{2|}}}||</span>}}</includeonly><noinclude> |
{|class="wikitable" | {|class="wikitable" | ||
!width="60" |Icon | !width="60" |Icon |
Revision as of 08:47, 5 December 2015
The second parameter is optional and its value is the icon size (16px, by default).
Example:
{{Icon|SA|32}} |
Parameters are not case sensitive.