![]() | This is the template test cases page for the sandbox of Template:Quote hadith. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Examples based on the documentation
editThis:
{{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]
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:
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]
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]
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: