Difference between revisions of "Template:SwapTitle"

From PC-BSD Wiki
Jump to: navigation, search
Line 3: Line 3:
 
|<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; class="titleheadertext">{{#if:{{{title|}}}|{{{title}}}|{{#if: {{getLang}}|{{:Translations:{{#titleparts: {{PAGENAME}}|1|1}}{{putVers}}/Page display title/{{getLang}}}}|{{#titleparts: {{PAGENAME}}|1}}}}}}</span><span class="ProtectionLevel">Protection (edit): {{PROTECTIONLEVEL: edit|{{PAGENAME}}}}</span><span class="LastEditor">Edited by: {{REVISIONUSER}}</span>
 
|<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; class="titleheadertext">{{#if:{{{title|}}}|{{{title}}}|{{#if: {{getLang}}|{{:Translations:{{#titleparts: {{PAGENAME}}|1|1}}{{putVers}}/Page display title/{{getLang}}}}|{{#titleparts: {{PAGENAME}}|1}}}}}}</span><span class="ProtectionLevel">Protection (edit): {{PROTECTIONLEVEL: edit|{{PAGENAME}}}}</span><span class="LastEditor">Edited by: {{REVISIONUSER}}</span>
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
{{swapTitle|title=Substituted> {{PAGENAME}}}}
+
{{swapTitle|title=Substituted> {{FULLPAGENAME}}}}
 
== Method ==
 
== Method ==
 
'''<nowiki>{{</nowiki>swapTitle|title='''''text'''''<nowiki>}}</nowiki>'''
 
'''<nowiki>{{</nowiki>swapTitle|title='''''text'''''<nowiki>}}</nowiki>'''
Line 11: Line 11:
 
</noinclude>
 
</noinclude>
 
[[category:Uses SwapTitle]]
 
[[category:Uses SwapTitle]]
[[category:{{#titleparts: {{{title|{{{translate|{{PAGENAME}} }}} }}}|1|1}}]]
 

Revision as of 21:34, 19 December 2013


Substituted> Template:SwapTitleProtection (edit): Edited by: Tigersharke

Method

{{swapTitle|title=text}}

Explanation

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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox