Template:Title

From Wiki
Jump to: navigation, search

The title template sets both Property:Display title and {{DISPLAYTITLE}}1.

Usage

{{title
 | 1 = Title.  If this value is empty or omitted, then this template has no effect.
 | prefix = 'none' or 'full'.  Use 'none' to set the {{DISPLAYTITLE}} to the provided
     title.  Use 'full' to set it to the provided title prefixed by the full page
     name.  The default value is 'full'.
 | setProperty = 'yes' or 'no'.  Use 'yes to set Property:Display title to the
     provided title.  The default value is 'yes'.
 }}

Examples

{{title
 | Why I love pollwikis, part 2
 }}

Or equivalently:

{{title
 | 1 = Why I love pollwikis, part 2
 | prefix = full
 | setProperty = yes
 }}

References

  1. ^ {{DISPLAYTITLE}} is documented at http://www.mediawiki.org/wiki/Help:Magic_words#Technical_metadata. Its use depends on configuration variable $wgAllowDisplayTitle: http://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle