Template:Quran: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
mNo edit summary |
Lightyears (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{esoteric}}</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> | |||
;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
This template is used to provide sources for Quran references. It will link to the specified verse, with 3 verses either side for context.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Surah | 1 | The number of the surah (chapter)
| Number | required |
Verse | 2 | The verse number within the surah
| Number | required |
- Usage
- {{Quran|2|102}}
produces: