Template:Quote: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
imported>Maintenance script-gpuser
(Automated Import)
 
(Undid everything)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| style="background:transparent"
<includeonly><blockquote style="border:solid thin #1C3C2C; float:none; padding: 10px 25px; display:table; font-style:italic;"> {{{1}}}
|-valign="top"
 
{{ #if: {{{4|}}} | {{!}} {{ #if: {{{2|}}} | style="padding-top: 1.6em;" rowspan="2" {{!}} }} [[File:{{{4}}}|64px]] }}
{{#if:{{{2|}}}
| style="color: #ff9900; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: top;" | “
|<p style="text-align: right;"> {{{2}}}{{#if:{{{3|}}}
| style="padding-top: 1.6em;" | <i>{{{1}}}</i>
  |, ''{{{3}}}''
| style="color: #ff9900; font-size: 3.3em; font-family: 'Times New Roman',serif; font-weight: bold; padding: 4px 2px 2px; width: 0.5em; vertical-align: bottom;" | „
}}{{#if:{{{4|}}}
{{#if: {{{2|}}} |  
  |, {{{4}}}
{{!}}-
}}</p>
{{!}} <!-- empty cell -->
}}</blockquote></includeonly><noinclude>
{{!}} style="text-align: right;" {{!}} <small>~ '''{{{2}}}{{ #if: {{{3|}}} | &nbsp;on {{{3}}}}}'''</small>
{{!}} <!-- empty cell to prevent potential rendering issues --> }}
|}</includeonly><noinclude>
{{doc}}
{{doc}}
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Latest revision as of 02:38, 16 June 2019

Template-info.png Documentation

This template is used to quote a person or source. The color of the quotes themselves should be changed to match the wiki skin color palette.

Usage

{{Quote|This is a quote.}} prints:

This is a quote.

{{Quote|This is a quote.|Author}} prints:

This is a quote.

— Author

{{Quote|This is a quote.|Author|subject}} prints:

This is a quote.

— Author, subject

{{Quote|This is a quote.|[[Main Page|Some guy]]|subject}} prints:

This is a quote.

Some guy, subject