Template:Wikiportal/OTD
Template page
More actions
Template for displaying OTD on portal pages.
Supports 1 method of selecting articles:
- Daily rotation: Display a rotation of 366 articles based on day of the year.
Usage
{{Wikiportal/OTD
|mode =daily
|prefix =Wikiportal:Main/OTD
}}
The featured articles should all be subpages of a certain page (specified with prefix).
Parameters
Name of the template (without "Template:") which the featured articles are subpages of.
For example, if prefix is set to "Wikiportal:Datacron Database/OTD", the featured articles should be named:
- "Template:Wikiportal:Datacron Database/OTD/January 1" (up to "Template:Wikiportal:Datacron Database/OTD/December 31") for the daily rotation.
mode Determines type of rotation.
Available options:
- daily: 366-article-rotation based on day of the year.
Examples
Daily rotation (366 articles)
{{Wikiportal/OTD
|prefix =Wikiportal:Main/OTD
|mode =daily
}}
results in the following featured article to be displayed today: