Template:Quote-text: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
 
Line 1: Line 1:
<div class="indentedquotes">{{{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="indentedquotes">{{{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 indented quotations without a border",
"params": {
"1": {
"label": "Source",
"description": "You may include a source to appear beneath 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,
"deprecated": true,
"type": "string",
"default": "",
"example": ""
}
}
}
</templatedata>


This template was created so that there would be a standardized format for quoting text within the body of an article without any border or background colour. These quotes are indented left and right. See [[WikiIslam:Citing Sources]] for more information.
This template was created so that there would be a standardized format for quoting text within the body of an article without any border or background colour. These quotes are indented left and right. See [[WikiIslam:Citing Sources]] for more information. You may also provide a source that will be shown beneath the quote (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-text||}}</nowiki></tt>
Examples:
<tt><nowiki>{{Quote-text||Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki></tt>
Produces:
{{Quote-text||Let there be no compulsion in religion: Truth stands out clear from Error...}}
{{Quote-text||Let there be no compulsion in religion: Truth stands out clear from Error...}}
<tt><nowiki>{{Quote-text|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}</nowiki></tt>
Produces:
{{Quote-text|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}
{{Quote-text|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}



Latest revision as of 22:21, 29 December 2018

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
{{{1}}}, {{{3}}}

This template is used for indented quotations without a border

Template parameters

ParameterDescriptionTypeStatus
Source1

You may include a source to appear beneath the quote

Default
Example
Stringsuggested
Text2

The text you are quoting

Default
Example
Stringrequired
Source23

Additional source information (separated from Source by a comma)

Default
Example
Stringdeprecated

This template was created so that there would be a standardized format for quoting text within the body of an article without any border or background colour. These quotes are indented left and right. See WikiIslam:Citing Sources for more information. You may also provide a source that will be shown beneath the quote (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-text||}}

Examples:

{{Quote-text||Let there be no compulsion in religion: Truth stands out clear from Error...}}

Produces:

Let there be no compulsion in religion: Truth stands out clear from Error...

{{Quote-text|{{Quran|2|256}}|Let there be no compulsion in religion: Truth stands out clear from Error...}}

Produces:

Let there be no compulsion in religion: Truth stands out clear from Error...