Template:Quote: Difference between revisions

From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
(Sorry, didn't see)
(allowing a the displayed author to be different to the category (mainly for adding titles))
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| style="margin:auto; border-collapse:collapse; border-style:none; background: transparent;" class="cquote"
{| max-width="80%" style="margin:auto; background: transparent; {{roundy|10px}} border: 0px solid #C4E673; padding:2px;"  
| align="left" width="20" valign="top" style="color:#705848; font-size:35px; font-family:'Times New Roman',serif; padding:10px 10px;" | '''“'''
|-
| valign="top" style="padding:4px 10px;" | {{{1|quote}}}
| 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>
| align="right" width="20" valign="bottom" style="color:#705848; font-size:36px; font-family:'Times New Roman',serif; padding:10px 10px;" | '''”'''
|-
|
|
{| 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;
|}
|}
{| style="background:transparent;" align="right"
|}<noinclude>
| -- {{{2|author}}}
[[Category:Templates]]</noinclude>{{#switch:{{{cat|yes}}}|notatall=|no=<includeonly>
|}<noinclude>{{-}}
[[Category:Articles with quotes]]</includeonly>|<includeonly>
{| align="center" style="border: 1px solid #aa8; background-color:#fffff8; padding: 0.5em; font-size:12px; -moz-border-radius: 30px;" width="42%"
|-
| [[Image:Wikipedia small logo.png|30px]]
| width="99%" | This template is based on [[wp:Template:Lquote|Template:Lquote]] found at [[wp:Main_Page|Wikipedia]].  <br>Different license agreements may apply.
|}[[Category:templates]]</noinclude>{{#switch:{{{cat|yes}}}|yes=<includeonly>
[[Category:Articles with quotes]]
[[Category:Articles with quotes]]
[[Category:{{{2}}} quote]]</includeonly>|no=<includeonly>
[[Category:Quotes from {{{cat|{{{2|unknown authors}}}}}}]]</includeonly>}}
[[Category:Articles with quotes]]</includeonly>}}

Latest revision as of 12:46, 6 August 2014

quote
  -- author