Template:Cquote: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(also gotta remove deprecation detector (don't blame you for not doing so) and old parameter hooks)
(Adding alignment, dummy quote (temporary))
Line 1: Line 1:
{|class="cquote" align="center" style="background:none;text-align:center"
{|class="cquote" {{#ifeq:{{{float|center}}}|center|align="center"|}} style="background:none;text-align:center; {{#ifeq: {{{float|}}}|left|float:left;|}}{{#ifeq: {{{float|}}}|right|float:right;|}}"
|style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:10px 10px"|'''“'''
|style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:10px 10px"|'''“'''
|valign="top" style="text-align:left;padding:4px 10px"|{{{1|Insert the text of the quote here, without quotation marks.}}}
|valign="top" style="text-align:left;padding:4px 10px"|{{{1|Insert the text of the quote here, without quotation marks.}}}
Line 11: Line 11:


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

Revision as of 14:00, November 8, 2015

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}}

hello
—hola, bonjour

Only the first parameter is required.