Template:Vertical text: Difference between revisions
en>Ham105 add additional style param, tested in sandbox |
m 1 revision imported |
(No difference)
| |
Latest revision as of 00:08, 28 February 2020
This Is Vertical Text.
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Usage
{{Vertical text|text}}
- where text (as unnamed parameter
1) is the string to be displayed vertically.
An optional named parameter style may be used to specify additional CSS style attributes (e.g. font-size, color, etc).
Note: These style attributes should be terminated with a semicolon and not enclosed in quotes (see examples below).
Examples
Markup O/p {{Vertical text|Asia}} Asia{{Vertical text|style=font-size:90%;|Asia}} Asia{{Vertical text|style=font-size:70%;color:green;|Asia}} Asia