Difference between revisions of "Template:Cquote"

From Conservapedia
Jump to: navigation, search
m (Protected "Template:Cquote" ([Edit=Administrators only] (indefinite) [Move=Administrators only] (indefinite)))
 
(16 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Here is prolly a quote from some messed up conservative wacko. But since we know that conservatism comes from ignorance, there's no need to read it.
+
{{#if:{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{size|}}}{{{quotewidth|}}}{{{width|}}}||}}
 +
{| style="border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote"
 +
| width="20" valign="top" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
 +
|10px=20px
 +
|30px=60px
 +
|40px=80px
 +
|50px=100px
 +
|60px=120px
 +
|#default=35px}};font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;" | “
 +
| valign="top" style="padding:4px 10px;" | {{{1|Insert the text of the quote here, without quotation marks.}}}
 +
| width="20" valign="bottom" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
 +
|10px=20px
 +
|30px=60px
 +
|40px=80px
 +
|50px=100px
 +
|60px=120px
 +
|#default=36px}};font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:10px 10px;" | ”
 +
|-
 +
{{#if:{{{4|}}}{{{5|}}}|
 +
{{!}} colspan="3" style="padding-top: 10px" {{!}} {{#if:{{{4|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{{4}}}{{#if:{{{5|<noinclude>Source</noinclude>}}}|, {{{5}}}}}</cite></p>}}
 +
}}
 +
|}<noinclude>
 +
{{TemplateDoc|pages=Article pages|purpose=Quoting someone}}
 +
{{Parms|
 +
{{Parm|1|Text being quoted, without quotation marks|yes}}
 +
{{Parm|2|Width of quote marks? (CSS format)|no|Defaults to QuoteWidth parameter}}
 +
{{Parm|3|not used|no}}
 +
{{Parm|4|Origin|no}}
 +
{{Parm|5|Source|no}}
 +
{{Parm|QuoteWidth|Width of quote marks? (CSS format)|no|Defaults to Width parameter }}
 +
{{Parm|Width|Width of quote marks? (CSS format)|no|Defaults to 20px}}
 +
{{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 2:  Please see the discussion [[Conservapedia_talk:Manual_of_Style/Archive1#Quotes|here]] regarding this template.
 +
[[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.