Usage

edit

Displays the English Wikipedia's current picture of the day (POTD) in a box of no more than 600 pixels wide, with the blurb (explanatory text), for use on user pages. To always display the current day's POTD, use {{Pic of the day}}; to permanently feature a particular day's POTD, use {{Pic of the day|date=[date]}}, where the [date] parameter can be given in any valid format.

It is also possible to create your own custom POTD layouts, in case the already-existing versions will not look good within your user page design. Mix and match the following components to make your own. This system will only work for POTDs selected beginning January 1, 2007. Be sure to replace [date] with an appropriate date value. For a dynamically updating version, use {{#time:Y-m-d}} (example: {{POTD/{{#time:Y-m-d}}|image}}).

Template Description Renders as
{{POTD/[date]|image}} The name of the image, without the File: prefix Aerial image of Grand Prismatic Spring (view from the south).jpg
{{POTD/[date]|size}} The size of the image, without the trailing px 400
{{POTD/[date]|caption}} The image caption (blurb) Grand Prismatic Spring in Yellowstone National Park is the largest hot spring in the United States, and the third largest in the world. It is located in the Midway Geyser Basin. Grand Prismatic Spring was noted by geologists working in the Hayden Geological Survey of 1871, and named by them for its striking coloration. Its colors match most of those seen in the rainbow dispersion of white light by an optical prism: red, orange, yellow, green, and blue. The bright, vivid colors in the spring are the result of microbial mats around the edges of the mineral-rich water. The mats produce colors ranging from green to red; the amount of color in the microbial mats depends on the ratio of chlorophyll to carotenoids and on the temperature gradient in the runoff. In the summer, the mats tend to be orange and red, whereas in the winter the mats are usually dark green. The deep blue color of the water in the center of the pool results from the intrinsic blue color of water. The effect is strongest in the center of the spring, because of its sterility and depth. This aerial photo shows Grand Prismatic Spring from the south in August 2022.
{{POTD/[date]|title}} A link to the article the image represents Grand Prismatic Spring
{{POTD/[date]|texttitle}} A linkless short caption, also useful as an alt attribute Grand Prismatic Spring
{{POTD/[date]|credit}} The credit line of the image, including the genre (e.g. photograph, painting) Photograph credit: Carsten Steger

There are two additional predefined layouts:

  • {{POTD/{{#time:Y-m-d}}|column}}: This has the image and caption above each other with no borders. Used on some of the Main Page alternatives and also suitable for user pages.
  • {{POTD/{{#time:Y-m-d}}|row}}: This has the image and caption encapsulated in (usually) a single table row. This is the version used on the current Main Page.

It is also possible to permanently feature a POTD for a selected day. Just add a specific value for the date you want. For example, today's POTD is {{POTD/2024-09-13|image}}. Likewise, you can use date parameters with the other templates as well. If you like the pre-made formats, you can use date parameters there as well, like this: {{Pic of the day|date=2024-09-13}} or {{POTD|date=2024-09-13}}. Again, this system will only work for POTDs selected beginning January 1, 2007.

See also

edit