Template:Cquote: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(refactor for accessibility: blockquote instead of table / deprecated attribs) |
(Undid edit by 75.50.101.167: I understand what you're trying to do, but it broke the layout of every single page that uses this template.) |
||
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;|}}" | ||
| | |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.}}} | |||
| | |style="color:{{{col|#bfbfff}}};font-size:35px;font-family:Times New Roman,serif;padding:10px 10px"|'''”''' | ||
{{#if:{{{cite|}}}| | |||
| | {{!}}- | ||
{{!}}colspan="3" style="font-size:smaller;text-align:right"{{!}}—{{{cite}}}{{#if:{{{source|}}}|, {{{source}}}}} | |||
}} | }} | ||
|}<noinclude> | |||
{{t|Cquote}} 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. | ||
Revision as of 12:40, June 5, 2016
“ | 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.