Template:Cite Quran
[Quran []]
Makes citations of the Quran, linking to pages under https://www.perseus.tufts.edu. Per WP:MOS citation guidelines, this template should be used ONLY within <ref> and </ref> tags in the body of an article.
Usage
<syntaxhighlight lang="wikitext"> [https://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A2002.02.0006%3Asura%3D#1%3Averse%3D
- 2 #1:
- 2–(e=)] (Translated by (t=)). "(q=)"
</syntaxhighlight>
Required parameters
- #1
- integer representing the number of the surah (this must be the first parameter).
- #2
- integer representing the ayah number (this must be the second parameter).
Optional parameters
- end, or, e parameter:
- last ayah number being cited
- quote, or, q:
- the text of the quotation. The template adds quotation marks, so don't use this if it is a block quotation (see MOS:BQ). Instead, put the template after the quotation without this parameter.
- translator, or, t parameter can have below values:
- y for (Translated by Yusuf Ali)
- p for (Translated by Pickthall)
- s for (Translated by Shakir)
- a for (Translated by Asad)
- name of other translator
- tn (translator name only) parameter can have below same values:
- expand=no, or, begin=no, or, b=no, or, b=n:
- does not prepend link with "Qur'an", alternatively begin=no, b=no can also be used. Instead of "no", "n" can also be used.
- style, or, s parameter can have below values:
- nosup, or, ns to use non-superscript style.
- ref, or, r to use expanded form for citing as a reference (short form for style=nosup|expand=yes).
- link=no
- Makes it so that the word "Quran" is not linked, but the word itself still appears, for compliance with MOS:REPEATLINK.
Examples
Example 1: <syntaxhighlight lang="wikitext">"quoted text"[Quran 5:4]</syntaxhighlight> "quoted text"[Quran 5:4]
Example 2: <syntaxhighlight lang="wikitext">"quoted text"[5:4]</syntaxhighlight> "quoted text"[5:4]
Example 3: <syntaxhighlight lang="wikitext">"quoted text"[Quran 5:4–7]</syntaxhighlight> "quoted text"[Quran 5:4–7]
Example 4: <syntaxhighlight lang="wikitext">"quoted text"[Quran 5:4–7]</syntaxhighlight> "quoted text"[Quran 5:4–7]
Example 5: <syntaxhighlight lang="wikitext">"quoted text"[Quran 5:4 (Translated by Yusuf Ali)]</syntaxhighlight> "quoted text"[Quran 5:4 (Translated by Yusuf Ali)]
Example 6: <syntaxhighlight lang="wikitext">"quoted text"[Quran 5:4–7 (Translated by Pickthall)]</syntaxhighlight> "quoted text"[Quran 5:4–7 (Translated by Pickthall)]
Example 8: <syntaxhighlight lang="wikitext">Quran 5:4–7 (Translated by Pickthall). "quoted text"</syntaxhighlight> Quran 5:4–7 (Translated by Pickthall). "quoted text"
Example 9: <syntaxhighlight lang="wikitext">Quran 5:4–7 (Translated by Pickthall)</syntaxhighlight> Quran 5:4–7 (Translated by Pickthall)
Example 10:
<syntaxhighlight lang="wikitext">Quran 5:4–7 OR
Quran 5:4–7</syntaxhighlight>
Quran 5:4–7
Quran 5:4–7
Example 11: <syntaxhighlight lang="wikitext">Quran 5:4–7. "quoted text"</syntaxhighlight> Quran 5:4–7. "quoted text"
Example 12: <syntaxhighlight lang="wikitext">Quran 5:4–7 (Translated by Shakir). "quoted text"</syntaxhighlight> Quran 5:4–7 (Translated by Shakir). "quoted text"
Example 13: <syntaxhighlight lang="wikitext">Quran 5:4–7 (Translated by Asad). "quoted text"</syntaxhighlight> Quran 5:4–7 (Translated by Asad). "quoted text"
Example 14: <syntaxhighlight lang="wikitext">Quran 5:4–7 (Translated by Asad). "quoted text"</syntaxhighlight> Quran 5:4–7 (Translated by Asad). "quoted text"
Example 15: <syntaxhighlight lang="wikitext">5:4–7</syntaxhighlight> 5:4–7
Example 16: <syntaxhighlight lang="wikitext">Quran 5:4–7 (Yusuf Ali)</syntaxhighlight> Quran 5:4–7 (Yusuf Ali)
Example 17: <syntaxhighlight lang="wikitext">Quran-Texts[Quran 5:4–7 (Yusuf Ali)]</syntaxhighlight> Quran-Texts[Quran 5:4–7 (Yusuf Ali)]
Example 18:
<syntaxhighlight lang="wikitext"></syntaxhighlight>
Example 19:
<syntaxhighlight lang="wikitext"></syntaxhighlight>quoted text
quoted text