Template:Abbr: Difference between revisions
From the Audiovisual Identity Database, the motion graphics museum
Content deleted Content added
imported>LogoFun13-YT m mini edit |
No edit summary |
||
Line 1: | Line 1: | ||
<abbr {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} {{#if:{{{style|}}}|style="{{{style}}}"}} title="{{#tag:nowiki|{{#invoke:String|replace|{{{2|}}}|"|"}}}}">{{{1|}}}</abbr><noinclude>{{Wikipedia template}} |
|||
<abbr title="{{{1}}}">{{{2}}}</abbr> |
|||
<noinclude> |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Full Description of Abbreviation", |
|||
"example": "Closing Logos Group", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"2": { |
|||
"label": "Abbreviation", |
|||
"example": "CLG", |
|||
"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> |
</noinclude> |
Revision as of 16:24, 6 October 2022
This template functions in the same way as Wikipedia’s equivalent. For more information about using this template, see the relevant Wikipedia article at Template:Abbr. Wikipedia templates are available under the Creative Commons Attribution-ShareAlike 3.0 licence. |