Template:Retitle: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Undo revision 3303634 by Scrooge MacDuck (talk))
Tags: Undo Reverted
m (Reverted edits by Not a Sockpuppet vandal, I'm a Twitter user (talk) to last revision by Scrooge MacDuck)
Tag: Rollback
Line 1: Line 1:
The thing will not work this way bro :)<noinclude>{{documentation}}
{{DISPLAYTITLE:{{{1|{{PAGENAME}}}}}}}<noinclude>{{documentation}}
[[Category:Italic title templates]]</noinclude>
[[Category:Italic title templates]]</noinclude>

Revision as of 04:26, 2 August 2022

Instructions for {{Retitle}}
{{Retitle}} is a template that allows you to change the way a page title is displayed. For ordinary story titles, you should be using {{title dab away}}, instead, as that template automatically handles proper italicisation for you. This template is for those cases where something other that simple italicisation of the part of the title before the (dab term) is required. Most often, this means that you want to be able to put the page title in quotation marks, as is done at "Twist at the End".

Usage is straightforward:

{{retitle|"{{PAGENAME}}"}}
would put the PAGENAME in visible quotation marks.

But it can also be done useful when italicising only part of a title, as in this case:

{{retitle|SS ''Bernice''}}
To use this template in a namespace other than the main one, set the first parameter to any value and the second parameter to the display title, like so:
{{retitle|Talk|SS ''Bernice''}}


Under the hood

Although this template has some commonality with the old {{title}} template, it is powered quite differently under the hood. It uses {{DISPLAYTITLE}} at its core, and therefore will not cause issues with SEO or the MyWikia app like that older template.