Template:Icontech/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (different example)
m (jfc)
Line 4: Line 4:
==Usage==
==Usage==
<pre>
<pre>
{{icontech|Bullet damage (research)|2|Bullet damage 2}}
{{icontech|Bullet damage (research)|2}}
</pre>
</pre>
Produces:
Produces:


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

Revision as of 09:28, 22 October 2017

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:

Bullet damage (research).png
2