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

От УикиИслям
Направо към навигацията Направо към търсенето
[проверена версия][проверена версия]
Редакция без резюме
Редакция без резюме
 
(Не са показани 2 междинни версии от същия потребител)
Ред 1: Ред 1:
[[Муслим|Сахих Муслим]] [{{Compendium-of-muslim-texts-base-url}}/hadith/muslim/{{three digit|{{{1|1}}}}}-smt.php#{{three digit|{{{1|1}}}}}.{{Four digit|{{{2|1}}}}} {{{1|1}}}:{{{2|1}}}<small>(Англ.)</small>]<noinclude>
[[Муслим|Сахих Муслим]] - {{#if: {{{3|}}}  |
  {{ #switch: {{lc: {{{3|}}} }}
    | in-book = [https://quranx.com/Hadith/Muslim/In-Book/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}/ {{{1|1}}}:{{{2|1}}} (In-Book Ref)]
    | reference = [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{#expr:{{{2|1}}}}}/ {{{2|1}}} (Fuwad Abdul Baqi reference, Dar-us-Salam)]
    | [https://quranx.com/Hadith/Muslim/Reference/Hadith-{{#expr:{{{2|1}}}}}/ {{{2|1}}} (3rd parameter error)]
  }}|
  [https://quranx.com/Hadith/Muslim/USC-MSA/Book-{{#expr:{{{1|1}}}}}/Hadith-{{#expr:{{{2|1}}}}}{{{1|1}}}:{{{2|1}}}]
}}{{lang|en}}<noinclude>
<!--The noinclude tag must be right at the end of the template on the same line or you will get new lines after its use in some situations-->
<!--The <nowiki>{{#expr: }}</nowiki> function in the template is used to trim any leading zeros in the numbers.-->
<!--the old cmje links were constructed making use of the <nowiki>{{three digit|}}</nowiki> function)-->


<templatedata>
{
"description": "This template will create a link to the specified hadith in Sahih Muslim. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.",
"params": {
"1": {
"label": "Book number",
"description": "The Book number when using the USC-MSA or In-book reference system",
"required": false,
"suggested": true,
"type": "number",
"default": "1",
"example": "7"
},
"2": {
"label": "Hadith number",
"description": "The hadith number",
"required": true,
"type": "number",
"default": "1",
"example": "2650"
},
"3": {
"label": "Alternative reference system",
"description": "Enter reference when you are using the Dar-us-Salam circular bracket reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)",
"required": false,
"suggested": true,
"type": "string",
"default": "",
"example": "reference"
}
}
}
</templatedata>


This template is used to provide sources for references to the Hadith of Sahih Muslim from USC-MSA.
This template is used to provide sources for Sahih Muslim references from USC-MSA and other indexing conventions. It formerly produced links to the cmje website, which no longer works. We are currently using QuranX.com instead, which is able to handle USC-MSA, In-book, and Dar-us-Salam reference conventions.  


Note that all of Muslim is Sahih.<BR>
Note that all of Muslim is Sahih.<BR>
==Usage==
==Usage==
First Parameter is the Book Number.<BR>
First Parameter is the Book Number.<BR>
Second Parameter is the Verse Number.<BR>
Second Parameter is the Hadith Number.<BR>
To use the template type: <tt><nowiki>{{Muslim|###|###}}</nowiki></tt>
Third Parameter (optional) is used to indicate that you are using one of the alternative referencing systems: Dar-us-Salam or In-book (default is USC-MSA).
 
With the Dar-us-Salam Reference system, only a hadith number is specified, and is the same as in the Dar-us-Salam print edition. Please note that this is not the square bracket number in the Dar-us-Salam edition, but rather the round bracket number for the hadith in the same book, which was devised by the Islamic scholar Fuwad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited.
 
With the In-book system, the book number for a hadith is the same as in the Dar-us-Salam print edition, and the hadith number is a simple incremental index starting at 1 for the first hadith in each book.
 
 
To use this template with USC-MSA numbering:     <tt><nowiki>{{Muslim|#|#}}</nowiki></tt>
 
To use this template with Dar-us-Salam Reference numbering:    <tt><nowiki>{{Muslim||#|reference}}</nowiki></tt>  (note the empty first parameter)
 
To use this template with In-book numbering:    <tt><nowiki>{{Muslim|#|#|in-book}}</nowiki></tt>
 
 
 
;Example for hadiths using MSA-USC numbering:
:<nowiki>{{Muslim|7|2650}}</nowiki>
 
Produces:
:{{Muslim|7|2650}}
 
;Example for the same hadith using Dar-us-Salam Reference numbering:
:<nowiki>{{Muslim||1178|reference}}</nowiki>
 
Produces:
:{{Muslim||1178|reference}}
 
;Example for the same hadith using in-book numbering:
:<nowiki>{{Muslim|15|4|in-book}}</nowiki>
 
Produces:
:{{Muslim|15|4|in-book}}


[[Category:Муслим|Muslim-usc]]
[[Category:Islamic text templates|Muslim-usc]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Текуща версия към 16:06, 23 април 2020

Сахих Муслим - 1:1(англ.)

This template will create a link to the specified hadith in Sahih Muslim. Please visit its template page or read the Citing Sources page for instructions on its use with alternative hadith reference systems.

Параметри на шаблона

ПараметърОписаниеТипСтатут
Book number1

The Book number when using the USC-MSA or In-book reference system

По подразбиране
1
Пример
7
Числопредложен
Hadith number2

The hadith number

По подразбиране
1
Пример
2650
Числозадължителен
Alternative reference system3

Enter reference when you are using the Dar-us-Salam circular bracket reference system or in-book when using the In-book reference system (leave blank if using the USC-MSA reference system)

По подразбиране
Пример
reference
Низпредложен

This template is used to provide sources for Sahih Muslim references from USC-MSA and other indexing conventions. It formerly produced links to the cmje website, which no longer works. We are currently using QuranX.com instead, which is able to handle USC-MSA, In-book, and Dar-us-Salam reference conventions.

Note that all of Muslim is Sahih.

Usage

First Parameter is the Book Number.
Second Parameter is the Hadith Number.
Third Parameter (optional) is used to indicate that you are using one of the alternative referencing systems: Dar-us-Salam or In-book (default is USC-MSA).

With the Dar-us-Salam Reference system, only a hadith number is specified, and is the same as in the Dar-us-Salam print edition. Please note that this is not the square bracket number in the Dar-us-Salam edition, but rather the round bracket number for the hadith in the same book, which was devised by the Islamic scholar Fuwad Abdul Baqi. This is the number commonly used when a hadith in Sahih Muslim is cited.

With the In-book system, the book number for a hadith is the same as in the Dar-us-Salam print edition, and the hadith number is a simple incremental index starting at 1 for the first hadith in each book.


To use this template with USC-MSA numbering: {{Muslim|#|#}}

To use this template with Dar-us-Salam Reference numbering: {{Muslim||#|reference}} (note the empty first parameter)

To use this template with In-book numbering: {{Muslim|#|#|in-book}}


Example for hadiths using MSA-USC numbering
{{Muslim|7|2650}}

Produces:

Сахих Муслим - 7:2650(англ.)
Example for the same hadith using Dar-us-Salam Reference numbering
{{Muslim||1178|reference}}

Produces:

Сахих Муслим - 1178 (Fuwad Abdul Baqi reference, Dar-us-Salam)(англ.)
Example for the same hadith using in-book numbering
{{Muslim|15|4|in-book}}

Produces:

Сахих Муслим - 15:4 (In-Book Ref)(англ.)