Template:Cquote: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Blah...I was hoping that would just make a shorter blank space, but it obviously didn't.)
(holy crap this template was ridiculo stupid; totally scrapped it and simplified (would like to delete outright since it's that stupid but people apparently use it a lot))
Line 1: Line 1:
{| align="center" style="border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote"
<noinclude>{{DeprecationReason|Delete any size parameters, replace "quotecite" and "quotesource" with "cite" and "source"}}
| width="20" valign="top" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
</noinclude>{|class="cquote" align="center" style="background:none;text-align:center"
|10px=20px
|style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:10px 10px"|''''''
|30px=60px
|valign="top" style="text-align:left;padding:4px 10px"|{{{1|Insert the text of the quote here, without quotation marks.}}}
|40px=80px
|style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:10px 10px"|''''''{{#if:{{{quotewidth|}}}{{{quoteheight|}}}{{{quotecite|}}}{{{quotesource|}}}{{{5|}}}|{{!!}}{{Deprecated}}}}
|50px=100px
{{#if:{{{cite|}}}|
|60px=120px
{{!}}-
|#default=35px}};font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;" | “
{{!}}colspan="3" style="font-size:smaller;text-align:right"{{!}}—{{{cite}}}{{#if:{{{source|}}}|, {{{source}}}}}
| valign="top" style="padding:4px 10px;" | {{{1|Insert the text of the quote here, without quotation marks.}}}
| width="20" valign="bottom" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
|40px=80px
|50px=100px
|60px=120px
|#default=36px}};font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:10px 10px;" | ”
|-
{{#if:{{{4|}}}{{{5|}}}|
{{!}} colspan="3" style="padding-top: 10px" {{!}} {{#if:{{{4|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{{4}}}{{#if:{{{5|<noinclude>Source</noinclude>}}}|, {{{5}}}}}</cite></p>}}
}}{{#if:{{{quotecite|}}}{{{quotesource|}}}|
{{!}} colspan="3" style="padding-top: 10px" {{!}} {{#if:{{{quotecite|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{{quotecite}}}{{#if:{{{quotesource|<noinclude>Source</noinclude>}}}|, {{{quotesource}}}}}</cite></p>}}
}}
}}
|}<noinclude>
|}<noinclude>
'''<nowiki>{{Cquote}}</nowiki>''' is a template meant for pull-quotes, which stand apart from the text of a page.   
{{t|Cquote}} is a template meant for pull-quotes, which stand apart from the text of a page.   
 


==Usage==
==Usage==
# <code><nowiki>{{cquote|quote text}}</nowiki></code>
<code><nowiki>{{cquote|quote text|cite=Origin of quote|source=Cited source|col=Colour of quote marks}}</nowiki></code>
# <code><nowiki>{{cquote|quote text|quotewidth=40px|quoteheight=40px}}</nowiki></code> or <code><nowiki>{{cquote|quote text|40px|40px}}</nowiki></code>
# <code><nowiki>{{cquote|quote text|quote width in pixels|quote height in pixels|Origin of quote|Cited source}}</nowiki></code>
# <code><nowiki>{{cquote|quote text|quotecite=Origin of quote|quotesource=Cited source}}</nowiki></code>


Only the first parameter is required.
Only the first parameter is required.
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:34, May 21, 2013

Deprecated.png This template has a deprecated element. All uses of this template should be updated to conform to its new state before said element is removed.
The given undeprecation instructions are:
Delete any size parameters, replace "quotecite" and "quotesource" with "cite" and "source"
Insert the text of the quote here, without quotation marks.

{{Cquote}} is a template meant for pull-quotes, which stand apart from the text of a page.

Usage

{{cquote|quote text|cite=Origin of quote|source=Cited source|col=Colour of quote marks}}

Only the first parameter is required.