Module:Wy/syl/Time/doc
This is the documentation page for Module:Wy/syl/Time
This module is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
Submodule edit
- Module:Wy/syl/Time/Params – contains a multidimensional array with all allowed parameters for each function/template and their default assignment..
Functions edit
The exact spelling of the parameters to be passed and their standard assignment can be viewed in the Module:Wy/syl/Time/Params submodule.
content_periodoftime
- outputs the textcontent
if the current date is within a defined period, otherwise the contents of arestd
output
Use in templates edit
- {{Inhalt pro Monat}} – Automatically changing content every month
- {{Inhalt pro Saison}} – Automatically changing content seasonally (summer and winter).
- {{Inhalt pro Jahreszeit}} – Content that changes automatically every season
- {{Inhalt pro Zeitraum}} – Outputs a text only over a certain period of a year. The edition is not fixed to a specific year.
- {{Quickbar image by season}} – Outputs a quickbar image depending on the season.
- Time templates in the style magic words: {{NEXTYEAR}}, {{NEXTMONTH}}, {{LASTYEAR}}, {{LASTMONTH}}, {{NEXTMONTHNAME}}, {{LASTMONTHNAME}}, {{NEXTMONTHY}}, {{NEXTMONTHYNAME}}