Template:NewsItem
More actions
Record-page layout for News Item pages. A full-width head (a link to Portal:Current Events, the category, the date, then the headline and the series it belongs to), then two columns: the summary with one set of buttons ("Read the source report", and "Archived copy" when there is one), and a facts card (image, place, growing region, growing area, agency, quantities, approximate location). Under the summary come the related news (same series, else same country, via Template:RecordRelated and Template:RecordRow) and a one-line provenance footer. On narrow screens the facts card follows the summary.
Parameters: date, category, title/headline,
summary, source, archive_url, part_of_campaign,
country, admin1, admin2, locality,
coordinates, growing_region, growing_area, agency
(or enforcement_agency), plants (or plants_eradicated),
hectares (or hectares_destroyed), image_file, image,
image_alt; optional provenance record_created and editor. The
picture comes from image_file when it is set: a bare local file name, with no
File: prefix and no wikitext, for example image_file=Example photo 2026.jpg.
That renders the file with image_alt as its alt text, and gives an
og:image it can resolve. Failing that the older image parameter is used, and failing that
the page's own Has image URL annotation (a hotlinked photo). A hotlinked URL never reaches
og:image: WikiSEO resolves that field as a local file and falls back to the wiki logo, so only
image_file puts the real picture on a shared link. Place values link only when the
target page exists; quantities carry a note that they are as reported by the source. When the
publisher's URL has gone dead, archive_url adds an "Archived copy" button beside the
source button; the original source is kept, never replaced. SMW emission stays in each
page's hidden annotation block: this template sets nothing. The feed cards on
Portal:Current Events and the Main Page are separate templates and unaffected. Styles live in
Template:Record/styles.css, shared with Template:ResearchItem.