模板:Pad top italic
Template which allows more space above italic text for accents and diacritical marks, increasing legibility. Use to italicize "Other_name" or "Native_name" parameters in infobox heads.
- Syntax
{{Pad top italic|Name}}
, whereby the template adds "padding-top:0.4em" and italicizes theName
.
Examples showing infobox heads before and after:
Dublin Baile Átha Cliath |
---|
Before template, using {{Infobox settlement|name=Dublin|other_name=Baile Átha Cliath}}
:
Dublin Baile Átha Cliath |
---|
After template, using {{Infobox settlement|name=Dublin|other_name={{Pad top italic|Baile Átha Cliath}}}}
:
County Tipperary Contae Tiobraid Árann |
---|
Before template, using {{Infobox settlement|name=County Tipperary|native_name=Contae Tiobraid Árann}}
:
County Tipperary Contae Tiobraid Árann |
---|
After template, using {{Infobox settlement|name=County Tipperary|native_name={{Pad top italic|Contae Tiobraid Árann}}}}
:
{{{1}}}
上述文件嵌入自Template:Pad top italic/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |