Difference between revisions of "Template:Annotation"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if:{{{2|}}}|<span title="{{{2}}}" style="border-bottom: 1px dotted; cursor: help; white-space: nowrap">{{#if:{{{3|}}}|[[{{{3}}}|{{{1}}}]]|{{{1}}}}}</span>|{{{1...")
 
(No difference)

Latest revision as of 16:24, 16 August 2018

Description

The template Annotation is used to avoid excessive use of HTML tags when adding short annotations to specific texts, such as expanding abbreviations. This template 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