Difference between revisions of "Template:Cquote"
From Conservapedia
(adding example code with parameters) |
(→Example: another example) |
||
Line 33: | Line 33: | ||
}} | }} | ||
− | ===Example=== | + | ===Examples=== |
+ | ====Example 1==== | ||
+ | For clarity, the following format can be used: | ||
+ | {{quotebox|<nowiki>{{Cquote</nowiki><br /> | ||
+ | <nowiki>|1=Quote goes here</nowiki><br /> | ||
+ | <nowiki>|2=20</nowiki><br /> | ||
+ | <nowiki>|4=origin</nowiki><br /> | ||
+ | <nowiki>|5=source</nowiki><br /> | ||
+ | <nowiki>|QuoteWidth=20</nowiki><br /> | ||
+ | <nowiki>|Width=20</nowiki><br /> | ||
+ | <nowiki>|Size=20 }}</nowiki>}} | ||
+ | |||
+ | |||
+ | ====Example 2==== | ||
+ | This can be shortened to the following form, since numbers are assumed: | ||
{{quotebox|<nowiki>{{Cquote</nowiki><br /> | {{quotebox|<nowiki>{{Cquote</nowiki><br /> | ||
<nowiki>|Quote goes here</nowiki><br /> | <nowiki>|Quote goes here</nowiki><br /> |
Revision as of 04:27, 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
Example 1
For clarity, the following format can be used:
{{Cquote
|1=Quote goes here
|Size=20 }}
|2=20
|4=origin
|5=source
|QuoteWidth=20
|Width=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.