Template:RefQuoteExt/doc
Appearance
This is a documentation subpage for Template:RefQuoteExt It may contain usage information, categories and other content that is not part of the original template page. |
{{RefQuoteExt|width=bwidth|margin=lmargin|valign=vcenter|Text|Href|Label}} produces html output <div><table width="bwidth"><tr><td width="lmargin"> </td><td> Text </td><td valign="vcenter"><table align="right"><tr><td> <span id="Href"></span>Label </td></tr></table></td></tr></table></div>
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 as an anchor to the right of bwidth the screen with vcenter centering. For example
{{RefQuoteExt|width=75%|margin=50|valign=bottom|Hello,<br>Hello,<br>Hello|World|<b>World</b>}}
will display
Hello, Hello, Hello |
|
The anchor is linked to using
[[#Href|...]]
See also
[edit source]See documentation on {{RefQuote|Text|Href|Label}}
for a version that is briefer, using only defaults.