Difference between revisions of "Template:Cquote"
Jump to navigation
Jump to search
(slight update) |
(adding example code with parameters) |
||
| Line 32: | Line 32: | ||
{{Parm|Size|Width of quote marks? (CSS format)|no}} | {{Parm|Size|Width of quote marks? (CSS format)|no}} | ||
}} | }} | ||
| + | |||
| + | ===Example=== | ||
| + | {{quotebox|<nowiki>{{Cquote</nowiki><br /> | ||
| + | <nowiki>|Quote goes here</nowiki><br /> | ||
| + | <nowiki>|20</nowiki><br /> | ||
| + | <nowiki>||origin</nowiki><br /> | ||
| + | <nowiki>|source</nowiki><br /> | ||
| + | <nowiki>|QuoteWidth=20</nowiki><br /> | ||
| + | <nowiki>|Width=20</nowiki><br /> | ||
| + | <nowiki>|Size=20</nowiki><br /> | ||
| + | <nowiki>}}</nowiki>}} | ||
| + | |||
'''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 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.''' | ||
Revision as of 04:24, 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 | |
Example
{{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.