Template:Quality: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (better formatting suiting in table. (unfortunately without having CSS classes available a lot of stuff needs to be done dirty way))
m (better formatting in case of unit being after the template)
Line 3: Line 3:
--><span style="white-space: nowrap; margin-right: 13px;"><span style="margin-right: 2px">[[File:quality_rare.png    |12px|link=Quality{{If language suffix}}]]</span>{{{3}}}</span><br><!--
--><span style="white-space: nowrap; margin-right: 13px;"><span style="margin-right: 2px">[[File:quality_rare.png    |12px|link=Quality{{If language suffix}}]]</span>{{{3}}}</span><br><!--
--><span style="white-space: nowrap; margin-right: 13px;"><span style="margin-right: 2px">[[File:quality_epic.png    |12px|link=Quality{{If language suffix}}]]</span>{{{4}}}</span><!--
--><span style="white-space: nowrap; margin-right: 13px;"><span style="margin-right: 2px">[[File:quality_epic.png    |12px|link=Quality{{If language suffix}}]]</span>{{{4}}}</span><!--
--><span style="white-space: nowrap; margin-right: 13px;"><span style="margin-right: 2px">[[File:quality_legendary.png|12px|link=Quality{{If language suffix}}]]</span>{{{5}}}</span><!--
--><span style="white-space: nowrap; margin-right: 13px;"><span style="margin-right: 2px">[[File:quality_legendary.png|12px|link=Quality{{If language suffix}}]]</span>{{{5}}}</span><br><!--


--><noinclude>{{Documentation}}</noinclude>
--><noinclude>{{Documentation}}</noinclude>

Revision as of 00:01, 2 November 2024

Quality normal.png{{{1}}}
Quality uncommon.png{{{2}}}Quality rare.png{{{3}}}
Quality epic.png{{{4}}}Quality legendary.png{{{5}}}

[View] [Edit] [Page history]

Documentation

Formats the five values of a property for the five quality levels. The first value is normal quality, the second value is uncommon and so on. All values must be given.

{{Quality|2|4|7|9|10}}

results in

Quality normal.png2
Quality uncommon.png4Quality rare.png7
Quality epic.png9Quality legendary.png10
List of all templates