Templat:Cite Quran
Halaman ini perlu diterjemahkan dari bahasa Inggris ke bahasa Indonesia. |
Templat ini menggunakan fitur sintaks templat yang rumit.
Anda seharusnya sudah memahami penyetelan dan fungsi parser sebelum menyunting templat ini. Jika suntingan Anda menyebabkan permasalahan yang tidak diinginkan, mohon untuk membaliknya secepatnya, karena templat ini mungkin muncul pada sejumlah besar halaman. Ingat bahwa semua percobaan dan perbaikan harus diuji terlebih dahulu di Bak pasir atau di ruang pengguna Anda sebelum mengubah sesuatu di sini. |
Ini adalah templat untuk membuat pranala ke Al-Qur'an online berbahasa Inggris dari situs http://www.usc.edu/dept/MSA/quran/
Penggunaan
{{cite quran|#1|#2 | end= | translator= | style= | expand= | quote= }}
Parameter yang diperlukan
- #1
- bilangan bulat yang mewakili nomor surat (parameter pertama)
- #2
- bilangan bulat yang mewakili nomor ayat (parameter kedua)
Prameter opsional
- end (akhir)
- nomor ayat terakhir yang dikutip
- quote (kutipan)
- the text of the quotation
- translator (penerjemah)
- 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)
Contoh
Contoh 1
{{cite quran|5|4|quote=quoted text}}
{{
- ifeq: sup
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if:
|-{{{end}}}
}}]{{
- if: 4
|
}}{{
- switch: sup
| nosup | ref= | #default=
}}{{
- if:
| {{{translator}}}
}}{{
- if:
| )
}}{{
- switch: sup
| nosup | ref=
}}{{
- ifeq: sup
| sup | ] | . “quoted text”
}}
Contoh 2
{{cite quran|5|4|expand=no|quote=quoted text}}
{{
- ifeq: sup
| sup | “quoted text”[
}}{{
- ifeq: no
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if:
|-{{{end}}}
}}]{{
- if: 4
|
}}{{
- switch: sup
| nosup | ref= | #default=
}}{{
- if:
| {{{translator}}}
}}{{
- if:
| )
}}{{
- switch: sup
| nosup | ref=
}}{{
- ifeq: sup
| sup | ] | . “quoted text”
}}
Contoh 3
{{cite quran|5|4|end=7|quote=quoted text}}
{{
- ifeq: sup
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: sup
| nosup | ref= | #default=
}}{{
- if:
| {{{translator}}}
}}{{
- if:
| )
}}{{
- switch: sup
| nosup | ref=
}}{{
- ifeq: sup
| sup | ] | . “quoted text”
}}
Contoh 4
{{cite quran|5|4|translator=y|quote=quoted text}}
{{
- ifeq: sup
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if:
|-{{{end}}}
}}]{{
- if: 4
|
}}{{
- switch: sup
| nosup | ref= (Diterjemahkan oleh | #default= (
}}{{
- if: y
| Yusuf Ali
}}{{
- if: y
| )
}}{{
- switch: sup
| nosup | ref=
}}{{
- ifeq: sup
| sup | ] | . “quoted text”
}}
Contoh 5
{{cite quran|5|4|end=7|translator=y|quote=quoted text}}
{{
- ifeq: sup
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: sup
| nosup | ref= (Diterjemahkan oleh | #default= (
}}{{
- if: p
| Pickthall
}}{{
- if: p
| )
}}{{
- switch: sup
| nosup | ref=
}}{{
- ifeq: sup
| sup | ] | . “quoted text”
}}
Contoh 6
{{cite quran|5|4|end=7|style=nosup|translator=p|quote=quoted text}}
{{
- ifeq: nosup
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: nosup
| nosup | ref= (Diterjemahkan oleh | #default= (
}}{{
- if: p
| Pickthall
}}{{
- if: p
| )
}}{{
- switch: nosup
| nosup | ref=
}}{{
- ifeq: nosup
| sup | ] | . “quoted text”
}}
Contoh 7
{{cite quran|5|4|end=7|style=nosup|translator=p}}
{{
- ifeq: nosup
| sup | [
}}{{
- ifeq: yes
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: nosup
| nosup | ref= (Diterjemahkan oleh | #default= (
}}{{
- if: p
| Pickthall
}}{{
- if: p
| )
}}{{
- switch: nosup
| nosup | ref=
}}{{
- ifeq: nosup
| sup | ] |
}}
Contoh 8
{{cite quran|5|4|end=7|style=nosup}} OR {{cite quran|5|4|end=7|style=ref}}
{{
- ifeq: nosup
| sup | [
}}{{
- ifeq: yes
| yes | Al-Qur'an |
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: nosup
| nosup | ref= | #default=
}}{{
- if:
| {{{translator}}}
}}{{
- if:
| )
}}{{
- switch: nosup
| nosup | ref=
}}{{
- ifeq: nosup
| sup | ] |
}}
{{
- ifeq: ref
| sup | [
}}{{
- ifeq: yes
| yes | Al-Qur'an | Al-Qur'an
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: ref
| nosup | ref= | #default=
}}{{
- if:
| {{{translator}}}
}}{{
- if:
| )
}}{{
- switch: ref
| nosup | ref=
}}{{
- ifeq: ref
| sup | ] |
}}
Contoh 9
{{cite quran|5|4|end=7|style=ref|quote=quoted text}}
{{
- ifeq: ref
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an | Al-Qur'an
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: ref
| nosup | ref= | #default=
}}{{
- if:
| {{{translator}}}
}}{{
- if:
| )
}}{{
- switch: ref
| nosup | ref=
}}{{
- ifeq: ref
| sup | ] | . “quoted text”
}}
Contoh 10
{{cite quran|5|4|end=7|style=ref|translator=s|quote=quoted text}}
{{
- ifeq: ref
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an | Al-Qur'an
}}[{{
- if: 4
| http://www.usc.edu/dept/MSA/quran/005.qmt.html#005.004 5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
|
}}{{
- switch: ref
| nosup | ref= (Diterjemahkan oleh | #default= (
}}{{
- if: s
| Shakir
}}{{
- if: s
| )
}}{{
- switch: ref
| nosup | ref=
}}{{
- ifeq: ref
| sup | ] | . “quoted text”
}}
Contoh 11
{{cite quran|5|4|end=7|style=ref|translator=a|quote=quoted text}}
{{
- ifeq: ref
| sup | “quoted text”[
}}{{
- ifeq: yes
| yes | Al-Qur'an | Al-Qur'an
}}[{{
- if: 4
| [Daftar terjemahan Al-Qur'an|5:4
}}{{
- if: 7
|-7
}}]{{
- if: 4
| ]
}}{{
- switch: ref
| nosup | ref= (Diterjemahkan oleh | #default= (
}}{{
- if: a
| Asad
}}{{
- if: a
| )
}}{{
- switch: ref
| nosup | ref=
}}{{
- ifeq: ref
| sup | ] | . “quoted text”
}}