Template:Administrator election schedule/date range/display/doc
![]() | This is a documentation subpage for Template:Administrator election schedule/date range/display. It may contain usage information, categories and other content that is not part of the original template page. |
Accepts two date parameters and displays them as a range from midnight on the first date to 23:59 on the day preceding the second date. It is used as a helper template for {{Administrator election schedule/date range}}.
Usage
edit{{Administrator election schedule/date range/display|start date|end date}}
{{Administrator election schedule/date range/display|start date|end date|prefix_start=prefix for start date}}
{{Administrator election schedule/date range/display|start date|end date|prefix_end=prefix for end date}}
Examples
edit{{Administrator election schedule/date range/display|1 July 2025|2 July 2025}}
{{Administrator election schedule/date range/display|July 2, 2025|July 4, 2025}}
{{Administrator election schedule/date range/display|5 July 2025|7 July 2025|prefix_start=starting|prefix_end=around}}
Tuesday 00:00, 01 July 2025 – Tuesday 23:59, 01 July 2025
Wednesday 00:00, 02 July 2025 – Thursday 23:59, 03 July 2025
starting Saturday 00:00, 05 July 2025 – around Sunday 23:59, 06 July 2025
Template Data
editTemplateData for Administrator election schedule/date range/display
Display first and second parameters as a date range from midnight on the first date to 23:59 on the day preceding the second date.
Parameter | Description | Type | Status | |
---|---|---|---|---|
start date | 1 | start date | String | required |
end date | 2 | end date | String | required |
prefix for start date | prefix_start | text displayed before the start date | String | optional |
prefix for end date | prefix_end | text displayed before the end date | String | optional |