Template:Auto Edit/doc

From blackwiki
< Template:Auto Edit
Revision as of 20:50, 19 March 2020 by imported>TheTVExpert (→‎Example)
Jump to navigation Jump to search

Usage

Use this template to show some text before a certain time, and after that time show something else.

Full Set of Blank Parameters

{{Auto Edit|1=|2=|3=|4=}}

Example

{{Auto Edit|1=March 15, 2020|2=17:00|3=Yes|4=No}}

{{Auto Edit|1=March 15, 2021|2=17:00|3=Yes|4=No}}

{{Auto Edit|1={{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}|2={{CURRENTTIME}}|3=Yes|4=No}}

which produces:

Expression error: Unrecognized punctuation character "[".

Expression error: Unrecognized punctuation character "[".

Expression error: Unrecognized punctuation character "[".

Parameters

Parameter Required? Usage
1 Yes The date. (In the form "Month Day, Year")
2 Yes The time in UTC. (In the form "HH:MM")
3 Yes What to show after the date passes.
4 Yes What to show until the date happens.
5 Template:Optional If used on a template, you can set a tracking category to use. (Make sure to include: "[[Category:category name]]")

Tracking categories