|
|
Line 68: |
Line 68: |
| | <nowiki>]</nowiki></sup> | | | <nowiki>]</nowiki></sup> |
| | {{#if:{{{quote|{{{q|}}}}}} | . “{{{quote|{{{q|ERROR: Quote Missing}}}}}}” }} | | | {{#if:{{{quote|{{{q|}}}}}} | . “{{{quote|{{{q|ERROR: Quote Missing}}}}}}” }} |
| }}</includeonly><noinclude> | | }}</includeonly><noinclude>{{pp-template|small=yes}} |
| {{esoteric}} | | {{documentation}} |
| ==Usage==
| |
| <pre>
| |
| {{Cite quran|#1|#2
| |
| | end= (e=)
| |
| | translator= (t=)
| |
| | tn=
| |
| | style= (s=)
| |
| | expand= (begin= , b=)
| |
| | quote= (q=)
| |
| }} | |
| </pre>
| |
| | |
| ==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
| |
| * '''translator''', or, '''t''' parameter can have below values ''':'''
| |
| :* '''y''' for ([[Qur'an translations|Translated]] by [[Abdullah Yusuf Ali|Yusuf Ali]])
| |
| :* '''p''' for ([[Qur'an translations|Translated]] by [[Marmaduke Pickthall|Pickthall]])
| |
| :* '''s''' for ([[Qur'an translations|Translated]] by [[Mohammed Habib Shakir|Shakir]])
| |
| :* '''a''' for ([[Qur'an translations|Translated]] by [[Muhammad Asad|Asad]])
| |
| :* name of other translator
| |
| * '''tn''' (translator name only) parameter can have below same values ''':'''
| |
| :* '''y''' for ([[Abdullah Yusuf Ali|Yusuf Ali]])
| |
| :* '''p''' for ([[Marmaduke Pickthall|Pickthall]])
| |
| :* '''s''' for ([[Mohammed Habib Shakir|Shakir]])
| |
| :* '''a''' for ([[Muhammad Asad|Asad]])
| |
| :* name of other translator
| |
| * '''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 <i>style=nosup|expand=yes</i>).
| |
| | |
| '''See''' [[Template_talk:Cite quran|'''Talk/Discussion''']] page for further details, examples, discussion, etc.
| |
| | |
| [[Category:Specific-source templates|Quran]]
| |
| [[Category:Islamic text templates|{{PAGENAME}}]]
| |
| </noinclude> | | </noinclude> |