Template:Tech/doc: Difference between revisions
Template page
More actions
Content deleted Content added
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>..." |
|||
Line 39: | Line 39: | ||
* ''icon'' - specify a value to show small (15px) icon |
* ''icon'' - specify a value to show small (15px) icon |
||
* ''3'' - specify name for icon (as passed to the [[:Template:TechIcon|TechIcon]] template |
* ''3'' - specify name for icon (as passed to the [[:Template:TechIcon|TechIcon]] template |
||
== See also == |
|||
* [[:Template:Upgrade|Upgrade]] template |
|||
<noinclude> |
<noinclude> |
Revision as of 12:34, 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}}
Parameters
- 1 - Technology name (the page to link to)
- 2 - Shown text (if differs)
- icon - specify a value to show small (15px) icon
- 3 - specify name for icon (as passed to the TechIcon template
See also
- Upgrade template