Template:POTD/Day
September 4
![]() |
John Milton Brannan (1819–1892) was a career United States Army artillery officer who served in the Mexican–American War and as a Union Army brigadier general of volunteers in the American Civil War. He was in command of the Department of Key West in Florida and assigned to Fort Zachary Taylor. Most notably, Brannan served as a division commander of the Union XIV Corps at the Battle of Chickamauga in 1863. This photograph of Brannan was produced by the studio of the American photographer Mathew Brady circa the 1860s. Photograph credit: studio of Mathew Brady; restored by Adam Cuerden
Recently featured:
|
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template is used to exhibit selections for the English Wikipedia's picture of the day (POTD), predominantly in the POTD archives, but also through the notification templates {{UpcomingPOTD}} (for article talk pages) and {{NotifyPOTD}} (for user talk pages). The template draws information from the subpages for each day's POTD (e.g. Template:POTD/2024-09-04) and formats it in one of a few possible layouts, with a header and a footer that may be included or omitted as desired. Empty POTDs (i.e. dates yet to be scheduled with a selected featured picture) display {{POTDempty}}.
Parameters
{{POTD/Day | YYYY-MM-DD | layout [|excludeheader=yes] [|excludefooter=yes] [|excludesub=yes] }}
- First unnamed parameter: the date of the POTD to be displayed. Any date format is acceptable, but
YYYY-MM-DD
is conventional in POTD. If unspecified or left blank, today's date (2024-09-04
) is used by default. - Second unnamed parameter: the layout in which the POTD is to be displayed. A list of possible values for this parameter can be found at Category:POTD layout templates, in each case omitting the initial "POTD" in the name of each template (e.g.
condensed
for {{POTD condensed}}). If unspecified or left blank,archive
is used by default, which calls {{POTD archive}}. This layout adapts the arrangement used on the Main Page slightly to make it more amenable for archive display. (The Main Page itself makes use of {{POTD row}}.) Note thatdefault
({{POTD default}}) is not the default value for this parameter!- The
archive
layout also allows the additional display of subpages in the case of a multiple POTD, where the POTD consists of more than one picture and blurb. A hatnote is included immediately below the date header to indicate this. This template currently accommodates the display of up to twenty subpages (which was the case on December 30, 2013). This is mainly handled through {{POTD archive/multiple}}, which draws information from subpages titled "/1", "/2", etc. Another template, {{POTD archive/footer}}, is also used to display the "Recently featured" list and the boldfaced links as on the Main Page in this layout.
- The
|excludeheader=
: if defined withyes
, the horizontal rule and the boldfaced date (e.g. "September 4") that appear above the POTD content are omitted from display. The subpage headers in the archive layout (e.g. "Subpage 1"), if present, will also be excluded. Such headers are most useful in the archives (where they double as anchors for section linking).|excludefooter=
: if defined withyes
, the list of links below the POTD, and below each subpage if present, are omitted from display. These links easily allow users to view, discuss, edit, check the history of, or watch the template, or access the file page(s). There are also links to view, edit and check the history of the protected version, if it exists; otherwise, there is a link to create it. If the POTD has not been scheduled, there is a link to create a new template. There may very occasionally be a link to a separate animated version of the featured picture.|excludesub=
: if defined withyes
, the individual POTD subpages normally displayed in the archive layout are omitted from display; in the case of a random-selection multiple POTD, one subpage is randomly selected for display at a time, imitating the functionality used on the Main Page. This might be useful on talk pages, etc., where an abundance of transcluded POTD suggestions might overwhelm the page for users.