Template:Cquotetxt

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

—Origin, Source

[edit] Template documentation


Contents

[edit] Usage

{{cquotetxt}} is a quotation template for placing a quotation (pullquote) within an article. Cquotetxt is text-based version of {{Cquote}}.

Traditional blockquotes should be set in the {{Quote}} template.

{{cquotetxt|Quote Text|Person|Cited source|color=silver|size=360%}}

[edit] Attributes

Parameters

quotetext 
Required
The main text content of the quote.
person 
Optional, but recommended
The original person who made the quote.
quotesource 
Optional, but recommended
The cited source of the quote.
color 
Optional
Default: Silver
Changes the color of the quotation marks.
size 
Optional
Default: 3.6em
Changes the size of quotation marks.

[edit] Examples

Code (Minimum):

{{Cquotetxt|{{Lorem ipsum}}}}

  • Only the first parameter is required

Result:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Code (Optimum):

{{Cquotetxt|{{Lorem ipsum}}|Person|''QuoteSource''}}

  • Three recommended parameters for the quote

Result:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

—Person, QuoteSource

Code (Maximum):

{{Cquotetxt|{{Lorem ipsum}}|''QuoteSource''|color=#B2B7F2|size=280%}}

  • three recommended paramters for the quote, plus style adjustments

Result:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

—Person, QuoteSource

[edit] See also

Direct variants:

view  talk  edit

Similar templates comparison: