Template:Annotation/Documentation

From War Thunder Wiki
< Template:Annotation
Revision as of 23:57, 2 November 2019 by Inceptor57 (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

The template Annotation is used to avoid excessive use of HTML tags when adding short annotations to specific texts. This works by expanding the text with the following code:

<span title="Annotated text" style="border-bottom: 1px dotted; cursor: help; white-space: nowrap">Text</span>

Code

{{Annotation|Text|Annotated text}}

Example

Code:

{{Annotation|20 + 20|The side is reinforced with screens}}

Generated:

20 + 20