User:Sharparam/Template/IconQuality: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 2: Line 2:
|<span style="position: relative; display: inline-block; width: {{{size|64px}}}; line-height: 1;"><!--
|<span style="position: relative; display: inline-block; width: {{{size|64px}}}; line-height: 1;"><!--
--><span style="position: absolute; width: 50%; left: 0; bottom: 0;"><!--
--><span style="position: absolute; width: 50%; left: 0; bottom: 0;"><!--
-->[[File:Quality {{{quality}}}.png|class=sharparam-icon-full|link=]]<!--
-->[[File:Quality {{{quality}}}.png|32px|class=sharparam-icon-full|link=]]<!--
--></span><!--
--></span><!--
-->[[File:{{ConvertName|{{{1}}}}}.png|class=sharparam-icon-full|link=]]<!--
-->[[File:{{ConvertName|{{{1}}}}}.png|class=sharparam-icon-full|link=]]<!--
--></span>
--></span>
|[[File:{{ConvertName|{{{1}}}}}.png|{{{size|64px}}}|link=]]}}</includeonly><noinclude>{{doc}}</noinclude>
|[[File:{{ConvertName|{{{1}}}}}.png|{{{size|64px}}}|link=]]}}</includeonly><noinclude>{{doc}}</noinclude>

Latest revision as of 18:32, 23 October 2024

[View] [Edit] [Page history]

Documentation

{{User:Sharparam/Template/IconQuality|File name|size=''size spec''|quality=''tier''}}

Displaying just an icon without quality:

Signal-A.png

{{User:Sharparam/Template/IconQuality|Signal-A}}

Icon with custom size:

Signal-A.png

{{User:Sharparam/Template/IconQuality|Signal-A|size=28px}}

Icon with quality:

Quality rare.pngSignal-A.png

{{User:Sharparam/Template/IconQuality|Signal-A|quality=rare}}
List of all templates