Template:Italic title: Difference between revisions
Jump to navigation
Jump to search
Westgrass bot (talk | contribs) m ({{language info}} en=?) |
m (Displaytitle handling is now handled by {{common}} which should be present on off-wiki language wikis as well.) |
||
Line 1: | Line 1: | ||
<includeonly><!-- |
<includeonly><!-- |
||
-->{{#vardefine:__global__is_italic_title|y}}<!-- used by |
-->{{#vardefine:__global__is_italic_title|y}}<!-- used by {{common}} |
||
-->{{#if: |
-->{{#if:{{bool|{{{force|}}}}}|<!-- |
||
-->{{DISPLAYTITLE:{{#ifeq:{{NAMESPACENUMBER}}|0||{{NAMESPACE}}:}}<i>{{PAGENAME}}</i>}}<!-- don't italicize the namespace |
-->{{DISPLAYTITLE:{{#ifeq:{{NAMESPACENUMBER}}|0||{{NAMESPACE}}:}}<i>{{PAGENAME}}</i>}}<!-- don't italicize the namespace |
||
-->}}<!-- |
-->}}<!-- |
Latest revision as of 18:15, 24 June 2022
Documentation The documentation below is transcluded from Template:Italic title/doc. (edit | history)
[purge]
Put this template at the top of a page to make the page's title appear in italics. The namespace will not be italicized.
Usage
Parameter | Description | Type | Status | |
---|---|---|---|---|
Force italics | force | By default, the template will only work if there is also a {{common}} template call on the page (which should be the case for every mainspace article). Use this parameter to force an italic title even if {{common}} is not called.
| Boolean | optional |