Template:Quran-range: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{esoteric}}</noinclude>[https://quranx.com/{{{1|1}}}.{{{2|1}}}-{{{3|1}}} Qur'an {{{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>
This template is used to provide sources for Qur'an verse range references.
{
"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>


;Usage
;Usage

Latest revision as of 20:04, 7 January 2019

Information-icon.png 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: