Template:Quote: Difference between revisions

allowing a the displayed author to be different to the category (mainly for adding titles)
(I hate the auto-center, since often quotes contain bulletted lists and this makes them hideous.)
(allowing a the displayed author to be different to the category (mainly for adding titles))
 
Line 7: Line 7:
{| max-width="40%" style="float:right; background: transparent; {{#switch:{{{2|author}}}|author=display:none|}}" cellspacing="0"
{| 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;" |   -- {{{2|author}}}  
| style="background: #E0F2B6; {{roundy|0px 0px 10px 10px}} border: 2px solid #a1c747; padding-left:5px;" |   -- {{{3|{{{2|author}}}}}}  
|}
|}
|}<noinclude>
|}<noinclude>