Template:Quote: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px;">
<includeonly><blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px;">
{{{1}}}
{{{1}}}
{{#if:{{{2|<noinclude>x</noinclude>}}}
{{#if:{{{2|}}}
  |<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}}
  |<p style="text-align: right;"> — {{{2}}}{{#if:{{{3|<noinclude>x</noinclude>}}}
   |, ''{{{3}}}''
   |, ''{{{3}}}''
  }}{{#if:{{{4|<noinclude>x</noinclude>}}}
  }}{{#if:{{{4|}}}
   |, {{{4}}}
   |, {{{4}}}
  }}</p>
  }}</p>
Line 19: Line 19:


Book title can be omitted:
Book title can be omitted:
<nowiki>{{quote|Quote goes here|Author}}</nowiki>
<nowiki>{{quote|Quote goes here|Author}}</nowiki>
{{quote|Quote goes here|Author}}
{{quote|Quote goes here|Author}}

Revision as of 14:31, 2 January 2021

Usage:

{{quote|.. <text>..|<author>|<title of work>}}

Example:

{{quote|Quote goes here|Author|A book}}

Quote goes here

— Author, A book


Book title can be omitted:

{{quote|Quote goes here|Author}}

Quote goes here

— Author