Template:Quote/Documentation: Difference between revisions

Template page
w:c:strategywiki>Notmyhandle
(copied parameters section from WP)
 
w:c:strategywiki>Notmyhandle
(examples)
Line 1: Line 1:
==Example==
<nowiki>{{quote|Quoted text here.}}</nowiki>
{{quote|Quoted text here.}}
<nowiki>{{quote|Quoted text here.|quoteheight=25px}}</nowiki>
{{quote|Quoted text here.|quoteheight=25px}}
==Parameters==
==Parameters==
*Parameter 1: text of the quote; use <nowiki><br /></nowiki> between paragraphs.  
*Parameter 1: text of the quote; use <nowiki><br /></nowiki> between paragraphs.  

Revision as of 11:17, 21 April 2007

Example

{{quote|Quoted text here.}}

Quoted text here.

{{quote|Quoted text here.|quoteheight=25px}}

Quoted text here.

Parameters

  • Parameter 1: text of the quote; use <br /> between paragraphs.
Required

If the quote text contains one or more "=" (equal signs), then the template must be called as {{quote|1=quote text}}.

The next two parameters can be used to scale the graphical quotation marks up and down to suit larger or smaller quotes.

  • Parameter 2: "quotewidth" - desired width of the quote image; defaults to 20px. (anything larger than 48px is not recommended.)
  • Parameter 3: "quoteheight" - desired height of the quote image; defaults to 20px.

The last two parameters can be used to provide attribution for the quote:

  • Parameter 4: Name of the person that wrote or spoke the text being quoted. Can include links.
  • Parameter 5: Source of the quote (publication title, speech, etc.). Can include links.