Template:Abbr/doc
Short for "abbreviation", this template is used to represent English abbreviations. It acts like the HTML <abbr>
tag.
Usage
{{abbr}}
has two unnamed parameters, in order:
- Abbreviated form: This form is displayed on the page with a dotted underline.
- Full form: Many web browsers display the full form in the popup window when the user moves the mouse cursor over the abbreviated form.
Example
{{abbr | MSLP | Mean Sea Level Pressure }}
Will be displayed as MSLP. When you hover the mouse over the text, Mean Sea Level Pressure will be displayed in a pop-up window.
Metadata
{
"description": "用於表示英文縮寫",
"params": {
"1": {
"label": "縮寫形",
"required": true,
"description": "該形在頁面上以文字加虛線底線顯示。"
},
"2": {
"label": "完整形",
"required": true,
"description": "許多網頁瀏覽器在使用者滑鼠游標移動到縮寫形上會把完整形顯示於快顯視窗。"
}
},
"sets": [
{
"label": "參數",
"params": ["1", "2"]
}
]
}