Difference between revisions of "Template:Italic title"

From Moegirlpedia
Jump to: navigation, search
m (add to doc)
 
Line 1: Line 1:
{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}''{{PAGENAME}}''|noreplace}}<noinclude>
+
{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}''{{PAGENAME}}''|noreplace}}<noinclude>{{doc|content=
 
==Usage==
 
==Usage==
Place <code><nowiki>{{Italic title}}</nowiki></code> at the top of the page the title of which should be displayed in ''italics''.
+
Place <code><nowiki>{{Italic title}}</nowiki></code> at the top of the page where the title should be displayed in ''italics''.
 +
 
 +
==Behaviour==
 +
This template should be placed at the top of the page. It only italicizes the page name, not the namespace.
 +
 
 +
It uses the magic word <code><nowiki>{{DISPLAYTITLE}}</nowiki></code> and will not override any other instances of <code><nowiki>{{DISPLAYTITLE}}</nowiki></code>.
 +
 
 +
==TemplateData==
 +
 
 +
<templatedata>
 +
{
 +
"params": {},
 +
"description": "Italicizes the title of the page. Should be placed at the top of the page.",
 +
"format": "inline"
 +
}
 +
</templatedata>
 +
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 07:48, 9 March 2020

Template-info.svg Template Documentation  [Edit]

Usage

Place {{Italic title}} at the top of the page where the title should be displayed in italics.

Behaviour

This template should be placed at the top of the page. It only italicizes the page name, not the namespace.

It uses the magic word {{DISPLAYTITLE}} and will not override any other instances of {{DISPLAYTITLE}}.

TemplateData

<templatedata> { "params": {}, "description": "Italicizes the title of the page. Should be placed at the top of the page.", "format": "inline" } </templatedata>