Template:Quality: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Shortened the template output)
(stopped the unit from wrapping without the corresponding quality icon)
Line 1: Line 1:
{{{1}}} | [[File:quality_uncommon.png|12px|link=Quality{{If language suffix}}]]{{{2}}} | [[File:quality_rare.png|12px|link=Quality{{If language suffix}}]]{{{3}}} | [[File:quality_epic.png|12px|link=Quality{{If language suffix}}]]{{{4}}} | [[File:quality_legendary.png|12px|link=Quality{{If language suffix}}]]{{{5}}}<noinclude>{{Documentation}}</noinclude>
<span style="white-space: nowrap;">{{{1}}}</span> | <!--
--><span style="white-space: nowrap;">[[File:quality_uncommon.png |12px|link=Quality{{If language suffix}}]]{{{2}}}</span> | <!--
--><span style="white-space: nowrap;">[[File:quality_rare.png     |12px|link=Quality{{If language suffix}}]]{{{3}}}</span> | <!--
--><span style="white-space: nowrap;">[[File:quality_epic.png     |12px|link=Quality{{If language suffix}}]]{{{4}}}</span> | <!--
--><span style="white-space: nowrap;">[[File:quality_legendary.png|12px|link=Quality{{If language suffix}}]]{{{5}}}</span><!--
 
--><noinclude>{{Documentation}}</noinclude>

Revision as of 08:40, 29 October 2024

{{{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

2 | Quality uncommon.png4 | Quality rare.png7 | Quality epic.png9 | Quality legendary.png10
List of all templates