Template:Cquote2

From Charas Project

(Difference between revisions)
Line 1: Line 1:
-
# {{cquote2|quotetext=text of the quote|personquoted=person quoted|quotesource=source of quote|quotewidth=##px|quoteheight=##px}}
+
{| align="center" style="border-collapse:collapse; border-style:none; background-color:transparent;"
 +
| width="20" valign="top" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{4|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
 +
|10px=20px
 +
|30px=60px
 +
|40px=80px
 +
|50px=100px
 +
|60px=120px
 +
|#default=40px}};font-family:serif;font-weight:bold;text-align:left;padding:10px 10px;" | “
 +
| valign="top" style="padding:4px 10px;" | {{{quote|{{{1|{{{quotetext|<noinclude>Text of the quote</noinclude>}}}}}}}}}
 +
| width="20" valign="bottom" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{4|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
 +
|10px=20px
 +
|30px=60px
 +
|40px=80px
 +
|50px=100px
 +
|60px=120px
 +
|#default=40px}};font-family:serif;font-weight:bold;text-align:right;padding:10px 10px;" | ”
 +
|-
 +
{{#if:{{{2|{{{personquoted|}}}}}}{{{3|{{{quotesource|}}}}}}|
 +
{{!}} &nbsp;
 +
{{!}} valign="top" {{!}}{{#if:{{{2|{{{personquoted|<noinclude>Origin</noinclude>}}}}}}|<div style="line-height:1em;text-align: right"><cite style="font-style:normal;">&mdash; {{{person|{{{2|{{{personquoted|}}}}}}}}}{{#if:{{{3|{{{quotesource|<noinclude>Source</noinclude>}}}}}}|, {{{3|{{{quotesource|}}}}}}}}</cite></div>}}}}
 +
|}<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.
 +
 
 +
'''Usage:''' 
 +
* <code><nowiki>{{cquote2|quotetext=text of the quote|personquoted=person quoted|quotesource=source of quote|quotewidth=##px|quoteheight=##px}}</nowiki><code>
 +
* <code><nowiki>{{cquote2|text of quote|person quoted|source of quote|##px|##px}}</nowiki><code>
 +
* Only the first parameter is required.
 +
 
 +
[[is:Snið:Cquote2]]
 +
[[ja:Template:Cquote2]]
 +
[[category:Quotation templates|{{PAGENAME}}]]</noinclude>

Revision as of 04:17, 16 January 2007

{{#if:| Template:!   Template:! valign="top" Template:!{{#if:Origin|
— {{#if:Source|, }}
}}}}
width="20" valign="top" style="color:#B2B7F2;font-size:{{#switch:20px 10px=20px 30px=60px 40px=80px 50px=100px 60px=120px Text of the quote width="20" valign="bottom" style="color:#B2B7F2;font-size:{{#switch:20px 10px=20px 30px=60px 40px=80px 50px=100px 60px=120px

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.

Usage:

  • {{cquote2|quotetext=text of the quote|personquoted=person quoted|quotesource=source of quote|quotewidth=##px|quoteheight=##px}}<code>
  • <code>{{cquote2|text of quote|person quoted|source of quote|##px|##px}}<code>
  • Only the first parameter is required.

is:Snið:Cquote2 ja:Template:Cquote2

Personal tools