Template:Tech/doc: Difference between revisions
Template page
More actions
Content deleted Content added
No edit summary |
|||
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 == |
== See also == |
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