Template:VerticalText: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<SPAN STYLE="writing-mode: vertical-lr; -ms-writing-mode: tb-rl; transform: rotate(180deg); vertical-align:bottom">{{{1|}}}</SPAN><noinclude>{{Documentation}}</noinclude>
{|class="wikitable sortable"
! </noinclude>class="nowrap {{#if:{{{stp|}}}||unsortable}}" style="line-height:99%;vertical-align:{{{va|bottom}}};padding:{{#if:{{{stp|}}}|21px|.4em}} .4em .2em;background-position:50% 0.4em;{{#if:{{{mw|}}}|max-width:{{{mw}}};overflow-x:hidden}}" | <div style="{{writing-mode|v1}}{{Transform-rotate|180}}padding-left:1px;text-align:{{#switch:{{{va|bottom}}}|top=right|middle=center|#default=left}};{{{style|}}}">{{#if:{{{nb|}}}|{{nobold|1={{{1|}}}}}|{{{1|<noinclude>Sample text</noinclude>}}}}}</div><noinclude>
|}
{{doc}}
</noinclude>

Latest revision as of 12:17, 6 August 2020

Template documentation (for the above template, sometimes hidden or invisible)

Usage

This template makes text vertical.

Code

{{VerticalText|Sample Text}}

Preview

Sample Text



Visit Template:VerticalText/doc to edit this text! (How does this work?)