Template:Abbr: Difference between revisions

From The Audiovisual Identity Database
Jump to navigation Jump to search
imported>LogoFun13-YT
(We can use this to indicate abbreviations for articles.)
 
imported>Gilby1385
(Removed redirect to Template:Tt)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<abbr title="{{{1}}}">{{{2}}}</abbr>
<includeonly><abbr style="display:inline;" title="{{{2}}}">{{{1}}}</abbr></includeonly><noinclude>'''Syntax:''' <pre>{{Abbr|1|2}}</pre>[[Category:Templates]]</noinclude>
<noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Full Description of Abbreviation",
"example": "LogoFun13",
"type": "string",
"required": true
},
"2": {
"label": "Abbreviation",
"example": "LF13",
"type": "string",
"required": true
}
},
"description": "An improved way of using the <abbr> tag.",
"format": "inline"
}
</templatedata>
For example: for CLG (shortened version of Closing Logos Group), typing <nowiki>{{Abbr|Closing Logos Group|CLG}}</nowiki> will produce this: {{Abbr|Closing Logos Group|CLG}}
</noinclude>

Latest revision as of 13:31, 11 January 2024

Syntax:

{{Abbr|1|2}}