模板:Block left/doc
外觀
本文件是Template:Block left的文件子頁面 (見頁面自身)。 本頁包含用法資訊、分類和其他非原頁面的內容。 |
Usage
[編輯]This template places a block of text in the left of the page, without affecting the text alignment within that block.
- Comparison of {{Block left}} and {{left}}
This template retains the current text alignment (usually left), but moves the entire block of text into the left. To change to centred text alignment, use {{left}} instead.
- Block left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.- left
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.
Parameter
[編輯]Where there is a requirement to fix the width of the block, an optional "width" parameter can be used.
{{block left|width=300px|Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br/> Aenean commodo ligula eget dolor. Aenean massa.}}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Aenean commodo ligula eget dolor.
Aenean massa.