Difference between revisions of "Cquote2"

From assela Pathirana
Jump to navigationJump to search
 
 
Line 11: Line 11:
{{!}} valign="top" {{!}}{{#if:{{{2|{{{personquoted|<noinclude>Origin</noinclude>}}}}}}|<div style="line-height:1em;text-align: right"><cite style="font-style:normal;">— {{{person|{{{2|{{{personquoted|}}}}}}}}}{{#if:{{{3|{{{quotesource|<noinclude>Source</noinclude>}}}}}}|, {{{3|{{{quotesource|}}}}}}}}</cite></div>}}}}
{{!}} valign="top" {{!}}{{#if:{{{2|{{{personquoted|<noinclude>Origin</noinclude>}}}}}}|<div style="line-height:1em;text-align: right"><cite style="font-style:normal;">— {{{person|{{{2|{{{personquoted|}}}}}}}}}{{#if:{{{3|{{{quotesource|<noinclude>Source</noinclude>}}}}}}|, {{{3|{{{quotesource|}}}}}}}}</cite></div>}}}}
|}<noinclude>
|}<noinclude>
Provides a centered, borderless quotation, with scalable, non-clickable graphic quotation marks, and optional attribution of the source of the quote.  Can be used with or without the names of the parameters.
See: [[wikipedia:Template:cquote2|Template:cquote2]] </noinclude>
 
'''Usage:''' 
* <code><nowiki>{{cquote|quotetext=text of the quote|personquoted=person quoted|quotesource=source of quote|quotewidth=##px|quoteheight=##px}}</nowiki><code>
* <code><nowiki>{{cquote|text of quote|person quoted|source of quote|##px|##px}}</nowiki><code>
* Only the first parameter is required.
[[category:Quotation templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:02, 6 September 2006

{{#if:|
Text of the quote
  {{#if:Origin|
— {{#if:Source|, }}
}}}}

See: Template:cquote2