Шаблон:Cite Quran: Разлика между версии

От УикиИслям
Направо към навигацията Направо към търсенето
[проверена версия][проверена версия]
Редакция без резюме
Редакция без резюме
Ред 6: Ред 6:
#ifeq: {{lc: {{{expand|yes}}} }}
#ifeq: {{lc: {{{expand|yes}}} }}
   | yes
   | yes
   | [[Compendium of Muslim Texts|Qur'an]] 
   | [[Compendium of Muslim Texts|Коран]] 
   | {{#ifeq: {{lc: {{{style|sup}}} }} | ref | [[Compendium of Muslim Texts|Коран]]  }}
   | {{#ifeq: {{lc: {{{style|sup}}} }} | ref | [[Compendium of Muslim Texts|Коран]]  }}
}}[{{
}}[{{
Ред 55: Ред 55:
{{esoteric}}
{{esoteric}}
;NOTE:
;NOTE:
Currently this template is not working correctly. Please use {{t1|Quran}} instead.
Currently this template is not working correctly. Please use {{t1|Коран}} instead.
==Usage==
==Usage==
<pre>
<pre>
Ред 84: Ред 84:
:* name of other translator
:* name of other translator
* '''expand=no'''
* '''expand=no'''
:* does not prepend link with "[[Qur'an]]"
:* does not prepend link with "[[Коран]]"
* '''style'''
* '''style'''
:* '''nosup''' to use non-superscript style
:* '''nosup''' to use non-superscript style

Версия от 21:27, 6 януари 2016

Грешка при създаване на миникартинка: Липсващ файл
This template employs some extremely complicated and esoteric features of template syntax.

Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.


NOTE

Currently this template is not working correctly. Please use Коран Коран: instead.

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)

Optional Parameters

  • end
  • last ayah number being cited
  • quote
  • the text of the quotation
  • translator
  • expand=no
  • 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”[Коран 5:4]

Example 2

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

“quoted text”[5:4]

Example 3

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

“quoted text”[Коран 5:4-7]

Example 5

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

“quoted text”[Коран 5:4 (Yusuf Ali)]

Example 6

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

“quoted text”[Коран 5:4-7 (Pickthall)]

Example 8

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

Коран 5:4-7 (Translated by Pickthall). “quoted text”

Example 9

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

Коран 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}}

Коран 5:4-7
Коран 5:4-7

Example 11

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

Коран 5:4-7. “quoted text”

Example 12

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

Коран 5:4-7 (Translated by Shakir). “quoted text”

Example 13

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

Коран 5:4-7 (Translated by Asad). “quoted text”