The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.
Template:Abbr/doc: Difference between revisions
>Kaseki (Replaced content with "{{WikipediaTemplate}}") |
(description, usage, examples) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
This template is a wrapper for the <code><nowiki><abbr></nowiki></code> tag, which is used to mark up an abbreviation and its expanded form. | |||
==Usage== | |||
This template may be used to write an abbreviation while also providing its expanded form. The expanded form of an abbreviation refers to how it is read. | |||
<pre>{{Abbr|abbreviation|expanded form}}</pre> | |||
The ''only'' correct usage of this template, and the <code><nowiki><abbr></nowiki></code> tag, is to mark up abbreviations. To provide readers with supplemental information using a tooltip or hoverbox, use {{tl|tooltip}} or {{tl|hoverbox}} instead. | |||
==Examples== | |||
The abbreviation "ES" is read as "energy shield". | |||
<code><nowiki>{{Abbr|ES|energy shield}}</nowiki></code> → {{Abbr|ES|energy shield}} | |||
The abbreviation "dex." is read as "dexterity". | |||
<code><nowiki>{{Abbr|dex.|dexterity}}</nowiki></code> → {{Abbr|dex.|dexterity}} | |||
The abbreviation "CwDT" is read as "Cast when Damage Taken". | |||
<code><nowiki>{{Abbr|CwDT|Cast when Damage Taken}}</nowiki></code> → {{Abbr|CwDT|Cast when Damage Taken}} | |||
{{Adapted from Wikipedia|Template:Abbr}} | |||
{{Documentation categories| | |||
<!-- Categories and interwikis go here. --> | |||
[[Category:Formatting templates]] | |||
{{sister|poewiki}} | |||
}} |
Latest revision as of 17:06, 23 March 2025

This subpage provides documentation for Template:Abbr.
This template is a wrapper for the <abbr>
tag, which is used to mark up an abbreviation and its expanded form.
Usage
This template may be used to write an abbreviation while also providing its expanded form. The expanded form of an abbreviation refers to how it is read.
{{Abbr|abbreviation|expanded form}}
The only correct usage of this template, and the <abbr>
tag, is to mark up abbreviations. To provide readers with supplemental information using a tooltip or hoverbox, use {{tooltip}} or {{hoverbox}} instead.
Examples
The abbreviation "ES" is read as "energy shield".
{{Abbr|ES|energy shield}}
→ ES
The abbreviation "dex." is read as "dexterity".
{{Abbr|dex.|dexterity}}
→ dex.
The abbreviation "CwDT" is read as "Cast when Damage Taken".
{{Abbr|CwDT|Cast when Damage Taken}}
→ CwDT

Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.