Difference between revisions of "Template:Delayednotice/doc"

From blackwiki
Jump to navigation Jump to search
imported>Yarnalgo
(update)
imported>Yarnalgo
(doc for "plain" parameter)
Line 8: Line 8:
  
 
Since the output is an {{tl|mbox}}, all the parameters of the {{tl|mbox}} template are accepted to modify the mbox (see its documentation for parameters).
 
Since the output is an {{tl|mbox}}, all the parameters of the {{tl|mbox}} template are accepted to modify the mbox (see its documentation for parameters).
 +
 +
An optional parameter <tt>plain</tt> exists so that if <tt>plain=yes</tt> the output will be plain text and not an mbox (see example).
  
 
The notice will '''not show up in your watchlist''' when it become active, so it's a good idea to place it on a high-visibility page that you or your audience usually frequent.
 
The notice will '''not show up in your watchlist''' when it become active, so it's a good idea to place it on a high-visibility page that you or your audience usually frequent.
  
===Example===
+
===Examples===
 
Placing the following on your talk page (or anywhere else)
 
Placing the following on your talk page (or anywhere else)
 
*{{xt|<nowiki>{{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.}}</nowiki>}}
 
*{{xt|<nowiki>{{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.}}</nowiki>}}
Line 17: Line 19:
 
{{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.}}
 
{{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.}}
  
 +
*{{xt|<nowiki>{{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.|plain=yes}}</nowiki>}}
 +
will produce (from 10 November 2007 and onwards)<br>
 +
{{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.|plain=yes}}
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
  
 
</includeonly>
 
</includeonly>

Revision as of 17:49, 20 August 2009

Usage

{{Delayednotice|YYYY|MM|DD|Message to be displayed on YYYY-MM-DD}}

Month names and abbreviations will also work. That is {{Delayednotice|2009|December|25|Merry Christmas!}} will work as well as {{Delayednotice|2009|Dec|25|Merry Christmas!}}.

Since the output is an {{mbox}}, all the parameters of the {{mbox}} template are accepted to modify the mbox (see its documentation for parameters).

An optional parameter plain exists so that if plain=yes the output will be plain text and not an mbox (see example).

The notice will not show up in your watchlist when it become active, so it's a good idea to place it on a high-visibility page that you or your audience usually frequent.

Examples

Placing the following on your talk page (or anywhere else)

  • {{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.}}

will produce (from 10 November 2007 and onwards)

  • {{Delayednotice|2007|11|10|Tomorrow is [[Veteran's Day]], and the article will be on the [[WP:SA|''On this day...'']] section. Remember to watch the page for higher levels of vandalism than usual.|plain=yes}}

will produce (from 10 November 2007 and onwards)
Tomorrow is Veteran's Day, and the article will be on the On this day... section. Remember to watch the page for higher levels of vandalism than usual.