Template:Hindu festival tithi/sandbox
Appearance
This is the template sandbox page for Template:Hindu festival tithi (diff). See also the companion subpage for test cases. |
Given a festival, returns the IAST encoding of the tithi of that festival from wikidata.
Usage
[edit]{{Hindu festival tithi
|festival=
|end
}}
Parameters
[edit]- festival
- an optional parameter that specifies the name of a festival. If present, this should exactly match the title of the wikipage of a festival. If this parameter is not specified, the wikidata item of the current page (where this template is transcluded) will be used.
- end
- an optional positional parameter that specifies if the end date of a multi-day festival is being requested.
Example
[edit]- {{Hindu festival tithi| Diwali }}
- {{Hindu festival tithi| Diwali | end }}