Template:Pad top italic/sandbox
Appearance
This is the template sandbox page for Template:Pad top italic (diff). |
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. The shortcut {{Pti}} is available.
- 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}}}}
: