Difference between revisions of "Template:Cquote"
Jump to navigation
Jump to search
(→Example: another example) |
(→Examples: result) |
||
| Line 34: | Line 34: | ||
===Examples=== | ===Examples=== | ||
| + | The following two examples both have this result: | ||
| + | {{Cquote | ||
| + | |1=Quote goes here | ||
| + | |2=20 | ||
| + | |4=origin | ||
| + | |5=source | ||
| + | |QuoteWidth=20 | ||
| + | |Width=20 | ||
| + | |Size=20 }} | ||
====Example 1==== | ====Example 1==== | ||
For clarity, the following format can be used: | For clarity, the following format can be used: | ||
Revision as of 04:28, December 29, 2018
| “ | Insert the text of the quote here, without quotation marks. | ” |
| Template: Cquote | |
|---|---|
| Use on | Article pages |
| Use for | Quoting someone |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| 1 | Text being quoted, without quotation marks | yes | |
| 2 | Width of quote marks? (CSS format) | no | Defaults to QuoteWidth parameter |
| 3 | not used | no | |
| 4 | Origin | no | |
| 5 | Source | no | |
| QuoteWidth | Width of quote marks? (CSS format) | no | Defaults to Width parameter |
| Width | Width of quote marks? (CSS format) | no | Defaults to 20px |
| Size | Width of quote marks? (CSS format) | no | |
Examples
The following two examples both have this result:
| “ | Quote goes here | ” |
—origin, source | ||
Example 1
For clarity, the following format can be used:
{{Cquote
|1=Quote goes here
|2=20
|4=origin
|5=source
|QuoteWidth=20
|Width=20
|Size=20 }}
Example 2
This can be shortened to the following form, since numbers are assumed:
{{Cquote
|Quote goes here
|20
||origin
|source
|QuoteWidth=20
|Width=20
|Size=20
}}
NOTE 1: This is an attempt to document this template which was originally copied from Wikipedia. Parameters above appear to be correct, but please do not rely on this information yet.
NOTE 2: Please see the discussion here regarding this template.