Difference between revisions of "Template:Quran"

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
 
Line 1: Line 1:
<noinclude>{{esoteric}}</noinclude>[https://quranx.com/{{{1|1}}}.{{{2|1}}}?Context=3 Qur'an {{{1|1}}}:{{{2|1}}}]<noinclude>
+
<noinclude>{{esoteric}}</noinclude>[https://quranx.com/{{{1|1}}}.{{{2|1}}}?Context=3 Quran {{{1|1}}}:{{{2|1}}}]<noinclude>
 +
<templatedata>
 +
{
 +
"description": "This template is used to provide sources for Quran references. It will link to the specified verse, with 3 verses either side for context.",
 +
"params": {
 +
"1": {
 +
"label": "Surah",
 +
"description": "The number of the surah (chapter)",
 +
"required": true,
 +
"type": "number",
 +
"default": "1",
 +
"example": "2"
 +
},
 +
"2": {
 +
"label": "Verse",
 +
"description": "The verse number within the surah",
 +
"required": true,
 +
"type": "number",
 +
"default": "1",
 +
"example": "102"
 +
}
 +
}
 +
}
 +
</templatedata>
  
This template is used to provide sources for Qur'an references. It will link to the specified verse, with 3 verses either side for context.
 
  
 
;Usage
 
;Usage

Latest revision as of 13:25, 20 December 2018

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

This template is used to provide sources for Quran references. It will link to the specified verse, with 3 verses either side for context.

Template parameters

ParameterDescriptionTypeStatus
Surah1

The number of the surah (chapter)

Default
1
Example
2
Numberrequired
Verse2

The verse number within the surah

Default
1
Example
102
Numberrequired


Usage
  • {{Quran|2|102}}

produces: