Difference between revisions of "Template:Quote Box"
Line 22: | Line 22: | ||
}} {{{qclass|}}}" style=" | }} {{{qclass|}}}" style=" | ||
{{{qstyle|}}}"><!-- | {{{qstyle|}}}"><!-- | ||
− | -->{{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}<!-- | + | -->{{{text|{{{content|{{{quotetext|{{{''quote''|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}<!-- |
--></div> | --></div> | ||
{{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }} | {{#if:{{{author|{{{source|}}}}}}{{{2|}}}{{{3|}}}|<cite class="{{#switch: {{lc:{{{salign|{{{qalign|{{{halign|left}}} }}} }}} }} |
Revision as of 22:16, 6 February 2021
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Align | align | Alignment of the quote box on the page—left / right / center / none. Defaults to left alignment. Using align=none will remove word wrapping.
| Unknown | optional |
Class | class | Advanced Usage only, Feel Free to ignore | Unknown | optional |
Width | width | The width of the quote box. Defaults to the width of the quote included, unless |align=center where the width will default to 100%. | Unknown | optional |
Border | border | The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width. | Unknown | optional |
Fontsize | fontsize | The fontsize of the quote box text. Defaults to 88%. | Unknown | optional |
Bgcolor | bgcolor | The RGB background color of the box. Defaults to #F9F9F9 (light gray). | Unknown | optional |
Style | style | A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters. | Unknown | optional |
Title | title | Optional title to appear at the top of the quote box. | Unknown | suggested |
Title_bg | title_bg | The RGB background color of the title. Defaults to #F9F9F9 (light gray). | Unknown | optional |
Title_fnt | title_fnt | The title font color. Defaults to black. | Unknown | optional |
Tstyle | tstyle | A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters. | Unknown | optional |
Quoted | quoted | If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously; | Unknown | optional |
Qalign | qalign | Alignment of the quote element—left / right / center. Defaults to left. | Unknown | optional |
Qstyle | qstyle | A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters. | Unknown | optional |
Quotetext | quotetext | no description | Unknown | optional |
Quote | quote | The quote or other text to be displayed in the box.
| Unknown | required |
Author | author | Optional name of the author. A <ref>...</ref> reference citation can be added at the end. | Unknown | optional |
Source | source | Optional source of the quote ("Quoted" or Italic work title, and other publication data). A <ref>...</ref> reference citation can be added at the end.
| Unknown | required |
Salign | salign | Alignment of the source element—left / right / center. Defaults to the value of qalign. | Unknown | optional |
Sstyle | sstyle | A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters. | Unknown | optional |