Difference between revisions of "Template:Quote Box"
Line 33: | Line 33: | ||
{ | { | ||
"params": { | "params": { | ||
− | |||
− | |||
− | |||
"align": { | "align": { | ||
− | "default": "left" | + | "default": "left", |
+ | "description": " Alignment of the quote box on the page—left / right / center / none. Defaults to left alignment. Using align=none will remove word wrapping." | ||
+ | }, | ||
+ | "class": { | ||
+ | "description": "Advanced Usage only, Feel Free to ignore" | ||
+ | }, | ||
+ | "width": { | ||
+ | "description": "The width of the quote box. Defaults to the width of the quote included, unless |align=center where the width will default to 100%." | ||
+ | }, | ||
+ | "border": { | ||
+ | "description": "The width of the quote box border. Defaults to 1px. Remember to include 'px' or 'em' to specify the correct width." | ||
+ | }, | ||
+ | "fontsize": { | ||
+ | "description": "The fontsize of the quote box text. Defaults to 88%." | ||
+ | }, | ||
+ | "bgcolor": { | ||
+ | "description": "The RGB background color of the box. Defaults to #F9F9F9 (light gray)." | ||
+ | }, | ||
+ | "style": { | ||
+ | "description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding parameters." | ||
+ | }, | ||
+ | "title": { | ||
+ | "description": "Optional title to appear at the top of the quote box.", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "title_bg": { | ||
+ | "description": "The RGB background color of the title. Defaults to #F9F9F9 (light gray)." | ||
+ | }, | ||
+ | "title_fnt": { | ||
+ | "description": "The title font color. Defaults to black." | ||
+ | }, | ||
+ | "tstyle": { | ||
+ | "description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding title parameters." | ||
+ | }, | ||
+ | "quoted": { | ||
+ | "description": "If this parameter evaluates to true (is not 0, false, or empty) the quote box will enclose the quote in fat-quotes. Use judiciously;" | ||
+ | }, | ||
+ | "qalign": { | ||
+ | "description": "Alignment of the quote element—left / right / center. Defaults to left." | ||
+ | }, | ||
+ | "qstyle": { | ||
+ | "description": "A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding quote parameters." | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
"quotetext": {}, | "quotetext": {}, | ||
"quote": { | "quote": { | ||
"example": "\"Quote goes here\"", | "example": "\"Quote goes here\"", | ||
− | "required": true | + | "required": true, |
+ | "description": "The quote or other text to be displayed in the box." | ||
+ | }, | ||
+ | "author": { | ||
+ | "description": "Optional name of the author. A <ref>...</ref> reference citation can be added at the end." | ||
}, | }, | ||
− | |||
"source": { | "source": { | ||
"example": "-Wintersteel", | "example": "-Wintersteel", | ||
− | "required": true | + | "required": true, |
+ | "description": "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." | ||
+ | }, | ||
+ | "salign": { | ||
+ | "description": "Alignment of the source element—left / right / center. Defaults to the value of qalign." | ||
}, | }, | ||
− | " | + | "sstyle": { |
− | + | "description": " A generic CSS style parameter. Entries in this parameter supersede any duplicates in the preceding source parameters." | |
+ | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 22:04, 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 |