Jump to content

Template:POTD row/doc

From Wikipedia, the free encyclopedia

A row style for WP:POTD templates.

Usage

[edit]

This template can be used to generate protected versions of the Picture of the day in the standard format needed for the Main page.

The easiest way to create the protected version of the POTD is to click the "create protected version" link on this month's archive page. This will create a new page preloaded with a template call to the non-protected version. Then replace the first line with {{subst:POTD row (note no closing braces) and save it. Please note that the non-protected version needs to be created before the protected version.

An alternate method is to cut and paste the code of the non-protected version and replace the first line with {{subst:POTD row (also note no closing braces) before saving it.

This template should always be substituted. As stated on Wikipedia:Picture of the day/Guidelines#Protected version, there are two versions: a protected version that appears on the Main Page, and a non-protected version for non-admins to make updates to the POTD caption. If this template is NOT substituted, various meta-templates used to generate POTDs will automatically be cascade-protected, and non-admins would not be able to create/edit recent and upcoming non-protected versions.

Parameters

[edit]
|image=
Filename in single image mode
|image1= and |image2=
Filenames in dual images mode
|thumb=
Override displayed thumbnail. Actual image will be linked in caption.
|caption=
Text describing the image or images.
|credit=
Attribution text shown beside the image or images.
|size= and |rowsize=
Control the size of the image, which determines the relative layout of the image and the blurb
|wide= and |tall=
Mutually exclusive optional boolean flags to use Template:Wide image or Template:Tall image.
|dir=
Scroll direction for wide images, see Template:Wide image.
|alttext=, |alttext1= and |alttext2= for dual mode (aliases |texttitle=, |texttitle1=, and |texttitle2=))
Alt text for the image
|imagelink= (|imagelink1= and |imagelink2= for dual mode)
Overrides linking to file pages.
|thumbtime= (|thumbtime1= and |thumbtime2= for dual mode)
See Wikipedia:Extended image syntax § Thumbtime in a gallery
|date=
Override default POTD date detection, which uses page name.

Example

[edit]
Today's POTD
Markup
{{POTD/{{#time:Y-m-d}}|row}}
Renders as
Earth

Earth is the third planet from the Sun and the only astronomical object known to harbor life. It is the densest planet in the Solar System and the largest and most massive of its four rocky planets. About 29 percent of Earth's surface is land, with the remaining 71 percent covered with water and much of Earth's polar regions covered in ice. Earth's interior is active with a solid-iron inner core, a liquid outer core that generates Earth's magnetic field, and a convective mantle that drives plate tectonics. Earth formed more than 4.5 billion years ago. Within the first billion years of Earth's history, life appeared in the oceans and began to affect Earth's atmosphere and surface. Since then, the combination of Earth's distance from the Sun, its physical properties and its geological history have allowed life to evolve and thrive, including more than 8 billion humans as of 2024. Earth is orbited by one permanent natural satellite, the Moon, which orbits Earth at a radius of 384,400 km (238,900 mi) and is roughly a quarter as wide as Earth. This photograph of Earth straddling the lunar horizon was taken in 2015 by NASA's Lunar Reconnaissance Orbiter while located 134 km (83 mi) above the crater Compton, visible in the foreground. To capture the image, the spacecraft had to be rolled 67 degrees to its side, and slewed with the direction of travel to maximize the width of the lunar horizon, while traveling more than 1600 m/s (3600 mph) relative to the surface.

Photograph credit: NASA / Goddard Space Flight Center / Arizona State University; edited by Bammesk

Recently featured:

See also

[edit]