Template:Quote: Difference between revisions
mNo edit summary |
Trig Jegman (talk | contribs) mNo edit summary |
||
| (32 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{| | <includeonly> | ||
{{#switch: {{{style}}} | |||
| 2 = | |||
|- | <div style="position:relative; {{ #switch: {{{align}}} | ||
| left = margin: 0.5em 1.4em 0.8em 0; float: left; clear: left; | |||
| right = margin: 0.5em 0 0.8em 1.4em; float: right; clear: right; | |||
< | | center | ||
| #default = margin: 0.5em auto 0.8em;}} border:solid 1px #000000; border-radius:6px; width:70%; background-color:#{{{bgcolor|FFEEBD}}}; font-style:italic;"> | |||
<div style="padding:5px 5px 0; font-weight:bold;">Quote</div> | |||
{| style=" | <blockquote style="margin:0;"> | ||
| | <div style="padding:0 5px; text-align:center; color:#{{{color|000000}}};"> | ||
< | "{{{quote}}}" | ||
</div><!-- | |||
-->{{#if: {{{source|}}}| | |||
}}</ | <cite style="display:block; position:absolute; top:7px; right:5px; font-size:75%; color:#{{{color|000000}}}; font-style:normal;"><!-- | ||
-->{{{source}}} {{#if:{{{console|}}}| ({{{console}}}) }}<!-- | |||
[[Category:Templates | --></cite> | ||
}} | |||
</blockquote> | |||
</div> | |||
| 1 | |||
| #default = | |||
<div style="{{ #switch: {{{align}}} | |||
| left = margin-right: 1.4em; float: left; clear: left; | |||
| right = margin-left: 1.4em; float: right; clear: right; | |||
| center | |||
| #default = overflow:auto; text-align:center;}}"> | |||
<blockquote style="display:inline-block; margin:0.5em 0 0.8em; border:1px solid #aaa; border-radius:6px; font-size:90%; background:#{{{bgcolor|F9F9F9}}};"> | |||
<div style="margin:11px; text-align:left; color:#{{{color|000000}}};"> | |||
"{{{quote}}}" | |||
</div><!-- | |||
-->{{#if:{{{source|}}}| | |||
<cite style="display:block; margin:11px; text-align:right; color:#{{{color|000000}}}; font-style:inherit;"><!-- | |||
-->—{{{source}}} {{#if:{{{console|}}}| ({{{console}}}) }}<!-- | |||
--></cite> | |||
}} | |||
</blockquote> | |||
</div> | |||
}}</includeonly><noinclude> | |||
{{Quote/doc}} | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||