Template:Armour class value: Difference between revisions
Jump to navigation
Jump to search
(add tooltip) |
(add a 2 parameter for optional comment) |
||
Line 1: | Line 1: | ||
<div class="bg3wiki-ac-value" | <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
Template documentation
This page is in the process of being constructed or reformatted. You are welcome to contribute as well. Last edited on 2023-11-09. If multiple days have passed since, this template should be removed. |
A template that creates an armour class icon with the value inside it.
Syntax: {{Armour class value|some_number}}
Examples:
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | The value to display inside the shield | Unknown | required |