Template:Quote: Difference between revisions

allowing a the displayed author to be different to the category (mainly for adding titles)
m (oopsiesy!)
(allowing a the displayed author to be different to the category (mainly for adding titles))
 
(25 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="margin:auto; border-collapse:collapse; border-style:none; background-color: transparent;" class="cquote"
{| max-width="80%" style="margin:auto; background: transparent; {{roundy|10px}} border: 0px solid #C4E673; padding:2px;"  
| width="20" valign="top" style="color:#B2B7F2;font-size:35px;font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:10px 10px;" |
|-
| valign="top" style="padding:4px 10px;" | {{{1|contents }}}
| colspan="2" width="100%" style="background: #E0F2B6; {{roundy|10px 10px {{#switch:{{{2|author}}}|author=10px|0px}} 10px}} border: 2px solid #a1c747; padding-top:5px; padding-bottom:10px; padding-left:5px; padding-right:5px;" | <span style="color:#705848; font-size:35px; font-family:'Times New Roman',serif; padding:10px 10px;">''''''</span> <span style="font-size:120%;">{{{1|quote}}}</span> <span style="color:#705848; font-size:35px; font-family:'Times New Roman',serif; padding:10px 10px;">'''”'''</span>
| width="20" valign="bottom" style="color:#B2B7F2;font-size:36px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:10px 10px;" |
|-
| text-align="right" | --{{{2|author}}}
|
|
{| max-width="40%" style="float:right; background: transparent; {{#switch:{{{2|author}}}|author=display:none|}}" cellspacing="0"
|-
| style="background: #E0F2B6; {{roundy|0px 0px 10px 10px}} border: 2px solid #a1c747; padding-left:5px;" | &nbsp; -- {{{3|{{{2|author}}}}}} &nbsp;
|}
|}
<noinclude>{| style="border: 1px solid #aa8; background-color:#fffff8; padding: 0.5em;" width="100%"
|}<noinclude>
|-
[[Category:Templates]]</noinclude>{{#switch:{{{cat|yes}}}|notatall=|no=<includeonly>
| [[Image:Wikipedia small logo.png]]
[[Category:Articles with quotes]]</includeonly>|<includeonly>
| width="99%" | This template is based on [[wp:Template:Lquote|Template:Lquote]] found at [[wp:Main_Page|Wikipedia]].  Different license agreements may apply.
[[Category:Articles with quotes]]
|}</noinclude><includeonly>[[Category:Articles with quotes]]</includeonly>
[[Category:Quotes from {{{cat|{{{2|unknown authors}}}}}}]]</includeonly>}}