User:Rigel Kent/Cquote draft: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Rigel Kent (talk | contribs) (float and text align corrections) |
m (Text replacement - "\[\[Category:([^|]+)\|{{PAGENAME}}\]\]" to "Category:$1") |
||
(6 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
| #default = | | #default = | ||
<div style="overflow: hidden; min-width: 12em; text-align: center;"> | <div style="overflow: hidden; min-width: 12em; text-align: center;"> | ||
}} | }}<!-- | ||
--><blockquote class="cquote" style="display: inline-block; margin: 0; text-align: left;"><!-- | |||
--><div style="position: relative; padding: 0.5em 4em;"><!-- | |||
--><span style="position: absolute; top: 50%; left: 0.25em; margin-top: -0.4em; font: bold 35px TimesNewRoman, 'Times New Roman', Times, serif; color: {{{col|#bfbfff}}};"><!-- | --><span style="position: absolute; top: 50%; left: 0.25em; margin-top: -0.4em; font: bold 35px TimesNewRoman, 'Times New Roman', Times, serif; color: {{{col|#bfbfff}}};"><!-- | ||
-->“<!-- | -->“<!-- | ||
Line 16: | Line 16: | ||
--><span style="position: absolute; top: 50%; right: 0.25em; margin-top: -0.4em; font: bold 35px TimesNewRoman, 'Times New Roman', Times, serif; color: {{{col|#bfbfff}}};"><!-- | --><span style="position: absolute; top: 50%; right: 0.25em; margin-top: -0.4em; font: bold 35px TimesNewRoman, 'Times New Roman', Times, serif; color: {{{col|#bfbfff}}};"><!-- | ||
-->”<!-- | -->”<!-- | ||
--></span> | --></span><!-- | ||
--></div><!-- | |||
-->{{#if: {{{cite|}}} | | -->{{#if: {{{cite|}}} | | ||
<cite style="display: block; text-align: right; font-size: smaller; font-style: normal;"><!-- | <cite style="display: block; text-align: right; font-size: smaller; font-style: normal;"><!-- | ||
Line 25: | Line 25: | ||
}}<!-- | }}<!-- | ||
--></cite> | --></cite> | ||
}} | }}<!-- | ||
--></blockquote><!-- | |||
</div><noinclude> | --></div><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. | ||
Line 33: | Line 33: | ||
<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. | ||
[[Category:Templates | <!--[[Category:Templates]]--></noinclude> |