Jump to content

Template:Quote hadith/testcases

From Wikipedia, the free encyclopedia

Examples based on the documentation

[edit]

This:

{{Quote hadith/sandbox |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.


Another example:

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

gives this:

A hadith reports:[2]

One day, I was...


With Arabic:

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

gives this:

A hadith attributed to Someone reports:[3]

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:[4]

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

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

Citations emitted by the above examples:

  1. ^ abc
  2. ^ abc
  3. ^ abc
  4. ^ abc
  5. ^ lmnop
  6. ^ xyz