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