Template:News item header

From DoomWiki.org

Revision as of 16:24, 11 April 2016 by Quasar (talk | contribs) (Add schema.org microdata)

By

Usage

Create a news item container. This container acts as an hAtom microformat feed entry, and is understood by search engines as a news item when properly filled out.

Parameters:

  • title: Title of the news article. This should be in newspaper headline format.
  • author: Your DoomWiki.org user account name. If you have created a User page, it will be automatically linked. This is used to create a vcard.
  • timestamp: Date and/or time of the article's authorship, in any acceptable ISO date format. The input timestamp will be normalized to Day Month Year format regardless of the input format. Invalid timestamps will be suppressed from appearing in the hAtom, and an error message may appear on page.

Author your article content inline using regular MediaWiki markup after the {{News item header}} transclusion, and follow it with {{News item end}} to properly close the entry.