Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Quote: Difference between revisions

Template page
imported>Oracle9
No edit summary
imported>Oracle9
No edit summary
Line 1: Line 1:
{| align="center" style="border:solid 4px #888; padding:0.5em;"
{| style="background: transparent; border: none;"
| width="20px" valign="top" style="color:#b2b7f2; font-size:40pt; font-family:serif; font-weight:bold; text-align:left; padding:10px 10px;" | “
| valign="top" style="padding:4px 10px;" | Text of the quote
| width="20px" valign="top" style="color:#b2b7f2; font-size:40pt; font-family:serif; font-weight:bold; text-align:left; padding:10px 10px;" | ”
|-
|-
|
{{ #if: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }}
| colspan="2" valign="top" | <div style="line-height:1em;text-align: right"><cite style="font-style:normal;">— Person quoted</cite></div>
| class="dark_text_1" style="font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top; {{{style|}}}" |
|}
| {{#switch:{{{italic|yes}}}
|yes= ''{{{1}}}''
|no = {{{1}}}
}}
| class="dark_text_1" style="font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom; {{{style|}}}" | „
{{#if: {{{2|}}} |
{{!}}-
{{!}} <!-- empty cell -->
{{!}} style="text-align: right;" {{!}} {{small|~ '''{{{2}}}{{ #if: {{{3|}}} | &nbsp;on {{{3}}}}}'''}}
{{!}} <!-- empty cell to prevent potential rendering issues --> }}
|}<noinclude>{{Documentation}}</noinclude>
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:00, 3 March 2019

{{ #if: | | {{ #if: | rowspan="2" | }} [[File:{{{4}}}|64px]] }}
{{#switch:yes yes= {{{1}}} no = {{{1}}}

}}

{{#if: |

Template:Small }}

Description

To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up.

Syntax

{{Quote
 | quote   = 
 | speaker = 
 | source  = 
}}

As an alternative, these can be placed in positional order.

Samples

{{ #if: | | {{ #if: | rowspan="2" | }} [[File:{{{4}}}|64px]] }}
{{#switch:yes yes= {{{1}}} no = {{{1}}}

}}

{{#if: |

Template:Small }}
{{Quote
 | quote   = When you play the game of thrones, you win or you die.
 | speaker = [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]]
 | source  = w:c:gameofthrones:You Win or You Die
}}

or

{{Quote
 | When you play the game of thrones, you win or you die.
 | [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]]
 | w:c:gameofthrones:You Win or You Die
}}