Difference between revisions of "Template:Quote Box"
Jump to navigation
Jump to search
Template documentation[create]
(Created page with "<div class="quotebox pullquote {{#switch: {{lc:{{{align|}}}}} | center = centered | left = floatleft | none = | floatright }} {{{class|}...") |
|||
| Line 30: | Line 30: | ||
}}" style="{{{sstyle|}}}"><!--Manually inserted dashes will need to be removed from uses of the template first, I guess, then enable this:--><!--— -->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->, }}}}{{{source|{{{3|}}}}}}</cite>}} | }}" style="{{{sstyle|}}}"><!--Manually inserted dashes will need to be removed from uses of the template first, I guess, then enable this:--><!--— -->{{{author|{{{2|}}}}}}{{#if:{{{author|}}}{{{2|}}}|{{#if:{{{source|}}}{{{3|}}}|<!--Display comma-space only if both cite parameters are present.-->, }}}}{{{source|{{{3|}}}}}}</cite>}} | ||
</div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using quote box with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Quote box]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | align | author | bgcolor | border | class | content | fontsize | halign | qalign | qclass | qstyle | quote | quoted | quotetext | salign | source | sstyle | style | tclass | text | title | title_bg | title_fnt | tstyle | width }}<noinclude> | </div>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using quote box with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Quote box]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | align | author | bgcolor | border | class | content | fontsize | halign | qalign | qclass | qstyle | quote | quoted | quotetext | salign | source | sstyle | style | tclass | text | title | title_bg | title_fnt | tstyle | width }}<noinclude> | ||
| − | {{Documentation}} | + | {{Documentation}}<templatedata> |
| + | { | ||
| + | "params": { | ||
| + | "1": {}, | ||
| + | "2": {}, | ||
| + | "3": {}, | ||
| + | "align": {}, | ||
| + | "class": {}, | ||
| + | "width": {}, | ||
| + | "border": {}, | ||
| + | "fontsize": {}, | ||
| + | "bgcolor": {}, | ||
| + | "style": {}, | ||
| + | "title": {}, | ||
| + | "tclass": {}, | ||
| + | "title_bg": {}, | ||
| + | "title_fnt": {}, | ||
| + | "tstyle": {}, | ||
| + | "quoted": {}, | ||
| + | "qalign": {}, | ||
| + | "halign": {}, | ||
| + | "qclass": {}, | ||
| + | "qstyle": {}, | ||
| + | "text": {}, | ||
| + | "content": {}, | ||
| + | "quotetext": {}, | ||
| + | "quote": {}, | ||
| + | "author": {}, | ||
| + | "source": {}, | ||
| + | "salign": {}, | ||
| + | "sstyle": {} | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
</noinclude> | </noinclude> | ||
Revision as of 21:41, 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 | |
|---|---|---|---|---|
| 1 | 1 | no description | Unknown | optional |
| 2 | 2 | no description | Unknown | optional |
| 3 | 3 | no description | Unknown | optional |
| Align | align | no description | Unknown | optional |
| Class | class | no description | Unknown | optional |
| Width | width | no description | Unknown | optional |
| Border | border | no description | Unknown | optional |
| Fontsize | fontsize | no description | Unknown | optional |
| Bgcolor | bgcolor | no description | Unknown | optional |
| Style | style | no description | Unknown | optional |
| Title | title | no description | Unknown | optional |
| Tclass | tclass | no description | Unknown | optional |
| Title_bg | title_bg | no description | Unknown | optional |
| Title_fnt | title_fnt | no description | Unknown | optional |
| Tstyle | tstyle | no description | Unknown | optional |
| Quoted | quoted | no description | Unknown | optional |
| Qalign | qalign | no description | Unknown | optional |
| Halign | halign | no description | Unknown | optional |
| Qclass | qclass | no description | Unknown | optional |
| Qstyle | qstyle | no description | Unknown | optional |
| Text | text | no description | Unknown | optional |
| Content | content | no description | Unknown | optional |
| Quotetext | quotetext | no description | Unknown | optional |
| Quote | quote | no description | Unknown | optional |
| Author | author | no description | Unknown | optional |
| Source | source | no description | Unknown | optional |
| Salign | salign | no description | Unknown | optional |
| Sstyle | sstyle | no description | Unknown | optional |