Difference between revisions of "Template:SwapTitle"

From PC-BSD Wiki
Jump to: navigation, search
(hopefully I didn't just break it.)
Line 1: Line 1:
 
<includeonly>{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}<!-- this part causes the page title to be hidden -->
 
<includeonly>{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}<!-- this part causes the page title to be hidden -->
 
{{#if: {{{translate|}}}|{{AddTranslateIcon|{{{translate}}}}}|
 
{{#if: {{{translate|}}}|{{AddTranslateIcon|{{{translate}}}}}|
{{{!}}style="background: #FFFFFF; border-collapse: collapse; border-bottom: #aaaaaa solid 0.1em; border-top: #ffffff solid 0px; margin-bottom: 10px; margin-top: -17px; margin-left:0; margin-right:0px; width:100%;"
+
{{{!}}style="border-collapse: collapse; border-bottom: #aaaaaa solid 0.1em; border-top: #ffffff solid 0px; margin-bottom: 10px; margin-top: -17px; margin-left:0; margin-right:0px; width:100%;"
 
{{!}}<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; style="font-size: 200%; line-height: 1.1em; margin-bottom: 0.1em;">{{{custompagename|{{PAGENAME}}}}}</span>
 
{{!}}<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; style="font-size: 200%; line-height: 1.1em; margin-bottom: 0.1em;">{{{custompagename|{{PAGENAME}}}}}</span>
 
{{!}}}
 
{{!}}}

Revision as of 15:24, 18 April 2013

Method

{{swapTitle|custompagename=text}}

Explanation

This is used in specific instances where neither NavHeader nor NavHome are used, in order to modify the displayed page title.