Template:Classic title: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Protected "Template:Classic title" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}<small>{{{1|{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}}}}}}}}</small> {{{2|{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}}}}}}}}}}</includeonly><noinclude>
<includeonly>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}<small>{{{1|{{#sub:{{PAGENAME}}|0|{{#pos:{{PAGENAME}}}}}}}}}</small> {{{2|{{#sub:{{PAGENAME}}|{{#pos:{{PAGENAME}}}}}}}}}}}</includeonly><noinclude>
Used for [[classic course]] display titles.
== Usage ==
 
This should work for all current scenarios:
;Typical usage
:<code><nowiki>{{classic title}}</nowiki></code>
:<code><nowiki>{{classic title}}</nowiki></code>


;Force parameters
In case it breaks, the info can be manually entered:
:<code><nowiki>{{classic title|N64|Rainbow Road}}</nowiki></code>
:<code><nowiki>{{classic title|N64|Rainbow Road}}</nowiki></code>
The line of code should be placed at the very top of the page without any blank lines following it.
== About ==
Used for formatting [[classic course]] display titles. It's not necessary to make this change to talk pages.
== See also ==
*[[Template:Italic title]]


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 22:32, May 16, 2021

Usage

This should work for all current scenarios:

{{classic title}}

In case it breaks, the info can be manually entered:

{{classic title|N64|Rainbow Road}}

The line of code should be placed at the very top of the page without any blank lines following it.

About

Used for formatting classic course display titles. It's not necessary to make this change to talk pages.

See also