Template:Vertical Text/doc

From Fox Labs Wiki
Revision as of 04:15, 19 March 2024 by Inari (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == <code><nowiki>{{Vertical text|text}}</nowiki></code> :where ''text'' (as unnamed parameter <code>1</code>) is the string to be displayed vertically. <p>An optional named parameter <code>style</code> may be used to specify additional CSS style attributes (e.g. font-size, color, etc).</p> <p>Note: These...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 Template:Tooltip
{{Vertical text|Asia}} Template:Vertical text
{{Vertical text|style=font-size:90%;|Asia}} Template:Vertical text
{{Vertical text|style=font-size:70%;color:green;|Asia}} Template:Vertical text

See also