Template:Italic: Difference between revisions

Template page
(Created page with "<includeonly>{{DISPLAYTITLE:''{{{1|{{FULLPAGENAME}}}}''}}</includeonly><noinclude> = Documentation= Allows for an article's display title to be italicized. == Usage == Simp...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:''{{{1|{{FULLPAGENAME}}}}''}}</includeonly><noinclude>
<includeonly>{{DISPLAYTITLE:{{#if:{{#pos:{{FULLPAGENAME}}|(}}|''{{#explode:{{FULLPAGENAME}}|(|0}}'' ({{#explode:{{FULLPAGENAME}}|(|1}}|''{{FULLPAGENAME}}''}}}}</includeonly><noinclude>
= Documentation=
= Documentation=


Line 10: Line 10:
<nowiki>{{italic}}</nowiki>
<nowiki>{{italic}}</nowiki>


To change the title, simply do:
Due to MediaWiki's technical restrictions, this will NOT allow for a rename of a page's title.
 
<nowiki>{{italic|My New Title}}</nowiki>


[[Category:Battlestar Wiki Templates]]</noinclude>
[[Category:Battlestar Wiki Templates]]</noinclude>

Latest revision as of 19:50, 15 May 2021

Documentation

Allows for an article's display title to be italicized.

Usage

Simply add the following to any page. For better clarity, add it towards the bottom of an article page, after any [[Category:XXX]] calls.

{{italic}}

Due to MediaWiki's technical restrictions, this will NOT allow for a rename of a page's title.