Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.


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:

Template:Wikiportal:Main/OTD/April 16

Cookies help us deliver our services. By using our services, you agree to our use of cookies.