Template:VerticalText: Difference between revisions

From LPedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{|class="wikitable sortable"
{|class="wikitable sortable"
! </noinclude>{{#invoke:Vertical header|cell|text={{{1|<noinclude>Sample text</noinclude>}}}|sortPadding={{{stp|}}}|vertAlign={{{va|bottom}}}|maxWidth={{{mw|}}}|noBold={{{nb|}}}|style={{{style|}}}|cellstyle={{{cellstyle|}}}}}<noinclude>
! </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>
|}
|}
{{documentation}}
{{doc}}
</noinclude>
</noinclude>

Revision as of 12:09, 6 August 2020

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

Usage

This template makes text vertical.

Code

{{VerticalText|Sample Text}}

Preview

class="nowrap unsortable" style="line-height:99%;vertical-align:bottom;padding:.4em .4em .2em;background-position:50% 0.4em;" |
Sample Text



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