Template:Quote Box: Difference between revisions
imported>Maadrast No edit summary |
imported>Maadrast No edit summary |
||
| Line 22: | Line 22: | ||
}} {{{qclass|}}}" style=" | }} {{{qclass|}}}" style=" | ||
{{{qstyle|}}}"><!-- | {{{qstyle|}}}"><!-- | ||
-->{{{text|{{{content|{{{quotetext|{{{ | -->{{{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}}} }}} }}} }} | ||
Latest revision as of 22:18, 6 February 2021
Template:Documentation<templatedata> { "params": { "align": { "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": {}, "quote": { "example": "\"Quote goes here\"", "required": true, "description": "The quote or other text to be displayed in the box." }, "author": { "description": "Optional name of the author. A [1] reference citation can be added at the end." }, "source": { "example": "-Wintersteel", "required": true, "description": "Optional source of the quote (\"Quoted\" or Italic work title, and other publication data). A [2] 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>