Template:was wotd/documentation

Definition from Wiktionary, the free dictionary
Jump to: navigation, search
Edit-copy green.svg Documentation for Template:was wotd. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage[edit]

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 template should be placed near the top of an entry just under the first language section heading, like this:

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

Sample templates[edit]

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]}}

Occasionally, it may be necessary to add a second 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 date. In this case:

  • Parameter 4 is the year of the second date (e.g., 2016).
  • Parameter 5 is the month of the second date spelled in full (e.g., July).
  • Parameter 6 is the day of the month of the second date (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[edit]

Customization[edit]

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;
}