Template:Quran: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
Lightyears (talk | contribs) (Updated for new Quranx context feature) |
Lightyears (talk | contribs) No edit summary |
||
(One intermediate revision by the same user 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 | ;Usage |
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: