Difference between revisions of "Template:Quote"

From WikiIslam, the online resource on Islam
Jump to: navigation, search
[checked revision][checked revision]
(styles for divs)
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="quotes">{{{2<noinclude>|&nbsp;&nbsp;{{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 style="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": "You may include a source for the quote to appear in the box",
 +
"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 way of quoting sources.<BR>
+
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).
  
Please visit [[WikiIslam:Standardization#Quotes]] to learn how to use this template.
 
  
{{Quote|Mohammed said|Christians and Jews are Blah Blah Blah...|See also Quran...}}
+
'''Usage:''' <tt><nowiki>{{Quote||}}</nowiki></tt>
{{Quote|Abu said|Mohammed is the greatest ...|See also Bukhari ...}}
+
 
{{Quote|{{Quran|3|43}}|Hell fire this, Hell fire that...}}
+
Examples:
{{Quote||And so said the man with no head...}}
+
 
 +
<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...}}
 +
 
 +
<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...}}
  
 
[[Category:Quotation templates|{{PAGENAME}}]]
 
[[Category:Quotation templates|{{PAGENAME}}]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 22:17, 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 quotations that appear in boxes

Template parameters

ParameterDescriptionTypeStatus
Source1

You may include a source for the quote to appear in the box

Default
Example
Auto value
empty
Stringsuggested
Text2

The text you are quoting

Default
Example
Auto value
empty
Stringrequired
Source23

Additional source information (separated from Source by a comma)

Default
Example
Auto value
empty
Stringdeprecated

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:

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...}}

Produces:

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