Difference between revisions of "Template:Auto Edit/doc"
Jump to navigation
Jump to search
imported>TheTVExpert |
imported>Vanisaac m (→Tracking categories: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
Line 45: | Line 45: | ||
* {{Category link with count|Pages using Auto Edit unnecessarily|pages}} | * {{Category link with count|Pages using Auto Edit unnecessarily|pages}} | ||
− | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
− | </includeonly> | + | }}</includeonly> |
Latest revision as of 23:27, 23 April 2020
![]() | This is a documentation subpage for Template:Auto Edit. It contains usage information, categories and other content that is not part of the original template page. |
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 | Tracking category to use. (Make sure to include only the unlinked category name, not: "[[Category:category name]]") |
Tracking categories