Template:Cquote: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Positioning works)
m (Text replacement - "float:right}}"" to "float:right}}" cellspacing="0"")
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|class="cquote" {{#ifeq:{{{float|center}}}|center|align="center"|}} style="background:none;text-align:center; {{#ifeq: {{{float|}}}|left|float:left;|}}{{#ifeq: {{{float|}}}|right|float:right;|}}"
{|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"
|style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:10px 10px"|'''“'''
|id="q-mark" style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:8px 10px 0"|'''“'''
|valign="top" style="text-align:left;padding:4px 10px"|{{{1|Insert the text of the quote here, without quotation marks.}}}
|id="text" valign="top" style="text-align:left;padding:4px 10px 0"|{{{1|Insert the text of the quote here, without quotation marks.}}}
|style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:10px 10px"|'''”'''
|id="q-mark" style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:8px 10px 0"|'''”'''
{{#if:{{{cite|}}}|
{{#if:{{{cite|}}}|
{{!}}-
{{!}}-
{{!}}colspan="3" style="font-size:smaller;text-align:right"{{!}}—{{{cite}}}{{#if:{{{source|}}}|, {{{source}}}}}
{{!}}colspan="3" style="font-size:smaller;text-align:right;padding:0 2px 0 0"{{!}}—{{{cite}}}{{#if:{{{source|}}}|, {{{source}}}}}
}}
}}
|}<noinclude>
|}<noinclude>
Line 11: Line 11:


==Usage==
==Usage==
<code><nowiki>{{cquote|quote text|cite=Origin of quote|source=Cited source|col=Colour of quote marks|float=Position of the quote}}</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/>
Only the first parameter is required.
Only the first parameter is required.
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates]]</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.