Module:Infobox/dates/doc: Difference between revisions
Appearance
< Module:Infobox | dates
Content deleted Content added
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
== Usage == |
== Usage == |
||
* {{Mlx| |
* {{Mlx|infobox/dates|dates}} - formats the date range. |
||
* {{Mlx| |
* {{Mlx|infobox/dates|start_end_date_template_validation}} - checks if the values of {{para|first_aired}}, {{para|released}}, {{para|aired}}, {{para|released_date}} are not passed via {{tlx|Start date}} and if the value of {{para|last_aired}} is not passed via {{tlx|End date}} (or is not {{para|last_aired|present}}, where relevant). If they aren't, the function returns the default error category, [[:Category:Pages using infobox television with nonstandard dates]] or the error category from {{para|error_category}} if used. |
||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
Revision as of 13:57, 1 May 2023
![]() | This module depends on the following other modules: |
Usage
{{#invoke:infobox/dates|dates}}
- formats the date range.{{#invoke:infobox/dates|start_end_date_template_validation}}
- checks if the values of|first_aired=
,|released=
,|aired=
,|released_date=
are not passed via{{Start date}}
and if the value of|last_aired=
is not passed via{{End date}}
(or is not|last_aired=present
, where relevant). If they aren't, the function returns the default error category, Category:Pages using infobox television with nonstandard dates or the error category from|error_category=
if used.