More languages
More actions
mNo edit summary |
m (Added template data so the template can be understood through Visual Editor) |
||
Line 12: | Line 12: | ||
{{#if:{{{3}}}|, {{{3}}}, {{{4}}}</p>--></includeonly><noinclude> | {{#if:{{{3}}}|, {{{3}}}, {{{4}}}</p>--></includeonly><noinclude> | ||
Usage: | Usage: | ||
<blockquote class="toccolours><nowiki>{{quote|text|author|source}}</nowiki></blockquote> | <blockquote class="toccolours><nowiki>{{quote|text|author|source|date and location}}</nowiki></blockquote> | ||
Example: | Example: | ||
<nowiki>{{quote|Quote goes here|Author|A book}}</nowiki> | <nowiki>{{quote|Quote goes here|Author|A book|Place, 2022}}</nowiki> | ||
{{quote|Quote goes here|Author|A book}} | {{quote|Quote goes here|Author|A book|Place, 2022}} | ||
Book title can be omitted: | Book title and date can be omitted: | ||
<nowiki>{{quote|Quote goes here|Author}}</nowiki> | <nowiki>{{quote|Quote goes here|Author}}</nowiki> | ||
{{quote|Quote goes here|Author}}</noinclude> | {{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> |
Revision as of 17:20, 23 May 2022
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | no description | String | required |
Author | 2 | no description | String | required |
Source | 3 | Title of the book, article, or work in general where the quote can be found | String | suggested |
Date, location and page | 4 | Additional information, such as date, location and page related to the quote | String | suggested |