Help:Display title

From semantic-mediawiki.org
Jump to: navigation, search

The display (output) characteristics of a page's title can be altered through various means in MediaWiki including:

  • Add {{DISPLAYTITLE:Bar}} to page Foo to display Bar instead of the "real" title Foo
  • Employ a template to alter the output as part of a query request

Using the {{DISPLAYTITLE}} magic word on a page shows the intention to alter its display characteristics which by default (as of Semantic MediaWiki 2.4.0Released on 9 July 2016 and compatible with MW 1.19.0 - 1.27.x.1) is transferred and interpreted as preferred caption for those entities that make use of it.

A page that contains a annotation using the {{DISPLAYTITLE}} magic word will automatically set special property "Display title of"Holds a specific denote title for an entity and indicates to all Semantic MediaWiki processes (special page "Browse"Shows all properties and their values annotated to a page, query results etc.) to prefer it over the real title (it also includes setting the {{SORTKEY}} magic word, if no other key is defined).

Configuration parameters

Examples

See also

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:1410