(Created page with "This template sets up a link to an article describing a particular technology, with an option to show the technology icon as well. == Usage == <pre> {{Tech|Magnetic Levitation}} </pre> <div> {{Tech|Magnetic Levitation}} </div> <pre> {{Tech|Magnetic Levitation|Magnetic Levitation Upgrade}} </pre> <div> {{Tech|Magnetic Levitation|Magnetic Levitation Upgrade}} </div> <pre> {{Tech|Magnetic Levitation|icon=yes}} </pre> <div> {{Tech|Magnetic Levitation|icon=yes}} </div>...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 27: | Line 27: | ||
<pre> | <pre> | ||
{{Tech|Magnetic Levitation||Dyson Sphere Program|icon=yes}} | {{Tech|Magnetic Levitation|||Dyson Sphere Program|icon=yes}} | ||
</pre> | </pre> | ||
<div> | <div> | ||
{{Tech|Magnetic Levitation||Dyson Sphere Program|icon=yes}} | {{Tech|Magnetic Levitation|||Dyson Sphere Program|icon=yes}} | ||
</div> | |||
<pre> | |||
{{Tech|Dyson Sphere Stress System|5|icon=yes}} | |||
</pre> | |||
<div> | |||
{{Tech|Dyson Sphere Stress System|5|icon=yes}} | |||
</div> | </div> | ||
Line 37: | Line 45: | ||
* ''1'' - Technology name (the page to link to) | * ''1'' - Technology name (the page to link to) | ||
* ''2'' - Shown text (if differs) | * ''2'' - Shown text (if differs) | ||
* ''3'' - Level of the technology (if needed; added to the shown text; also affects icon choice) | |||
* ''icon'' - specify a value to show small (15px) icon | * ''icon'' - specify a value to show small (15px) icon | ||
* '' | * ''4'' - specify name for icon (as passed to the [[:Template:TechIcon|TechIcon]] template | ||
== See also == | |||
* [[:Template:Upgrade|Upgrade]] template | |||
<noinclude> | <noinclude> | ||
[[Category:Template documentation]] | [[Category:Template documentation]] | ||
</noinclude> | </noinclude> |
Latest revision as of 13:12, 23 December 2023
This template sets up a link to an article describing a particular technology, with an option to show the technology icon as well.
Usage
{{Tech|Magnetic Levitation}}
{{Tech|Magnetic Levitation|Magnetic Levitation Upgrade}}
{{Tech|Magnetic Levitation|icon=yes}}
{{Tech|Magnetic Levitation|||Dyson Sphere Program|icon=yes}}
{{Tech|Dyson Sphere Stress System|5|icon=yes}}
Parameters
- 1 - Technology name (the page to link to)
- 2 - Shown text (if differs)
- 3 - Level of the technology (if needed; added to the shown text; also affects icon choice)
- icon - specify a value to show small (15px) icon
- 4 - specify name for icon (as passed to the TechIcon template
See also
- Upgrade template