Template:TechIcon/doc

Template page
< Template:TechIcon
Revision as of 11:36, 15 June 2021 by imported>76561198045853337
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage:

{{TechIcon
|TechName=
|Level=
}}

NOTE: The TechName is used to construct the filename for the icon shown. For example, providing "Unknown" as in the example below, the template looks for and loads "Tech_Unknown.png". If the image does not exist, it will show as a broken image. Be sure to spell things the same. For multiple-word item names, use a space between the words as per normal. If the Level parameter is specified and equal to "1", the template will look for the filename "Tech_Unknown_1.png" instead.

The image will link to the page with a name in the "TechName_(Tech)" form if Level is not specified, otherwise it will link to the "TechName_(Upgrade)" page. The word in the parentheses may be overridden by supplying the optional "Type" parameter.


Example: The following wiki code

{{TechIcon|Universe Exploration|1}}

OR

{{TechIcon
|TechName=Universe Exploration
|Level=1
}}

Will display an icon with link the item:

Tech Universe Exploration 1.png
🍪 We use cookies to keep session information to provide you a better experience.