Template:was wotd

From Wiktionary, the free dictionary
(Redirected from Template:was WOTD)
Jump to navigation Jump to search

Usage

This template is placed on the page of a former Wiktionary Word of the Day (WOTD) entry to indicate that it has already been, or will be, featured on the Main Page. This will ensure that the entry does not get renominated. The entry is automatically added to Category:Word of the day archive.

The template should be placed near the top of an entry just under the first language section heading, like this:

==English==
{{was wotd|2016|January|1}}

Sample templates

Most commonly used parameters
{{was wotd|[parameter 1]|[parameter 2]|[parameter 3]}}

All three parameters are mandatory.

  • Parameter 1 is the year (e.g., 2007).
  • Parameter 2 is the month spelled in full (e.g., January).
  • Parameter 3 is the day of the month (e.g., 5 or 24). If the day of the month has only one digit, do not add a "0" in front of it.
All available parameters
{{was wotd|[parameter 1]|[parameter 2]|[parameter 3]|[parameter 4]|[parameter 5]|[parameter 6]|[parameter 7]|[parameter 8]|[parameter 9]}}

Occasionally, it may be necessary to add a second or third date. For example, this may happen when one form of an entry with a particular etymology is featured on one date, and later on another form of the entry with a different etymology is featured on a second or third date. In this case:

  • Parameters 4 and 7 are the year of the second and third dates (e.g., 2016).
  • Parameters 5 and 8 are the month of the second and third dates spelled in full (e.g., July).
  • Parameters 6 and 9 are the day of the month of the second and third dates (e.g., 7 or 14). If the day of the month has only one digit, do not add a "0" in front of it.

The template currently does not test if the dates indicated are valid. However, if any parameters are missing, the template indicates "WOTD – date error".

Examples

  • {{was wotd|2006|January|10}}
  • {{was wotd|2006|January|10|2016|June|1}}
  • {{was wotd|2013|November|29|2014|April|30|2014|November|29}} (used in capacious)

Customization

If you prefer the older layout with this template fixed in the upper right, you can add the following to your skin.css file (the Vector one is also available at WT:PREFS)

  • Vector
.was-wotd {
	float:none !important;
	clear:none !important;
	position:absolute !important;
	top: -35px !important;
	right: 0px !important;
	margin:0 0 0 0 !important;
}
  • Monobook
.was-wotd {
	float:none !important;
	clear:none !important;
	position:absolute !important;
	top: 15px !important;
	right: 0px !important;
	margin:0 0 0 0 !important;
}