Template:Icontech: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
now automatically links to the first param instead of nothing if the third param is not given
category
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Icon|{{{1}}}|{{{2|}}}|{{{3|{{{1}}}}}}|color=228B22}}<noinclude>
{{Icon|{{{1}}}|{{{2|}}}|{{{3|}}}|color=228B22}}<noinclude>
{{doc}}</noinclude>
{{doc}}[[Category:Templates]]</noinclude>

Latest revision as of 20:05, 24 September 2023

[[File:{{{1}}}.png|32px]]

[View] [Edit] [Page history]

Documentation

This is basically the icon template but with a set color and without the ability to set the icon-text-class.

Icon links to the first param if the third param is not given.

Usage

{{icontech|Bullet damage (research)|2}}

Produces:

2
List of all templates