Difference between revisions of "Template:Auto Edit/doc"

From blackwiki
Jump to navigation Jump to search
imported>TheTVExpert
imported>TheTVExpert
Line 20: Line 20:
 
which produces:
 
which produces:
 
<br>
 
<br>
{{Auto Edit|1=March 15, 2020|2=17:00|3=Yes|4=No}}
+
{{suppress categories|{{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=March 15, 2021|2=17:00|3=Yes|4=No}}

Revision as of 22:53, 15 March 2020

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.

Tracking categories