Template:Quote: Difference between revisions

From Bulbanews, your community Pokémon newspaper.
Jump to navigationJump to search
No edit summary
(allowing a the displayed author to be different to the category (mainly for adding titles))
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| width="100%" style="background: #C4E673; {{roundy|10px}} border: 4px solid #E0F2B6"
{| max-width="80%" style="margin:auto; background: transparent; {{roundy|10px}} border: 0px solid #C4E673; padding:2px;"  
|-
|-
|
| 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="100%" style="background: #eea; {{roundy|10px}} border: 4px solid #eea"
|-
| align="center" |
{| class="cquote" width="100%" align="center" style="background: transparent"
|-
| width="100%" align="center" style="background: transparent" | <span style="color:#705848; font-size:35px; font-family:'Times New Roman',serif; padding:10px 10px;">'''“'''</span> <span style="font-size:16px;">{{{1|quote}}}</span> <span style="color:#705848; font-size:35px; font-family:'Times New Roman',serif; padding:10px 10px;">'''”'''</span>
|}
|}
|-
|-
|
|
|
{| max-width="40%" align="right" style="background: transparent"
{| max-width="40%" style="float:right; background: transparent; {{#switch:{{{2|author}}}|author=display:none|}}" cellspacing="0"
|-
|-
| align="center" style="background: #ffe; {{roundy|100px}}" | &nbsp; -- {{{2|author}}} &nbsp;
| style="background: #E0F2B6; {{roundy|0px 0px 10px 10px}} border: 2px solid #a1c747; padding-left:5px;" | &nbsp; -- {{{3|{{{2|author}}}}}} &nbsp;
|}
|}
|}<noinclude>
|}<noinclude>
[[Category:Templates]]</noinclude>{{#switch:{{{cat|yes}}}|yes=<includeonly>
[[Category:Templates]]</noinclude>{{#switch:{{{cat|yes}}}|notatall=|no=<includeonly>
[[Category:Articles with quotes]]</includeonly>|<includeonly>
[[Category:Articles with quotes]]
[[Category:Articles with quotes]]
[[Category:Quotes from {{{2}}}]]</includeonly>|no=<includeonly>
[[Category:Quotes from {{{cat|{{{2|unknown authors}}}}}}]]</includeonly>}}
[[Category:Articles with quotes]]</includeonly>|notatall=}}

Latest revision as of 12:46, 6 August 2014

quote
  -- author