wiki:ShowWhenMacro

Show content When specified time range

Description

This is a macro that shows content during a specified time range. This is particularly useful for example for newsworthy items, announcements of team events or messages concerning system outages. For specific examples, see below.

(ja-JP) 指定した時間帯だけコンテンツを表示します。

A few examples of how to use this macro:

{{{
#!ShowWhen
|| 2012-01-04                || 2012-01-04T23:59:59       || [[Image(wiki:SandBox:yutori01.gif)]] Wednesday is Refresh-day. go home early!
|| 2012-07-13T00:00:00+09:00 || 2012-07-13T23:59:59+09:00 || [[Image(wiki:SandBox:birthday.gif)]] Happy Birthday, matobaa!
|| 2012-11-13T22:10:54Z      || 2012-11-13T22:14:56Z      || Look at the Moon! Total Eclipse!
}}}

Bugs/Feature Requests

Existing bugs and feature requests for ShowWhenMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out ShowWhenMacro from here using Subversion, or browse the source with Trac.

Installation

Download showwhen.py and place it in the plugins directory.

Recent Changes

Author/Contributors

Author: matobaa
Maintainer: matobaa
Contributors:

Last modified 8 years ago Last modified on Sep 22, 2016, 6:30:35 PM