This site is supported by donations to The OEIS Foundation.
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:
- e https://oeis.org/w/index.php?title=E&redirect=no (uses
{{display title|{{mathfont|''e''}}|lc first}}
) - Category:n th-order recurrence (uses
{{display title|{{mathfont|''n''}} th-order recurrence|lc first}}
)
Does NOT work on those pages:
- 3 x + 1 problem (uses
{{display title|{{mathfont|3''x'' + 1}} problem}}
)
External links
- Help:Magic_words#Technical metadata—MediaWiki.org. (look for
{{DISPLAYTITLE:title}}
magic word)
See also
- {{Section title}}