Template:Quote: Difference between revisions

mNo edit summary
mNo edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>
See [[Template:Quote/doc]] for documentation on this template.
{{#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>
    <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}}}) }}<!--
    --></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;"><!--
      -->&mdash;{{{source}}} {{#if:{{{console|}}}| ({{{console}}}) }}<!--
    --></cite>
      }}
    </blockquote>
  </div>
}}</includeonly><noinclude>
{{Quote/doc}}
[[Category:Templates]]
</noinclude>
</noinclude>
<onlyinclude><includeonly>
{{ #switch: {{{style}}}
| 1 = {{{!}} cellspacing="4" cellpadding="4" style="border: 1px solid #aaa; font-size: 90%; padding: 4px; background: #f9f9f9;"
{{!}}-
{{!}} style="text-align:left;" {{!}} {{{quote}}} {{#if:{{{source}}}|<span style="text-align:right;">&mdash;{{{source}}}</span>}}
{{!}}}
| 2 = {{{!}} cellspacing="0" cellpadding="2" style="text-align:center; background-color:#FFEEBD; border: solid 1px #000000; width: 70%"
! style="text-align:left; font-weight:normal; padding-left:5px;" {{!}} '''''Quote'''''
{{#if: {{{source|}}} | :{{{source}}} }}
! style="text-align:right; font-weight:normal; font-size:75%;" {{!}} ({{{console}}})
{{!}}-
{{!}} style="padding-bottom:5px; font-weight:normal;" colspan="2" {{!}} ''"{{{quote}}}"''
{{!}}} }}
</includeonly></onlyinclude>