Difference between revisions of "Template:Icons"
Jump to navigation
Jump to search
(highlight: variable 4 changed to 2) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
}}{{#vardefine: highlight | {{#expr: {{{2|0}}} - {{{3|0}}} }} | }}{{#vardefine: highlight | {{#expr: {{{2|0}}} - {{{3|0}}} }} | ||
}}{{#ifexpr: {{#var: delta}} >= 1 | {{Icon Small | {{{1}}} }} | }}{{#ifexpr: {{#var: delta}} >= 1 | {{Icon Small | {{{1}}} }} | ||
− | }}{{#ifexpr: {{#var: highlight}} = 1 | | + | }}{{#ifexpr: {{#var: highlight}} = 1 | |
}}{{#ifexpr: {{#var: delta}} >= 2 | {{Icon Small | {{{1}}} }} | }}{{#ifexpr: {{#var: delta}} >= 2 | {{Icon Small | {{{1}}} }} | ||
− | }}{{#ifexpr: {{#var: highlight}} = 2 | | + | }}{{#ifexpr: {{#var: highlight}} = 2 | |
}}{{#ifexpr: {{#var: delta}} >= 3 | {{Icon Small | {{{1}}} }} | }}{{#ifexpr: {{#var: delta}} >= 3 | {{Icon Small | {{{1}}} }} | ||
− | }}{{#ifexpr: {{#var: highlight}} = 3 | | + | }}{{#ifexpr: {{#var: highlight}} = 3 | |
}}{{#ifexpr: {{#var: delta}} >= 4 | {{Icon Small | {{{1}}} }} | }}{{#ifexpr: {{#var: delta}} >= 4 | {{Icon Small | {{{1}}} }} | ||
− | }}{{#ifexpr: {{#var: highlight}} = 4 | | + | }}{{#ifexpr: {{#var: highlight}} = 4 | |
}}{{#ifexpr: {{#var: delta}} >= 5 | {{Icon Small | {{{1}}} }} | }}{{#ifexpr: {{#var: delta}} >= 5 | {{Icon Small | {{{1}}} }} | ||
− | }}{{#ifexpr: {{#var: highlight}} = 5 | < | + | }}{{#ifexpr: {{#var: highlight}} >= 5 | |
− | }} | + | }}<noinclude>{{Obsolete|reason=All it does is do useless comparisons, display the icon using another template, and then add spaces. Only retaining in case page history uses it somehow}}</noinclude> |
Latest revision as of 00:38, 20 March 2023
Template:Icons has been deprecated or removed from the wiki; it is no longer updated or in use. Reason: All it does is do useless comparisons, display the icon using another template, and then add spaces. Only retaining in case page history uses it somehow |