Template:Cquote: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Forgot to add br tag after the "how to use" section.)
(Smaller syntax for floating)
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="float:{{{float}}};}}{{#ifeq: {{{float|center}}}|center|style="|}}background:none;text-align:center"
|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 13: Line 13:
<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|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.
{{cquote|text|cite=text|float=left}}
[[Category:Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 07:53, November 9, 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}}
Only the first parameter is required.

text
—text