This site is supported by donations to The OEIS Foundation.

Template:display title/doc

From OeisWiki
Jump to: navigation, search

This documentation subpage contains instructions, categories, or other information for Template:Display title. [<Edit> Template:Display title]

[⧼Purge⧽ Template:Display title/doc]

The {{display title}} (or {{page title}}) OEIS Wiki utility template is used to alter the display of the page name (it does not alter the display of the name space, which precedes the :)

Usage

{{display title}} (default behavior of the MediaWiki server: page name shown in uppercase first) (the template does nothing)

or

{{display title|altered title}}

where altered title must be equivalent to the actual page title (if the new title is not equivalent to the page’s actual title, it will be ignored by MediaWiki), i.e.

  • the first letter of the page name (this does not include the name space before :) may be in lowercase or uppercase;
  • the font (font-family, font-weight, font-style) may be altered.

Examples

The code {{display title}} yields [now disabled] { {display title} } (look at the page name: Template:Display title/doc shows the page name with an uppercase first D, which is the default behavior of the MediaWiki server)

The code {{display title|display title/doc}} yields [now disabled] { {display title|display title/doc} } (look at the page name: Template:display title/doc shows the page name with a lowercase first d, but leaves name space unaltered)

The code {{display title|''Display title/doc''}} yields [now disabled] { {display title|Display title/doc} } (look at the page name: Template:display title/doc shows the page name in italic, but leaves name space unaltered)

The code {{display title|''display title/doc''}} yields [now disabled] { {display title|display title/doc} } (look at the page name: Template:display title/doc shows the page name in italic with a lowercase first d, but leaves name space unaltered)

The code {{display title|'''Display title/doc'''}} yields [now disabled] { {display title|Display title/doc} } (look at the page name: Template:display title/doc shows the page name in bold, but leaves name space unaltered)

The code {{display title|'''display title/doc'''}} yields [now disabled] { {display title|display title/doc} } (look at the page name: Template:display title/doc shows the page name in bold with a lowercase first d, but leaves name space unaltered)

The code {{display title|'''display ''title''/doc'''}} yields [now enabled] (look at the page name: Template:display title/doc shows the page name in bold (and italic word title) with a lowercase first d, but leaves name space unaltered)

Other examples

Works on those pages:

Does NOT work on those pages:

External links

See also