Template:Cite quran

From Wikipedia, the free encyclopedia

This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.

[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 :
  • 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).

See Talk/Discussion page for further details, examples, discussion, etc.