Template:Armour class value: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(add tooltip)
(add a 2 parameter for optional comment)
Line 1: Line 1:
<div class="bg3wiki-ac-value" aria-label="Armour class: {{{1}}}">
<div class="bg3wiki-ac-value" style="grid-template-columns: 42px; 1fr">
<div>[[File:Armour class icon frame.png|40px]]</div>
<div>[[File:Armour class icon frame.png|40px]]</div>
<div class="ac-value">{{{1}}}</div>
<div class="ac-value" aria-label="Armour class: {{{1}}}">{{{1}}}</div>
{{#if:{{{2|}}}|<div class="ac-value-comment">{{{2|}}}</div>}}
</div><noinclude>{{documentation|content=
</div><noinclude>{{documentation|content=
{{under construction}}
{{under construction}}
Line 13: Line 14:
{{Armour class value|+1}}
{{Armour class value|+1}}
{{Armour class value|+2}}
{{Armour class value|+2}}
{{Armour class value|+2|Maximum +2}}


== Template data ==
== Template data ==

Revision as of 19:28, 9 November 2023

Armour class icon frame.png
{{{1}}}
Template documentation

A template that creates an armour class icon with the value inside it.

Syntax: {{Armour class value|some_number}}

Examples:

Armour class icon frame.png
10
Armour class icon frame.png
14
Armour class icon frame.png
+1
Armour class icon frame.png
+2
Armour class icon frame.png
+2
Maximum +2

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

The value to display inside the shield

Unknownrequired