Difference between revisions of "Template:Abbr"

From LFS Manual
Jump to navigationJump to search
m
m
Line 1: Line 1:
 
<abbr title="{{{2}}}">{{{1}}}</abbr><noinclude>
 
<abbr title="{{{2}}}">{{{1}}}</abbr><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>

Revision as of 02:16, 3 December 2023

{{{1}}}

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