Template:Quote: Difference between revisions

mNo edit summary
mNo edit summary
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|cellspacing="0" cellpadding="2" style="text-align:center; background-color:#FFEEBD; border: solid 1px #000000; width: 70%"
<includeonly>
|-
{{#switch: {{{style}}}
! style="text-align:right; font-size:75%;" | ({{{Console}}})
| 2 =
|-
  <div style="position:relative; {{ #switch: {{{align}}}
! style="padding-bottom:5px; font-weight:normal;" |''"{{{Text}}}"''
  | 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;
<noinclude>
  | center
 
  | #default = margin: 0.5em auto 0.8em;}} border:solid 1px #000000; border-radius:6px; width:70%; background-color:#{{{bgcolor|FFEEBD}}}; font-style:italic;">
== Usage ==
    <div style="padding:5px 5px 0; font-weight:bold;">Quote</div>
{| style="float: left; background: transparent;"
    <blockquote style="margin:0;">
|  
      <div style="padding:0 5px; text-align:center; color:#{{{color|000000}}};">
<pre>{{Quote
          "{{{quote}}}"
| Console =
      </div><!--
| Text
  -->{{#if: {{{source|}}}|
}}</pre>
        <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|Quote]]
    --></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>