Template:Title dab away: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary |
m (Switching {{title}} for {{DISPLAYTITLE}} to make things work better in MyWikia and various modules on desktop version of site) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#explode:{{PAGENAME}}|(|1}} | <includeonly>{{#switch:{{#explode:{{PAGENAME}}|(|1}} | ||
|audio story)={{ | |audio story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(audio story)|}}'' (audio story)}} | ||
|BFA audio story)={{ | |BFA audio story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(BFA audio story)|}}'' (BFA audio story)}} | ||
|BBV audio story)={{ | |BBV audio story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(BBV audio story)|}}'' (BBV audio story)}} | ||
|BFBS audio story)={{ | |BFBS audio story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(BFBS audio story)|}}'' (BFBS audio story)}} | ||
|SJA audio story)={{ | |SJA audio story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(SJA audio story)|}}'' (SJA audio story)}} | ||
|CC audio story)={{ | |CC audio story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(CC audio story)|}}'' (CC audio story)}} | ||
|audio series)={{ | |audio series)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(audio series)|}}'' (audio series)}} | ||
|audio anthology)={{ | |audio anthology)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(audio anthology)|}}'' (audio anthology)}} | ||
|comic story)={{ | |comic story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(comic story)|}}'' (comic story)}} | ||
|DWA comic story)={{ | |DWA comic story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(DWA comic story)|}}'' (DWA comic story)}} | ||
|DWBIT comic story)={{ | |DWBIT comic story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(DWBIT comic story)|}}'' (DWBIT comic story)}} | ||
|DWM comic story)={{ | |DWM comic story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(DWM comic story)|}}'' (DWM comic story)}} | ||
|TVC comic story)={{ | |TVC comic story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(TVC comic story)|}}'' (TVC comic story)}} | ||
|CON episode)={{ | |CON episode)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(CON episode)|}}'' (CON episode)}} | ||
|documentary)={{ | |documentary)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(documentary)|}}'' (documentary)}} | ||
|graphic novel)={{ | |graphic novel)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(graphic novel)|}}'' (graphic novel)}} | ||
|1996)={{ | |1996)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(1996)|}}'' (1996)}} | ||
|novel)={{ | |novel)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(novel)|}}'' (novel)}} | ||
|BNA novel)={{ | |BNA novel)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(BNA novel)|}}'' (BNA novel)}} | ||
|MA novel)={{ | |MA novel)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(MA novel)|}}'' (MA novel)}} | ||
|NA novel)={{ | |NA novel)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(NA novel)|}}'' (NA novel)}} | ||
|NSA novel)={{ | |NSA novel)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(NSA novel)|}}'' (NSA novel)}} | ||
|novelisation)={{ | |novelisation)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(novelisation)|}}'' (novelisation)}} | ||
|script)={{ | |script)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(script)|}}'' (script)}} | ||
|short story)={{ | |short story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(short story)|}}'' (short story)}} | ||
|TV story)={{ | |TV story)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(TV story)|}}'' (TV story)}} | ||
|BBV video)={{ | |BBV video)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(BBV video)|}}'' (BBV video)}} | ||
|video game)={{ | |video game)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(video game)|}}'' (video game)}} | ||
|webcast)={{ | |webcast)={{DISPLAYTITLE:''{{#replace:{{PAGENAME}}|(webcast)|}}'' (webcast)}} | ||
|#default={{ | |#default={{DISPLAYTITLE:''{{PAGENAME}}''}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[category:Title templates]] | [[category:Title templates]] |
Revision as of 20:20, 2 October 2013
Instructions for {{Title dab away}}
{{title dab away}} — or {{tda}} — is the combination of {{retitle}} and {{dab away}} ({{da}}). It affects the title of any page that it is on by italicising the title, but leaving the dab term alone. If, for instance, the page name is The Gathering (audio story), it will render the page title as
The Gathering (audio story)
Although it will work on pages that have no dab term, it's probably just as easy to use the standard {{retitle}} on such pages.
To use, simply place {{title dab away}} on the desired page, preferably at the very top.