Template:TechIcon/doc

From DSP Wiki
Jump to: navigation, search

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
https://dsp-wiki.com/Template:TechIcon/doc
dsp-wiki.com
crawl=CC-MAIN-2022-21
18118
application/http; msgtype=response
sha1:6KCA4652E6HBHG3LVADEUMNL3SB3J2DO
<urn:uuid:f91d895d-ddf3-4859-a991-77afa5ef3960>
2022-05-17T00:13:40Z
159.65.174.141
text/html
sha1:RJ55ZY2YX6CVGVTGXMULOXFAXFYVH2YO
<urn:uuid:36f2fc2e-df34-44b8-b2a6-c1b1d2a5a735>
https://dsp-wiki.com/Template:TechIcon/doc
response
<urn:uuid:6ab925a8-1cf7-4c0a-8c38-ab1c61cd4289>
isPartOf: CC-MAIN-2022-21
publisher: Common Crawl
description: Wide crawl of the web for May 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-162
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/