Jump to content

Module:Infobox/dates/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Line 3: Line 3:


== Usage ==
== Usage ==
* {{Mlx|{{BASEPAGENAME}}|dates}} - formats the date range.

{{Mlx|{{BASEPAGENAME}}|start_end_date_template_validation}} - checks if the values of {{para|first_aired}} or {{para|released}} 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.
* {{Mlx|{{BASEPAGENAME}}|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 12:33, 28 June 2021

Usage