Template:Quran: Difference between revisions

From WikiIslam, the online resource on Islam
Jump to navigation Jump to search
[checked revision][checked revision]
(using base url)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{esoteric}}</noinclude>[[Compendium of Muslim Texts|Qur'an]] [{{Compendium-of-muslim-texts-base-url}}/quran/verses/{{three digit|{{{1|1}}}}}-qmt.php#{{three digit|{{{1|1}}}}}.{{three digit|{{{2|1}}}}} {{{1|1}}}:{{{2|1}}}]<noinclude>{{documentation}}
<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>
 
 
;Usage
* <nowiki>{{</nowiki>Quran|2|102}}
produces:
* {{Quran|2|102}}


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

Latest revision as of 13:25, 20 December 2018

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

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: