• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:CiteHadith

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
Shortcut
  • {{hrefTemplate:Href}}

A Template to makes citations of the Hadiths, linking to pages of https://sunnah.com .


Contents

  • 1 Usage
    • 1.1 Hadith Collection Code
      • 1.1.1 Example
  • 2 See Also
  • 3 TemplateData

Usage

edit

This template is used to provide reference of Hadiths from Sahih al-Bukhari, Sahih Muslim, Sunan an-Nasa'i, Sunan Abi Dawud, Jamiʽ al-Tirmidhi , Sunan ibn Majah and Riyad as-Salihin.

Basic Code format: {{CiteHadith|HadithCollectionCode|HadithNumber}}

Advance Code format: {{CiteHadith|HadithCollectionCode|HadithNumber||s=y/ya|b=y/yl}}

Hadith Collection Code

edit
  • bukhari for Sahih al-Bukhari
  • muslim for Sahih Muslim
  • nasai for Sunan an-Nasa'i
  • abudawud for Sunan Abi Dawud
  • tirmidhi for Jamiʽ al-Tirmidhi
  • ibnmajah for Sunan ibn Majah
  • rsalihin for Riyad as-Salihin

Example

edit
  • {{href|bukhari|256}} Output: 256


  • {{href|bukhari|256|b=y}} Output: Sahih al-Bukhari 256


  • {{href|muslim|224a}} Output: 224a


  • {{href|abudawud|396|b=yl}} Output: Sunan Abi Dawud 396


  • {{href|tirmidhi|255|b=y|s=y}} Output: Jamiʽ al-Tirmidhi [255]


  • {{href|ibnmajah|256|b=yl|s=ya}} Output: [Sunan ibn Majah 256]


  • {{href|rsalihin|693|b=yl}} Output: Riyad as-Salihin 693

See Also

edit
  • {{CiteQuran Ayah}}
  • {{Cite Tafsir}}


TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:CiteHadith in articles based on its TemplateData.

TemplateData for CiteHadith

Cite Hadiths from sunnah.com. This Template will create a link of hadiths for references. This is '''CiteHadith''' Template.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Hadith Collection Code1

Enter Hadith Collection Code e.g. bukhari, muslim, nasai

Suggested values
bukhari muslim nasai abudawud tirmidhi ibnmajah rsalihin
Example
bukhari, muslim, nasai
Stringrequired
Hadith Number2

Enter Hadith Number e.g. 112, 56. For Sahih Muslim, which contain a, b, c section in a single hadith. Type 226a, 226a

Example
1023, 226a, or 378c
Stringrequired
Add Hadith Collection Name (Optional)b

It make the cite to begin with the Hadith Collection Name. Type ' y ' to add and begin with the Hadith Collection Name which show as 'Sahih al-Bukhari 225'. Type ' yl ' to add the Hadith Collection Name with link of these collections to it's Wikipedia page. Avoid use of yl , more than once in a single article as per MOS:REPEATLINK.

Suggested values
y yl
Example
y or yl
Stringsuggested
Superscript (Optional)s

It add cites in superscript style. To add, type ' y ' to superscript only reference number and type 'ya' to superscript all output.

Suggested values
y ya
Example
y or ya
Stringsuggested
In-book ReferenceIn-book In-book Reference

no description

Example
Book 78, Hadith 157
Linesuggested
The above documentation is transcluded from Template:CiteHadith/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:CiteHadith&oldid=1281166098"
Last edited on 18 March 2025, at 18:37

Languages

    • বাংলা
    • Bahasa Indonesia
    • Bahasa Melayu
    • Oʻzbekcha / ўзбекча
    • Português
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 18 March 2025, at 18:37 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop