Difference between revisions of "Template:Title"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m (Minor code fix.)
m (Updated documentation.)
Line 1: Line 1:
 
<div id="firstHeading" class="firstHeading" style="background-color: white; font-size: 200%; position: absolute; top: -28.5px; width: 100%;">{{{1}}}</div><noinclude>
 
<div id="firstHeading" class="firstHeading" style="background-color: white; font-size: 200%; position: absolute; top: -28.5px; 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>

Revision as of 16:14, 15 October 2018

{{{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}}