Template:Upgrade/doc: Difference between revisions

Template page
(create documentation)
 
mNo edit summary
Line 38: Line 38:
* ''2'' - Shown text (if differs)
* ''2'' - Shown text (if differs)
* ''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 {[[:Template:TechIcon|TechIcon]] template
* ''3'' - specify name for icon (as passed to [[:Template:TechIcon|TechIcon]] template
 
== See also ==
* [[:Template:Tech|Tech]] template


<noinclude>
<noinclude>
[[Category:Template documentation]]
[[Category:Template documentation]]
</noinclude>
</noinclude>

Revision as of 12:34, 23 December 2023

This template sets up a link to an article describing a particular upgrade, with an option to show the upgrade icon as well.

Usage

{{Upgrade|Mecha Core}}
{{Upgrade|Mecha Core|Mecha Core Upgrade}}
{{Upgrade|Mecha Core|icon=yes}}
Tech Mecha Core.png
Mecha Core
{{Upgrade|Mecha Core||Mecha Core 1|icon=yes}}

Parameters

  • 1 - Upgrade 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 TechIcon template

See also

🍪 We use cookies to keep session information to provide you a better experience.