Jump to content

Module:Infobox/dates/doc: Difference between revisions

From Wikipedia, the free encyclopedia
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}}, {{para|released}} and {{para|last_aired}} are passed via {{tlx|Start date}} and {{tlx|End date}} templates. 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}}.
{{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

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.