Template:KitIconLine

From NationStates Sports Wiki
Jump to navigation Jump to search

Easier way to create links to kit icons for the Lineup Builder Icon Gallery.

Pass the nation, trigramme, and whether there are home/away/third kits for that team. In that order. If there is a kit, put Y. If there is a kit and a GK kit, put GK.

For example, {{KitIconLine|Osarius|OSR|GK}} (home outfield and GK kits only) will produce the following:

Nation Code Home Away Home GK Away GK Third Third GK
 Osarius OSR

While {{KitIconLine|Cobrio|CBR|GK|GK}} (GK kits for both home and away) will produce the following:

Nation Code Home Away Home GK Away GK Third Third GK
 Cobrio CBR

And {{KitIconLine|Akach|AKC|GK|Y}} (home GK kit, regular away kit only) will produce the following:

Nation Code Home Away Home GK Away GK Third Third GK
 Akach AKC

The same template can be used for domestic clubs, just pass a club trigramme, unique for their nation (e.g. HMD for Hastmead Diamante) as the "code" parameter, and "club=Y" at the end. For example, {{KitIconLine|Hastmead Diamante|GK|Y|code=HMD|club=Y}} will produce the following:

Club Code Home Away Home GK Away GK Third Third GK
 Hastmead Diamante (OSR) HMD File:HMD OSR H.png File:HMD OSR A.png File:HMD OSR H GK.png