Template:RefBlockExt

From Wikibooks, open books for an open world
Jump to navigation Jump to search

 {{{1}}}
{{{2}}}

Template documentation[edit] [history] [purge]

{{RefBlockExt|width=bwidth|margin=lmargin|valign=vcenter|Text|Label}} produces HTML output

 

Text

Label

The option valign can be top | center | bottom. Defaults for options are width=100%, margin=20, and valign=center.

This positions Text to the left with a lmargin padding from the margin and Label to the right of bwidth the screen with vcenter centering. For example

 {{RefBlockExt|width=75%|margin=50|valign=bottom|Hello,<br>Hello,<br>Hello|<b>World</b>}} 
will display
 

Hello,
Hello,
Hello

World

See also[edit]

See documentation on {{RefBlock|Text|Label}} for a version that is briefer, using only defaults.