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
(Created page with "<blockquote class="toccolours" style="float:none; padding: 10px 15px 10px 15px;"> {{{1}}} {{#if:{{{2|<noinclude>x</noinclude>}}} |<p style="text-align: right;"> — {{{2}}}{{...")
 
mNo edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<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>
}}</blockquote>
}}</blockquote>
<!-- {{#if:{{{2}}}|<p style="text-align: right;"> — {{{2}}} }}
{{#if:{{{3}}}|, {{{3}}}, {{{4}}}</p>--></includeonly><noinclude>
Usage:
<blockquote class="toccolours><nowiki>{{quote|text|author|source|date and location}}</nowiki></blockquote>
Example:
<nowiki>{{quote|Quote goes here|Author|A book|Place, 2022}}</nowiki>
{{quote|Quote goes here|Author|A book|Place, 2022}}
Book title and date can be omitted:


<!-- {{#if:{{{2}}}|<p style="text-align: right;"> {{{2}}} }}
<nowiki>{{quote|Quote goes here|Author}}</nowiki>
{{#if:{{{3}}}|, {{{3}}}, {{{4}}}</p>-->
{{quote|Quote goes here|Author}}<templatedata>
{
"params": {
"1": {
"label": "Text",
"type": "string",
"required": true
},
"2": {
"label": "Author",
"type": "string",
"required": true
},
"3": {
"label": "Source",
"description": "Title of the book, article, or work in general where the quote can be found",
"type": "string",
"suggested": true
},
"4": {
"label": "Date, location and page",
"description": "Additional information, such as date, location and page related to the quote",
"type": "string",
"suggested": true
}
}
}
</templatedata></noinclude>

Latest revision as of 19:40, 12 November 2024

Usage:

{{quote|text|author|source|date and location}}

Example:

{{quote|Quote goes here|Author|A book|Place, 2022}}

Quote goes here

— Author, A book, Place, 2022


Book title and date can be omitted:

{{quote|Quote goes here|Author}}

Quote goes here

— Author

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Text1

no description

Stringrequired
Author2

no description

Stringrequired
Source3

Title of the book, article, or work in general where the quote can be found

Stringsuggested
Date, location and page4

Additional information, such as date, location and page related to the quote

Stringsuggested