Template:Show by/iso
Jump to navigation
Jump to search
This template should not be substituted. |
Usage
This template is designed to be used by the wrapper template {{subst:Show by}}. This will insert the {{Show by/iso}} template using an ISO 8601 formatted date and time.
{{Show by/iso|date/time|text before|text after|demo=}}
- Parameter 1 (
date/time
) is the date and/or time that the template should show thetext after
. Until that date and time, thetext before
is shown. Thedate/time
parameter can be in any format accepted by PHP's strtotime() function (see mw:Help:Extension:ParserFunctions#.23time for more information). - Parameter 2 (
text before
) is the text to be shown if the current date is before the date specified in the previous parameters; it may be left empty if only thetext after
needs to be displayed at the specified date - Parameter 3 (
text after
) is the text to be shown if the current date is on or after the date specified in the previous parameters; it may be left empty if only thetext before
needs to be displayed until the specified date - The demo parameter (
demo=
) can be used to test the template. Set to "before" to always showtext before
or "after" to always showtext after
.