Template:Cite Quran: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>AA
m Update usage
meta>AA
Default expand to yes
Line 4: Line 4:
   | “{{{quote|ERROR: Quote Missing}}}”<sup><nowiki>[</nowiki>
   | “{{{quote|ERROR: Quote Missing}}}”<sup><nowiki>[</nowiki>
}}{{
}}{{
#if: {{{expand|}}}
#ifeq: {{lc: {{{expand|yes}}} }}
  | yes
   | [[Qur'an]]&nbsp;
   | [[Qur'an]]&nbsp;
   | {{#ifeq: {{lc: {{{style|sup}}} }} | ref | [[Qur'an]]&nbsp; }}
   | {{#ifeq: {{lc: {{{style|sup}}} }} | ref | [[Qur'an]]&nbsp; }}
}}[{{
}}<span class="plainlinks">[{{
#if: {{{2|}}}
#if: {{{2|}}}
   | {{ #switch: {{lc: {{{translator|y}}} }}  
   | {{ #switch: {{lc: {{{translator|y}}} }}  
Line 18: Line 19:
#if: {{{end|}}}
#if: {{{end|}}}
   |-{{{end}}}
   |-{{{end}}}
}}]{{
}}]</span>{{
#if: {{{2|}}}
#if: {{{2|}}}
   | {{ #switch: {{lc: {{{translator|y}}} }}  
   | {{ #switch: {{lc: {{{translator|y}}} }}  
Line 80: Line 81:
:* '''a''' (for [[Muhammad Asad|Asad]])
:* '''a''' (for [[Muhammad Asad|Asad]])
:* name of other translator
:* name of other translator
* '''expand'''
* '''expand=no'''
:* prepends link with "[[Qur'an]]"
:* does not prepend link with "[[Qur'an]]"
* '''style'''
* '''style'''
:* '''nosup''' to use non-superscript style
:* '''nosup''' to use non-superscript style
Line 92: Line 93:


'''Example 2'''
'''Example 2'''
<pre>{{cite quran|5|4|quote=quoted text|translator=a}}</pre>
<pre>{{cite quran|5|4|expand=no|quote=quoted text}}</pre>
{{cite quran|5|4|quote=quoted text|translator=a}}
{{cite quran|5|4|expand=no|quote=quoted text}}


'''Example 3'''
'''Example 3'''
Line 116: Line 117:


'''Example 10'''
'''Example 10'''
<pre>{{cite quran|5|4|end=7|style=nosup|expand=yes}} OR
<pre>{{cite quran|5|4|end=7|style=nosup}} OR
{{cite quran|5|4|end=7|style=ref}}</pre>
{{cite quran|5|4|end=7|style=ref}}</pre>
{{cite quran|5|4|end=7|style=nosup|expand=yes}}<br>
{{cite quran|5|4|end=7|style=nosup}}<br>
{{cite quran|5|4|end=7|style=ref}}
{{cite quran|5|4|end=7|style=ref}}



Revision as of 20:02, 8 May 2007

Template:Esoteric

Usage

{{cite quran|#1|#2
 | end=
 | translator=
 | style=
 | expand=
 | quote=
}}

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)
  • quote
  • the text of the quotation (this parameter is optional if style is used)

Optional Parameters

  • end
  • last ayah number being cited
  • translator
  • expand=no
  • does not prepend link with "Qur'an"
  • style
  • nosup to use non-superscript style
  • ref to use expanded form for citing as a reference (short form for style=nosup|expand=yes)

Examples

Example 1

{{cite quran|5|4|quote=quoted text}}

“quoted text”[Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4]

Example 2

{{cite quran|5|4|expand=no|quote=quoted text}}

“quoted text”[Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4]

Example 3

{{cite quran|5|4|end=7|quote=quoted text}}

“quoted text”[Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4-7]

Example 5

{{cite quran|5|4|translator=y|quote=quoted text}}

“quoted text”[Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4 (Yusuf Ali)]

Example 6

{{cite quran|5|4|end=7|translator=y|quote=quoted text}}

“quoted text”[Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4-7 (Pickthall)]

Example 8

{{cite quran|5|4|end=7|style=nosup|translator=p|quote=quoted text}}

Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4-7 (Translated by Pickthall). “quoted text”

Example 9

{{cite quran|5|4|end=7|style=nosup|translator=p}}

Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 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}}

Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4-7
Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4-7

Example 11

{{cite quran|5|4|end=7|style=ref|quote=quoted text}}

Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4-7. “quoted text”

Example 12

{{cite quran|5|4|end=7|style=ref|translator=s|quote=quoted text}}

Qur'an Template:Three digit.qmt.html#Template:Three digit.Template:Three digit 5:4-7 (Translated by Shakir). “quoted text”

Example 13

{{cite quran|5|4|end=7|style=ref|translator=a|quote=quoted text}}

Qur'an [[List of translations of the Qur'an|5:4-7](Translated by Asad). “quoted text”