Template:Quran-range: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
mNo edit summary
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{esoteric}}</noinclude>[[Compendium of Muslim Texts|Qur'an]] [http://www.cmje.org/religious-texts/quran/verses/{{three digit|{{{1|1}}}}}-qmt.php#{{three digit|{{{1|1}}}}}.{{three digit|{{{2|1}}}}} {{{1|1}}}:{{{2|1}}}-{{{3|1}}}]<noinclude>
<noinclude>{{esoteric}}</noinclude>[https://quranx.com/{{{1|1}}}.{{{2|1}}}-{{{3|1}}} Quran {{{1|1}}}:{{{2|1}}}-{{{3|1}}}]<noinclude>
<templatedata>
{
"description": "This template is used to provide sources for Quran references to a range of verses. It will link to the specified verse range.",
"params": {
"1": {
"label": "Surah",
"description": "The number of the surah (chapter)",
"required": true,
"type": "number",
"default": "1",
"example": "2"
},
"2": {
"label": "From verse",
"description": "The first verse number within the range",
"required": true,
"type": "number",
"default": "1",
"example": "100"
},
"3": {
"label": "To verse",
"description": "The last verse number within the range",
"required": true,
"type": "number",
"default": "1",
"example": "101"
}
}
}
</templatedata>


This template is used to provide sources for Quran references from USC-MSA. See the [[template_talk:Quran|talk page]] for usage, examples and source codes.
;Usage
* <nowiki>{{</nowiki>Quran-range|2|100|101}}
produces:
* {{Quran-range|2|100|101}}


[[Category:Islamic text templates|Quran]]
[[Category:Islamic text templates|Quran]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:04, 7 January 2019

Error creating thumbnail: Unable to save thumbnail to destination
This template employs some extremely complicated and esoteric features of template syntax.

Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

Quran 1:1-1

This template is used to provide sources for Quran references to a range of verses. It will link to the specified verse range.

Template parameters

ParameterDescriptionTypeStatus
Surah1

The number of the surah (chapter)

Default
1
Example
2
Numberrequired
From verse2

The first verse number within the range

Default
1
Example
100
Numberrequired
To verse3

The last verse number within the range

Default
1
Example
101
Numberrequired
Usage
  • {{Quran-range|2|100|101}}

produces: