Template:Quality: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
Jouki (talk | contribs)
m better formatting suiting in table. (unfortunately without having CSS classes available a lot of stuff needs to be done dirty way)
Jouki (talk | contribs)
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

{{{1}}}
{{{2}}}{{{3}}}
{{{4}}}{{{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

2
47
910
List of all templates