Template:Quality: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(stopped the unit from wrapping without the corresponding quality icon)
(test with different unicode character for vertical bar)
Line 1: Line 1:
<span style="white-space: nowrap;">{{{1}}}</span> | <!--
<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_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_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_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><!--
--><span style="white-space: nowrap;">[[File:quality_legendary.png|12px|link=Quality{{If language suffix}}]]{{{5}}}</span><!--


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

Revision as of 20:39, 30 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

2Quality uncommon.png4Quality rare.png7Quality epic.png9Quality legendary.png10
List of all templates