Difference between revisions of "Template:Quote"
[checked revision] | [checked revision] |
Lightyears (talk | contribs) m |
Lightyears (talk | contribs) |
||
Line 1: | Line 1: | ||
<div class="quotes">{{{2<noinclude>|{{Lorem}}</noinclude>}}}<br/> {{ #if: {{{1|<noinclude>x</noinclude>}}}|<div class="quotes_ref">{{{1}}}{{#if:{{{3|<noinclude>x</noinclude>}}}|, {{{3}}}}}</div> | {{#if: {{{3|<noinclude>x</noinclude>}}}|<div class="quotes_ref">{{{3}}} </div> }} }}</div><noinclude> | <div class="quotes">{{{2<noinclude>|{{Lorem}}</noinclude>}}}<br/> {{ #if: {{{1|<noinclude>x</noinclude>}}}|<div class="quotes_ref">{{{1}}}{{#if:{{{3|<noinclude>x</noinclude>}}}|, {{{3}}}}}</div> | {{#if: {{{3|<noinclude>x</noinclude>}}}|<div class="quotes_ref">{{{3}}} </div> }} }}</div><noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "description": "This template is used for quotations that appear in boxes", | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "Source", | ||
+ | "description": "Source for the quote", | ||
+ | "required": false, | ||
+ | "suggested": true, | ||
+ | "type": "string", | ||
+ | "default": "", | ||
+ | "example": "" | ||
+ | }, | ||
+ | "2": { | ||
+ | "label": "Text", | ||
+ | "description": "The text you are quoting", | ||
+ | "required": true, | ||
+ | "type": "string", | ||
+ | "default": "", | ||
+ | "example": "" | ||
+ | }, | ||
+ | "3": { | ||
+ | "label": "Source2", | ||
+ | "description": "Additional source information (separated from Source by a comma)", | ||
+ | "required": false, | ||
+ | "type": "string", | ||
+ | "default": "", | ||
+ | "example": "" | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
− | This template was created so that there would be a standardized format for quoting sources within a bordered text box. See [[WikiIslam:Citing Sources]] for more information. | + | This template was created so that there would be a standardized format for quoting sources within a bordered text box. See [[WikiIslam:Citing Sources]] for more information. You may also provide a source that will be shown in the bottom-right corner of the box (typically a template link to a Quran verse, or the name of the author and work and/or a reference to a footnote). |
+ | |||
+ | '''Usage:''' <tt><nowiki>{{Quote||}}</nowiki></tt> | ||
+ | |||
+ | Examples: | ||
+ | |||
+ | <tt><nowiki>{{Quote||Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki></tt> | ||
+ | |||
+ | Produces: | ||
{{Quote||Let there be no compulsion in religion: Truth stands out clear from Error...}} | {{Quote||Let there be no compulsion in religion: Truth stands out clear from Error...}} | ||
+ | |||
+ | <tt><nowiki>{{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki></tt> | ||
+ | |||
+ | Produces: | ||
{{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}} | {{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}} | ||
Revision as of 22:08, 29 December 2018
This template is used for quotations that appear in boxes
Parameter | Description | Type | Status | |
---|---|---|---|---|
Source | 1 | Source for the quote
| String | suggested |
Text | 2 | The text you are quoting
| String | required |
Source2 | 3 | Additional source information (separated from Source by a comma)
| String | optional |
This template was created so that there would be a standardized format for quoting sources within a bordered text box. See WikiIslam:Citing Sources for more information. You may also provide a source that will be shown in the bottom-right corner of the box (typically a template link to a Quran verse, or the name of the author and work and/or a reference to a footnote).
Usage: {{Quote||}}
Examples:
{{Quote||Let there be no compulsion in religion: Truth stands out clear from Error...}}
Produces:
{{Quote|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}
Produces: