Difference between revisions of "Template:SwapTitle"

From PC-BSD Wiki
Jump to: navigation, search
(remove translate icon support)
(5 intermediate revisions by one user not shown)
Line 4: Line 4:
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
== Method ==
 
== Method ==
<nowiki>{{</nowiki>swapTitle{{pipe}}custompagename=text<nowiki>}}</nowiki>
+
'''<nowiki>{{</nowiki>swapTitle{{pipe}}custompagename='''''text'''''<nowiki>}}</nowiki>'''
 
== Explanation ==
 
== Explanation ==
 
This is used in specific instances where neither NavHeader nor NavHome are used, in order to modify the displayed page title.
 
This is used in specific instances where neither NavHeader nor NavHome are used, in order to modify the displayed page title.
Line 10: Line 10:
 
</noinclude>
 
</noinclude>
 
[[category:Uses SwapTitle]]
 
[[category:Uses SwapTitle]]
[[category:{{{custompagecategory|{{{custompagename|{{PAGENAME}}}}}}}}]]<!-- allowing transclusion *** no spaces or text beyond this line -->
+
[[category:{{#titleparts: {{{custompagecategory|{{{custompagename|{{{translate|{{PAGENAME}} }}} }}} }}}|1|1}}]]<!-- allowing transclusion *** no spaces or text beyond this line -->

Revision as of 05:01, 19 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.