Template:Icontech/doc: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (now automatically links to the first param instead of nothing if the third param is not given)
m (typo)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is basically the [[Template:Icon|icon template]] but with a set color and without the ability to set the icon-text-class.
This is basically the [[Template:Icon|icon template]] but with a set color and without the ability to set the icon-text-class.


Links to the first param if the third param is not given.
Icon links to the first param if the third param is not given.
==Usage==
==Usage==
<pre>
<pre>
{{icontech|armor-making|2|Armor crafting 2}}
{{icontech|Bullet damage (research)|2}}
</pre>
</pre>
Produces:
Produces:


{{icontech|armor-making|2|Armor crafting 2}}
{{icontech|Bullet damage (research)|2}}

Latest 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