Template talk:Cite quran
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
{{Cite quran|#1|#2 | end= (e=) | translator= (t=) | tn= | style= (s=) | expand= (begin= , b=) | quote= (q=) }}
[edit] 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).
[edit] Optional Parameters
- end, or, e parameter :
-
- last ayah number being cited
- quote, or, q :
-
- the text of the quotation
- 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).
[edit] Examples
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 5 :
{{Cite quran|5|4|translator=y|q=quoted text}}
“quoted text”[Qur'an 5:4 (Translated by Yusuf Ali)]
Example 6 :
{{Cite quran|5|4|end=7|translator=p|q=quoted text}}
“quoted text”[Qur'an 5:4-7 (Translated by Pickthall)]
Example 8 :
{{Cite quran|5|4|end=7|style=nosup|t=p|q=quoted text}}
Qur'an 5:4-7 (Translated by Pickthall). “quoted text”
Example 9 :
{{Cite quran|5|4|end=7|style=ns|t=p}}
Qur'an 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}}
Qur'an 5:4-7 (Translated by Shakir). “quoted text”
Example 13 :
{{Cite quran|5|4|end=7|style=ref|t=a|q=quoted text}}
Qur'an 5:4-7 (Translated by Asad). “quoted text”
Example 14 :
{{Cite quran|5|4|e=7|s=ns|t=a|q=quoted text}}
Qur'an 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[Qur'an 5:4-7 (Yusuf Ali)]
[edit] Talk/Discussion
[edit] Change Al-Qur'an to Qur'an ?
A nice versatile template! The only thing I would change is 'Al-Qur'an to Qur'an'. MP (talk) 19:20, 29 April 2007 (UTC)
- A reasonable suggestion. Will change if no other comments received. → Aktar (talk • contribs) — 20:49, 29 April 2007 (UTC)
- There should be a template that does not contain the word Qu'ran but rather Surah, to be used in sentences like "the Quran refers to ... in surah x:y.", similar to the current example 10. Str1977 (talk) 19:39, 6 November 2007 (UTC)
-
- More flexible would be something analogous to {{bibleverse-nb}}, which gives the numbers and the link, without any word. It also for some reason suppresses the 'external link' glyph, which can make for a tidier page. Jheald 17:02, 8 November 2007 (UTC)
- This has been the consensus to-date in order to clarify that the quotation is from the Qur'an (which is more widely understood than Surah). Where the context requires it, you can specify "expand=no" to suppress the word "Qur'an". → AA (talk) — 17:40, 8 November 2007 (UTC)
-
- There should be a template that does not contain the word Qu'ran but rather Surah, to be used in sentences like "the Quran refers to ... in surah x:y.", similar to the current example 10. Str1977 (talk) 19:39, 6 November 2007 (UTC)
[edit] Upgraded Jan 22, 2008
Upgraded the template codes to use shorter form of parameter name, and their values name, like instead of using "expand=no", now "b=n" or "begin=no" can be also used. Also keeping backward compatibility for the previous functions/results. See the Optional Parameter paragrapgh above to see the new features. --Tarikash 23:56, 22 January 2008 (UTC).
Added one more feature, "tn" parameter to specify Translator's name without the beginning "Translated by" prepend words. Tarikash 04:34, 23 January 2008 (UTC).
[edit] Suggestion
How can one get rid of the square brackets surrounding the Qur'an and link when the template is used in superscript format - e.g. [Qur'an 23:5]. The square brackets do seem annoying and unnecessary. I think the template would look better without the square brackets. Thanks. MP (talk•contribs) 11:31, 26 March 2008 (UTC)