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) |
m (Text replacement - "float:right}}"" to "float:right}}" cellspacing="0"") |
||
(15 intermediate revisions by 5 users not shown) | |||
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;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 | |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 | |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}}</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. | |||
[[Category:Templates]]</noinclude> | |||
[[Category:Templates |
Latest revision as of 13: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.