Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2536f0449052e5c

Jump to content

Template:Quote hadith/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This:

{{Quote hadith |Ibn Abbas |text=One day, I was... |ref=<ref>abc</ref> |Sunni=as [[Sahih]] |SunniS=[[Sahih Muslim]] |Shia=as [[da'if]]}}

gives this:

A hadith attributed to Ibn Abbas reports:[1]

One day, I was...

Sunnis tend to view this as Sahih and have included it in Sahih Muslim.
Shi'as tend to view this as da'if.

All parameters are technically optional, except for the |text= parameter (which can also be given as |quote=, |content=, or |matn=).

The |ref= parameter is for the source of the hadith text (for additional sourcing, see below). Use <ref> markup around what you supply to the |ref= parameter: |ref=<ref>{{cite web | [details here...] }}</ref>


Another example:

{{Quote hadith |text=One day, I was... |ref=<ref>abc</ref>}}

gives this:

A hadith reports:[2]

One day, I was...


To provide citations specifically for the claims about Shia or Sunni treatment, use |ShiaRef= and |SunniRef=, respectively. They take the same format as |ref=, e.g.: |ShiaRef=<ref>{{cite web | [details here...] }}</ref>

{{Quote hadith |Ibn Abbas |text=One day, I was... |ref=<ref>abc</ref> |Sunni=as [[Sahih]] |SunniS=[[Sahih Muslim]] |SunniRef=<ref>lmnop</ref> |Shia=as [[da'if]] |ShiaRef=<ref>xyz}}

gives this:

A hadith attributed to Ibn Abbas reports:[3]

One day, I was...

Sunnis tend to view this as Sahih and have included it in Sahih Muslim.[4]
Shi'as tend to view this as da'if.[5]


There is also an |Arabic= or |ar= parameter, for the original Arabic text:

{{Quote hadith |Someone |text=The English text here |ref=<ref>abc</ref> |Arabic=أحاديث ضعيفة وموضوعة - إسلام ويب - مركز الفتوى}}

gives this:

A hadith attributed to Someone reports:[6]

The English text here
Arabic: أحاديث ضعيفة وموضوعة - إسلام ويب - مركز الفتوى


Combined example:

{{Quote hadith |Someone |text=The English text here |ref=<ref>abc</ref> |ar=أحاديث ضعيفة وموضوعة - إسلام ويب - مركز الفتوى |Sunni=as [[Sahih]] |SunniS=[[Sahih Muslim]] |SunniRef=<ref>lmnop</ref> |Shia=as [[da'if]] |ShiaRef=<ref>xyz</ref>}}

gives this:

A hadith attributed to Someone reports:[7]

The English text here
Arabic: أحاديث ضعيفة وموضوعة - إسلام ويب - مركز الفتوى

Sunnis tend to view this as Sahih and have included it in Sahih Muslim.[8]
Shi'as tend to view this as da'if.[9]


Citations emitted by the above examples:

  1. abc
  2. abc
  3. abc
  4. lmnop
  5. xyz
  6. abc
  7. abc
  8. lmnop
  9. xyz


Citing sources

[edit]

If you use the |ref= parameter, the <ref> markup is not optional.

If you do not use it, then a {{Citation needed}} tag will be emitted instead. If you've already provided a citation, e.g. because you're quoting several hadiths back-to-back, you can suppress that with |cn=no.

The side template {{Hadith USC}} can be used to supply online-accessible citations for some hadiths. As of 2019, the original site hosting them is defunct, so only those recoverable with Web.Archive.org are usable.

It is also best to provide citations for any claims made about the acceptance of this hadith by Sunni and Shia muslims, with the parameters for this (|SunniRef=, |ShiaRef=). Not doing so won't emit citation-needed tags, since the first source cited (in |ref=, for the hadith text itself) may also be a source for these claims.