Template:Mainimage

From DoomWiki.org

Revision as of 22:17, 17 April 2015 by Quasar (talk | contribs) (Yet more explanation.)

[[File:{{#setmainimage:{{{1}}}}}|thumb|right|{{{3|}}}|{{{2}}}]]

Usage

Include an image into an article and mark it as the main article image, for SEO and social media integration purposes. This overrides any automated determinations made by Extension:PageImages when they are used by Extension:OpenGraphMeta, but not currently for any other purpose, ie., in the MobileFrontend. Please use this template only when necessary, as the default selections made by PageImages are usually good. Note that no image has been selected for a page until it has been edited at least once since PageImages was installed; if you are not seeing good results when sharing or tweeting a page, please try making a minor edit to that article before resorting to use of this template. Arguments:

  1. Image name, without namespace prefix
  2. Caption
  3. Optional: Image size