From The Mana World
m (added doc)
m (typo)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}<div style="font-size: 1.25em; position: absolute; width: 100%; background: #fff; padding-top: 6px; top: -5px;">
Hides current page title and creates new on top of it.
<h1 id="firstHeading" class="firstHeading">
This template is good to use for non-English pages.
    <span dir="auto">{{{1}}}</span>
 
</h1></div>
'''Syntax:'''
<div style="height: 31px;"></div></includeonly><noinclude>
<pre>{{H:titlereplace
{{:Template:{{PAGENAME}}/doc}}    <!-- this is to include documentation in this page, without transcluding it in the page where template is used -->
|New page name
[[Category:General Template]] [[Category:Translation Template]] <!-- this is to categorize the template. It will not be transcluded in the page where template is used -->
}}
</noinclude>
</pre>
 
</noinclude><includeonly>{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}
<div style="position:absolute;top:0px;width:100%;background:#fff">
  <h1 style="background-position: 0px 0px; background-repeat: no-repeat; background-color: rgb(242, 235, 231); padding-left: 50px; border: 1px solid rgb(0, 0, 0); border-radius: 15px; margin-top: 0px; padding-top: 0px; margin-bottom: 0.1em; line-height: 1.2em; padding-bottom: 0px; font-size: 2em;">
{{{1}}}
  </h1>
</div>
<div style="height:31px;width:100%"></div></includeonly>

Latest revision as of 11:00, 14 October 2015

50px-Template-info.png Template documentation:

Hides current page title and creates new on top of it.

This template is good to use for non-English pages.


Usage:

Copy the following code into your page:

{{H:titlereplace |New page name }}