Difference between revisions of "Template:QuoteBox2"
m (Unprotected "Template:QuoteBox2": per request) |
m (Protected "Template:QuoteBox2": Template protection policy ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{#ifeq:{{{align}}}|center|<center>}} | {{#ifeq:{{{align}}}|center|<center>}} | ||
| − | {|width="{{{width}}}" align="{{{align|right}}}" cellspacing="4" cellpadding="4" style="border: 2px solid #aaa; font-size: 90%; padding: 4px; margin: 0 1em; margin-{{align}}:0; background-color: #f9f9f9;clear:{{{align}}};" | + | {|width="{{{width}}}" align="{{{align|right}}}" cellspacing="4" cellpadding="4" style="border: 2px solid #aaa; font-size: 90%; padding: 4px; margin: 0 1em; margin-{{{align}}}:0; background-color: #f9f9f9;clear:{{{align}}};" |
|- | |- | ||
|align="center"|''{{{quote}}}''<br>— {{{source}}} | |align="center"|''{{{quote}}}''<br>— {{{source}}} | ||
Latest revision as of 22:28, March 4, 2011
| {{{quote}}} — {{{source}}} |
This is a more advanced version of the {{QuoteBox}} allowing some configuration and positioning and adding the source of the quote
| Template: QuoteBox2 | |
|---|---|
| Use on | Article pages |
| Use for | Featured quote |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| width | Width of box | no | specify as % (of page width) or px (pixels) |
| align | Alignment of box | no | default right (left or center other options) |
| quote | Quotation text | yes | automatically italicized, omit any quote marks |
| source | Source of quote | preferred | who made the quote or where it came from |
Sample Data Block
The following may be copied and pasted at a suitable position in the text.
{{QuoteBox2
|width=
|align=
|quote=
|source=
|}}