Main Page Featured

From Philadelphia.Wiki

Main Page Featured - Displays the featured article of the day on the main page.

Usage

{{Main Page Featured|article=Article Name|image=Image.jpg|summary=Brief summary text}}

Parameters

This template accepts three parameters to display a featured article in a styled box on the main page:

  • article (required) - The full name of the article to be featured. This must match the exact article title as it appears on the wiki.
  • image (optional) - The filename of an image to display with the featured article. The image will appear at 150 pixels wide on the right side of the box. If omitted, the article will display without an image. For best results, use images with dimensions of at least 150x150 pixels.
  • summary (required) - A brief description of the article, typically two to four sentences. The summary should provide enough context to engage readers while remaining concise. Recommended length is 50-100 words.

Example

{{Main Page Featured
|article=History of Computing
|image=ENIAC.jpg
|summary=The history of computing spans thousands of years, from ancient calculating devices to modern electronic computers. The development of the first electronic general-purpose computer, ENIAC, in 1945 marked a turning point in technology. Today, computing devices are ubiquitous in daily life.
}}

Technical notes

The template uses conditional formatting to handle missing images gracefully. The color scheme uses #004C54 for headers with a light gray background (#f8f9fa) and borders (#a2a9b1) that maintain sufficient contrast for accessibility. The styling includes responsive padding and margins optimized for both desktop and mobile viewing.

See also