Difference between revisions of "Template:QuoteBox2"
Jump to navigation
Jump to search
m (Protected "Template:QuoteBox2": Template protection policy ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
|||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | {{#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}}};" | |
| − | + | |- | |
| − | + | |align="center"|''{{{quote}}}''<br>— {{{source}}} | |
| − | + | |} | |
| − | + | <noinclude> | |
| − | + | This is a more advanced version of the <nowiki>{{QuoteBox}}</nowiki> allowing some configuration and positioning and adding the source of the quote | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </ | ||
| − | </ | + | |
| + | {{TemplateDoc|pages=Article pages|purpose=Featured quote|cat=}} | ||
| + | {{Parms| | ||
| + | {{Parm|width|Width of box|no|specify as % (of page width) or px (pixels)}} | ||
| + | {{Parm|align|Alignment of box|no|default right (left or center other options)}} | ||
| + | {{Parm|quote|Quotation text|yes|automatically italicized, omit any quote marks }} | ||
| + | {{Parm|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. | ||
| + | |||
| + | <pre> | ||
| + | {{QuoteBox2 | ||
| + | |width= | ||
| + | |align= | ||
| + | |quote= | ||
| + | |source= | ||
| + | |}} | ||
| + | </pre></noinclude> | ||
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=
|}}