From The Mana World
m
(adding documentation, updating according to Help:Template)
Line 1: Line 1:
<noinclude>
<includeonly>{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}
Hides current page title and creates new on top of it.
This template is good to use for non-English pages.
 
'''Syntax:'''
<pre>{{H:titlereplace
|New page name
}}
</pre>
 
</noinclude><includeonly>{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}
<div style="position:absolute;top:-5px;width:100%;background:#fff">
<div style="position:absolute;top:-5px;width:100%;background:#fff">
   <h1 style="position: relative; top: 5px; 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;">
   <h1 style="position: relative; top: 5px; 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;">
Line 16: Line 6:
</div>
</div>
<div style="height:31px;width:100%"></div></includeonly>
<div style="height:31px;width:100%"></div></includeonly>
<noinclude>
{{:Template:{{PAGENAME}}/doc}}    <!-- this is to include documentation in this page, without transcluding it in the page where template is used -->
[[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>

Revision as of 06:00, 29 April 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 }}