Template:Icons

From Star Trek Timelines Wiki
Revision as of 13:35, 2 July 2016 by CodeHydro (talk) (CodeHydro moved page User:CodeHydro/sandbox4 to Template:Icons)
Jump to navigation Jump to search

Just because User:CodeHydro hates manually typing things. Automatic checks if item icon exists. If not, substitutes placeholder, which, when clicked, links to the destination where the file should be uploaded (saving editors from having to editing the item page itself when uploading and guaranteeing that item name will match format of others of same rarity.

1st and 2nd params are just like that of Template:ItemX/init and represent stars (and can be omited in the same manner; if 2nd is given, 1st may not be blank)

{| class=wikitable
! scope="row" | Icon
| {{{{FULLPAGENAME}}|name=HyposprayTOS|0|2}}
|}
Icon Template:Icons Template:Icons Template:Icons



Item filed under one name for low rarities but another for high rarities? No problem!

{| class=wikitable
! scope="row" | Icon
| {{{{FULLPAGENAME}}|name=FeragoitGoulash|1|3}} || {{{{FULLPAGENAME}}|name=PlomeekSoup|4|5}}
|}
Icon Template:Icons Template:Icons Template:Icons Template:Icons Template:Icons