Template:Cite Quran/sandbox
[Quran []]
This is the template sandbox page for Template:Cite Quran (diff). See also the companion subpage for test cases. |
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
[edit]{{Cite Quran|#1|#2
| end= (e=)
| translator= (t=)
| tn=
| style= (s=)
| expand= (begin= , b=)
| quote= (q=)
}}
Required parameters
[edit]- #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
[edit]- 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
[edit]Example 1:
{{Cite Quran|5|4|quote=quoted text}}
Example 2:
{{Cite Quran|5|4|expand=no|quote=quoted text}}
"quoted text"[5:4]
Example 3:
{{Cite Quran|5|4|end=7|q=quoted text}}
Example 4:
{{Cite Quran|5|4|end=7|link=no|q=quoted text}}
"quoted text"[Quran 5:4–7]
Example 5:
{{Cite Quran|5|4|translator=y|q=quoted text}}
"quoted text"[Quran 5:4 (Translated by Yusuf Ali)]
Example 6:
{{Cite Quran|5|4|end=7|translator=p|q=quoted text}}
"quoted text"[Quran 5:4–7 (Translated by Pickthall)]
Example 8:
{{Cite Quran|5|4|end=7|style=nosup|t=p|q=quoted text}}
Quran 5:4–7 (Translated by Pickthall). "quoted text"
Example 9:
{{Cite Quran|5|4|end=7|style=ns|t=p}}
Quran 5:4–7 (Translated by Pickthall)
Example 10:
{{Cite Quran|5|4|end=7|style=nosup}} OR
{{Cite Quran|5|4|end=7|style=ref}}
Example 11:
{{Cite Quran|5|4|end=7|style=ref|quote=quoted text}}
Example 12:
{{Cite Quran|5|4|end=7|style=r|translator=s|q=quoted text}}
Quran 5:4–7 (Translated by Shakir). "quoted text"
Example 13:
{{Cite Quran|5|4|end=7|style=ref|t=a|q=quoted text}}
Quran 5:4–7 (Translated by Asad). "quoted text"
Example 14:
{{Cite Quran|5|4|e=7|s=ns|t=a|q=quoted text}}
Quran 5:4–7 (Translated by Asad). "quoted text"
Example 15:
{{Cite Quran|5|4|e=7|s=ns|b=n}}
Example 16:
{{Cite Quran|5|4|e=7|s=ns|tn=y}}
Example 17:
Quran-Texts{{Cite Quran|5|4|e=7|tn=y}}
Quran-Texts[Quran 5:4–7 (Yusuf Ali)]
Example 18:
{{quote|quoted text{{Cite Quran|5|4}}}}
Example 19:
{{quote|quoted text|{{Cite Quran|5|4|style=nosup}}}}
quoted text