Template: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子页面中添加分类。本模板的子页面。 |