Template:Cquotetxt

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
Please do not alter it unless you are certain to understand its setup and parser functions and are ready to repair/revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in either the template sandbox or your user space before applying 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

This template documentation is transcluded from Template:Cquotetxt/doc [edit]

Contents

[edit] Documentation

{{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.

[edit] Usage

{{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