Template:Quran ref: Difference between revisions
From ReformedWiki.org, the wiki for Reformed Christianity
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{#if:{{{chap|}}}| | {{#if:{{{chap|}}}| | ||
{{#if:{{{verses|}}}| | {{#if:{{{verses|}}}| | ||
{{#if:{{#pos:{{{verses}}}|,}}| | |||
[https://quran.com/{{{chap}}}/{{#explode:{{#explode:{{{verses}}}|,|0}}|-|0}} Quran {{{chap}}}:{{{verses}}}] | |||
| | | | ||
[https://quran.com/{{{chap}}}/{{{verses}}} Quran {{{chap}}}:{{{verses}}}] | |||
}} | }} | ||
|Quran}}</span></includeonly><noinclude> | | | ||
[https://quran.com/{{{chap}}} Quran {{{chap}}}] | |||
}} | |||
|Quran}} | |||
</span></includeonly><noinclude> | |||
The '''<nowiki>{{Quran ref}}</nowiki>''' template creates an external link to quran.com. | The '''<nowiki>{{Quran ref}}</nowiki>''' template creates an external link to quran.com. | ||
Revision as of 13:32, 12 April 2026
The {{Quran ref}} template creates an external link to quran.com.
Example input: {{Quran ref|chap=1|verses=1-2}}
Example output: Quran 1:1-2
