Difference between revisions of "Template:Cquote"
Jump to navigation
Jump to search
m (Removed protection from "Template:Cquote": as requested) |
Conservative (talk | contribs) m (Protected "Template:Cquote" ([Edit=Administrators only] (indefinite) [Move=Administrators only] (indefinite))) |
||
| (7 intermediate revisions by 3 users not shown) | |||
| Line 32: | Line 32: | ||
{{Parm|Size|Width of quote marks? (CSS format)|no}} | {{Parm|Size|Width of quote marks? (CSS format)|no}} | ||
}} | }} | ||
| + | |||
| + | ===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==== | ||
| + | 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 /> | ||
| + | <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.''' | ||
| − | '''NOTE 2: Please see the discussion | + | '''NOTE 2: Please see the discussion [[Conservapedia_talk:Manual_of_Style/Archive1#Quotes|here]] regarding this template. |
| − | </noinclude> | + | [[Category:Quotation Templates]]</noinclude> |
Latest revision as of 04:34, December 30, 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.