Template:Cquote: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
m (Text replacement - "float:right}}"" to "float:right}}" cellspacing="0"")
 
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| align="center" style="border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote"
{|class="cquote" {{#ifeq:{{{float|center}}}|center|align="center"|}} style="background:none;text-align:center;margin-bottom:5px;{{#ifeq:{{{float|}}}|left|float:left}}{{#ifeq:{{{float|}}}|right|float:right}}" cellspacing="0"
| width="20" valign="top" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|id="q-mark" style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:8px 10px 0"|''''''
|10px=20px
|id="text" valign="top" style="text-align:left;padding:4px 10px 0"|{{{1|Insert the text of the quote here, without quotation marks.}}}
|30px=60px
|id="q-mark" style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:8px 10px 0"|''''''
|40px=80px
{{#if:{{{cite|}}}|
|50px=100px
{{!}}-
|60px=120px
{{!}}colspan="3" style="font-size:smaller;text-align:right;padding:0 2px 0 0"{{!}}{{{cite}}}{{#if:{{{source|}}}|, {{{source}}}}}
|#default=35px}};font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;" | “
| 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|Origin}}}|<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|float=Position of the quote}}</nowiki></code><br/>
# <code><nowiki>{{cquote|quote text|quotewidth=40px|quoteheight=40px}}</nowiki></code> or <code><nowiki>{{cquote|quote text|40px|40px}}</nowiki></code>
Only the first parameter is required.
# <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.
[[Category:Templates]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 14:38, February 28, 2023

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|float=Position of the quote}}
Only the first parameter is required.