Template:Title: Difference between revisions

From Hydrogenaudio Knowledgebase
m (Updated code to better replicate h1 CSS.)
m (Minor CSS update.)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<h1 id="firstHeading" class="firstHeading" style="background-color: white; font-size: 200%; position: absolute; margin-top: -46.5px; width: 100%;">{{{1}}}</h1><noinclude>
<div id="firstHeading" class="firstHeading" style="background-color: white; font-size: 200%; position: absolute; top: -31px; width: 100%;">{{{1}}}</div><noinclude>
== Usage ==
==Documentation==
This template replaces the displayed title on a page. Use it like this:
This template can be used to replace an article's title, for example {{code|<nowiki>{{title|foobar2000}}</nowiki>}} is used on the [[Foobar2000:Foobar2000]] page.
<nowiki>{{title|New Title}}</nowiki>
 
This template should '''''only''''' be used when the {{code|<nowiki>{{DISPLAYTITLE:}}</nowiki>}} magic word will not achieve the desired result.
 
===Syntax===
<pre>{{title|New Title}}</pre>
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 08:52, 11 June 2022

{{{1}}}

Documentation

This template can be used to replace an article's title, for example {{title|foobar2000}} is used on the Foobar2000:Foobar2000 page.

This template should only be used when the {{DISPLAYTITLE:}} magic word will not achieve the desired result.

Syntax

{{title|New Title}}