模板:Side by side/doc
![]() | 本文档是Template:Side by side的文档子页面 (见页面自身)。 本页包含用法信息、分类和其他非原页面的内容。 |
介绍
[编辑]This template simplifies the formatting of text set side-by-side.
机制/原理
[编辑]用法
[编辑]- Parameters (all optional)
- {{{left}}} (1) The text for the left hand side
- {{{right}}} (2) The text for the right hand side
- {{{nb}}} Commentary text, shown in small font underneath
- {{{align-l}}}, {{{align-r}}} The text alignment of the two sides, defaults to "left"
- {{{width}}}, total width, defaults to 90%
- {{{columnwidth}}}, column width, defaults to 49%
- {{{gap}}}, half the minimum gap in the center, defaults to 1em (giving 2em gap in total)
参数
[编辑]示例
[编辑]At dawn a cry through all the tavern shrilled,
"Arise my brethren of the revellers' guild,
That I may fill our measures full of wine,
Or e'er the measure of our days be filled."
Who was it brought thee here at nightfall, who?
Forth from the harem, in this manner, who?
To him who in thy absence burns as fire,
And trembles like hot air, who was it, who?
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.
注意事项
[编辑]技术细节
[编辑]重定向
[编辑]参见
[编辑]