Difference between revisions of "Template:Abbr"

From LFS Manual
Jump to navigationJump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<abbr title="{{{2}}}">{{{1}}}</abbr><noinclude>
+
<includeonly><abbr title="{{{2|{{{title|}}}}}}">{{{1}}}</abbr></includeonly><noinclude>
== Template documentation ==
+
{{documentation}}
Used to write an abbreviation with its meaning (the meaning comes up in a tooltip). It needs two parameters, the first one is the abbreviation and the second is the meaning.
 
=== Examples ===
 
<pre>
 
{{Abbr|UK|United Kingdom}}
 
</pre>
 
Renders as: {{Abbr|UK|United Kingdom}}
 
<pre>
 
{{Abbr|S-S|Single-seater cars}}
 
</pre>
 
Renders as: {{Abbr|S-S|Single-seater cars}}
 
[[Category:Text formatting templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:12, 4 February 2024

Template Info-Icon.png

Template documentation

View - Edit

Used to write an abbreviation with its meaning (the meaning comes up in a tooltip). It needs two parameters, the first one is the abbreviation and the second is the meaning.

Examples

Markup Renders as
{{Abbr|UK|United Kingdom}}

UK

Markup Renders as
{{Abbr|S-S|Single-seater cars}}

S-S

Markup Renders as
{{Abbr|S-S|title=S-S = single-seater cars}}

S-S