Template:Title: Difference between revisions

Template page
w:c:strategywiki>Najzere
m (usage)
w:c:strategywiki>Prod
(changed to {{DISPLAYTITLE}} instead of JS)
Line 1: Line 1:
<div id="title-override" class="firstHeading" style="font-size: 188%; padding-bottom: 0.1em; padding-top: 0.1em; float: left; position: absolute; left: 0; top: 0; width: 95%; background: #fff">{{{1|{{SUBPAGENAME}}}}}</div><noinclude>
{{DISPLAYTITLE:{{{1|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{PAGENAME}}}}}}}<noinclude>


This template is used to replace the default page title with a custom one, perhaps to make it look better. It takes one parameter: the name to display instead of the page name. If no parameter is supplied, the original page name is used.
This template is used to replace the default page title with a custom one, perhaps to make it look better. It takes one parameter: the name to display instead of the page name. If no parameter is supplied, the original page name is used.


[[Category:Templates|T]]</noinclude>
[[Category:Templates|T]]</noinclude>

Revision as of 20:25, 15 March 2009


This template is used to replace the default page title with a custom one, perhaps to make it look better. It takes one parameter: the name to display instead of the page name. If no parameter is supplied, the original page name is used.