|
|
(4 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:-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;">
| |
| {{{1}}} | |
| </h1>
| |
| </div> | |
| <div style="height:31px;width:100%"></div></includeonly> | |
Latest revision as of 11:00, 14 October 2015
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
}}