Template:Motd description helper
This is a helper template for Template:Motd description. The main template is used hundreds of times on the main PotD/Motd setup pages - theoretically as many as 1800 times or so, though it depends on how many translations we actually get, so probably more like 400. As I (Adam Cuerden) understand it, a template has to be loaded in full every time it's called, but since the #ifeq tells the main template NOT to call this helper template on those pages, only the link to here gets loaded all those hundreds of times - and the link is, of course much smaller than all the actual content of this template.
Usage
{{Motd description helper |1= |2= |3= |4= |5= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | caption | empty | required | |
2 | language | Code of the language the caption is in | empty | required |
3 | year | Year of the MOTD date | empty | required |
4 | month | Month of the MOTD date, zero-padded | empty | required |
5 | day | Day of the MOTD date, zero-padded | empty | required |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: no user group specified
Example
{{Motd description helper|Example caption|en|2024|09|28}}
renders as:
This is the English translation of the Media of the day description page from 28 September 2024.
Descriptions in other languages:
Localization
العربية ∙ čeština ∙ dansk ∙ Deutsch ∙ English ∙ Esperanto ∙ español ∙ français ∙ magyar ∙ italiano ∙ 日本語 ∙ 한국어 ∙ македонски ∙ Plattdüütsch ∙ Nederlands ∙ polski ∙ português do Brasil ∙ русский ∙ slovenščina ∙ svenska ∙ 中文
This template makes use of {{Autotranslate}} and the translate extension.