Template:Quote hadith/doc

Usage
This:

gives this:

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

Another example:

gives this:

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

gives this:

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

gives this:

Combined example:

gives this:

Citations emitted by the above examples:

Citing sources
If you do use it, then a  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 no.

The side template 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.