Difference between revisions of "Template:Armor"
Line 1: | Line 1: | ||
− | {{#ifexpr: {{{1}}} > 0 | [[File:ui-armor.png| | + | {{#ifexpr: {{{1}}} > 0 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 1 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 2 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 3 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 4 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 5 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 6 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 7 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 8 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}{{#ifexpr: {{{1}}} > 9 | [[File:ui-armor.png|12x12px|class=item-icon pixel|link=Armor]]}}<noinclude> |
== About == | == About == | ||
This template serves to display armor points in a page. | This template serves to display armor points in a page. |
Revision as of 09:20, 5 July 2022
Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".
About
This template serves to display armor points in a page.
Usage
The syntax of this template is Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operator.
. If the value given is 0
or lower, or higher than 10
, it will display no icons and 10 armor icons respectively.