Module:Infobox/dates/doc: Difference between revisions
Appearance
< Module:Infobox | dates
Content deleted Content added
←Created page with '<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Lua|Module:Arguments}} ==...' |
|||
Line 4: | Line 4: | ||
== Usage == |
== Usage == |
||
{{Mlx|{{BASEPAGENAME}}|start_end_date_template_validation}} - checks if the values of {{para|first_aired}} |
{{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. |
||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
Revision as of 16:17, 12 November 2020
![]() | This module depends on the following other modules: |
Usage
{{#invoke:Infobox/dates|start_end_date_template_validation}}
- checks if the values of |first_aired=
or |released=
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.