Permanently protected template

Template:POTD

From Deep web, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage

Displays the English Deep web's current picture of the day (POTD) in a box of no more than 600 pixels wide, without the blurb (explanatory text), for use on user pages. To always display the current day's POTD, use {{POTD}}; to permanently feature a particular day's POTD, use {{POTD|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 Civil Rights March on Washington, D.C. (Dr. Martin Luther King, Jr. and Mathew Ahmann in a crowd.) - NARA - 542015 - Restoration.jpg
{{POTD/[date]|size}} The size of the image, without the trailing px 500
{{POTD/[date]|caption}} The image caption (blurb) "I Have a Dream" is a public speech that was delivered by American civil rights activist Martin Luther King Jr. during the March on Washington for Jobs and Freedom on August 28, 1963, in which he called for civil and economic rights and an end to racism in the United States. Delivered to more than 250,000 civil rights supporters from the steps of the Lincoln Memorial in Washington, D.C., the speech was a defining moment of the civil rights movement and among the most iconic speeches in U.S. history. Beginning with a reference to the Emancipation Proclamation, which declared millions of slaves free in 1863, King said "one hundred years later, the Negro still is not free". Toward the end of the speech, King departed from his prepared text for a partly improvised peroration on the theme "I have a dream", prompted by Mahalia Jackson's cry: "Tell them about the dream, Martin!" In this part of the speech, which most excited the listeners and has now become its most famous, King described his dreams of freedom and equality arising from a land of slavery and hatred. The speech was ranked the top American speech of the 20th century in a 1999 poll of scholars of public address.

This photograph, taken by Rowland Scherman, features King and fellow civil rights activist Mathew Ahmann (with glasses) among a crowd of other protestors during the March on Washington.

{{POTD/[date]|title}} A link to the article the image represents "I Have a Dream"
{{POTD/[date]|texttitle}} A linkless short caption, also useful as an alt attribute "I Have a Dream"
{{POTD/[date]|credit}} The credit line of the image, including the genre (e.g. photograph, painting) Photograph credit: Rowland Scherman; restored by Adam Cuerden

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/2020-02-12|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=2020-02-12}} or {{POTD|date=2020-02-12}}. Again, this system will only work for POTDs selected beginning January 1, 2007.