ਫਰਮਾ:Vlr
ਦਿੱਖ
This template uses block elements, e.g. See H:DIVSPAN for details. |
Used to properly display vertical left-to-right paragraphs, using writing-mode: vertical-lr.
Usage
[ਸੋਧੋ]- Parameters
- 1: content to be displayed vertically left-to-right
- style (optional): CSS styles
- center (optional): center the text (horizontally, within the surrounding horizontal LTR context)
- title (optional): functionally equivalent to horizontal LTR
Example
[ਸੋਧੋ]{{vlr|Some content to<br/>be displayed}}
Some content to
be displayed
be displayed
{{vlr|關關雎鳩,<br>在河之洲。}}
關關雎鳩,
在河之洲。
在河之洲。
{{vlr|center=1|關關雎鳩,<br>在河之洲。}}
關關雎鳩,
在河之洲。
在河之洲。
{{vlr|center=1|title=1|光緒元年鐫}}
光緒元年鐫
Note
[ਸੋਧੋ]Does not work well with {{center}}; center must be additionally specified.
{{c|
{{vlr|title=1|關關雎鳩}}
Very long text. Lorem ipsum dolor sit amet
Shorter text.
{{vlr|關關雎鳩}}
}}
關關雎鳩
Very long text. Lorem ipsum dolor sit amet
Shorter text.
關關雎鳩
{{c|
{{vlr|center=1|title=1|關關雎鳩}}
Very long text. Lorem ipsum dolor sit amet
Shorter text.
{{vlr|center=1|關關雎鳩}}
}}
關關雎鳩
Very long text. Lorem ipsum dolor sit amet
Shorter text.
關關雎鳩
See also
[ਸੋਧੋ]- {{vertical text}} - for vertical text where the characters are upright (like some older Chinese text)
- {{vrl}} - for "right-to-left" equivalent