Template:WOTD/documentation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{documentation subpage}} | {{documentation subpage}} | ||
===Usage=== | ===Usage=== | ||
This template is used for creating the [[Project:Word of the day|Word of the Day]] that appears on the [[ | This template is used for creating the [[Project:Word of the day|Word of the Day]] that appears on the [[Main Page]], and for archiving such WOTDs at pages in the format "<code>Project:Word of the day/Archive/[''year'']/[''month'']</code>". | ||
===Sample template=== | ===Sample template=== | ||
Line 14: | Line 14: | ||
|- | |- | ||
| style="text-align:center;" |''1st parameter'' | | style="text-align:center;" |''1st parameter'' | ||
| '''mandatory''': The Word of the Day, which should be one of the [[lemma]]s (main entries) in | | '''mandatory''': The Word of the Day, which should be one of the [[lemma]]s (main entries) in The Languages of David J. Peterson. | ||
|- | |- | ||
| style="text-align:center;" |''2nd parameter'' | | style="text-align:center;" |''2nd parameter'' |
Revision as of 22:53, 26 April 2023
Usage
This template is used for creating the Word of the Day that appears on the Main Page, and for archiving such WOTDs at pages in the format "Project:Word of the day/Archive/[year]/[month]
".
Sample template
{{WOTD|[word]|[part of speech]|tl=|[Brief definition.]|comment=|[month]|[day]}}
Parameters
Parameter | Remarks | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1st parameter | mandatory: The Word of the Day, which should be one of the lemmas (main entries) in The Languages of David J. Peterson. | ||||||||||||||||||||||||
2nd parameter | mandatory: The part of speech of the word. It is suggested that you use the following abbreviations:
| ||||||||||||||||||||||||
link | By default, the template links to the top of the English section of an entry. To have the template link to a different heading, use this parameter to specify the heading name, like this: |link=Verb .
| ||||||||||||||||||||||||
term-label or tl to term-label6 or tl6 |
A label that applies to all the senses of an entry: see {{term-label}} for more information. Up to five labels can be added, like this: |tl=idiomatic|tl2=chiefly|tl3=US .
| ||||||||||||||||||||||||
3rd parameter | mandatory: The definition of the word. If the word has numerous definitions, choose some of them to highlight. You may wish to use "[...] " to indicate omissions. The number "1." will be automatically inserted before the first definition, but you will need to add "# " before second and subsequent definitions. Do not include any {{defdate}} , {{synonyms}} , or {{antonyms}} templates; usage examples; or quotations.
| ||||||||||||||||||||||||
4th and 5th parameters | mandatory: The 4th parameter should be the month spelled out (e.g., "January "), and the 5th parameter should be the day of the month indicated as a number with no leading zero (e.g., "1 ").
| ||||||||||||||||||||||||
6th parameter or comment |
A comment about the word; for example, the reason why the word was selected to be featured on a particular date. | ||||||||||||||||||||||||
audio | The name of an audio file indicating how the word is pronounced. The template will try to default to files in the following formats:
If these files do not exist, then no link to an audio file will be displayed, unless a filename is specified using the parameter like this: To suppress an audio file which exists, use |