imported>76561198045853337 (Created page with "__NOTOC__ Usage:<pre> {{TechIcon |TechName= |Level= }} </pre> Example: The following wiki code<pre> {{TechIcon|Universe Exploration|1}} </pre> OR<pre> {{TechIcon |TechName=Un...") |
imported>76561198045853337 No edit summary |
||
Line 6: | Line 6: | ||
}} | }} | ||
</pre> | </pre> | ||
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<pre> | Example: The following wiki code<pre> |
Latest revision as of 11:36, 15 June 2021
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: