Sorry for the inconvenience.  Known Navigation header breakage of “Previous:” and “Next:” links, the Table Of Contents may be the solution for those.
However, unfortunately, the Table of contents may also be broken, and there may be other unforeseen breakage primarily in the handbook portion of the wiki.
Presently the 10.1 and 10.1.1 Table Of Contents are being "reconstructed" becoming incrementally fixed while the other handbook versions may have various breakage.

Difference between revisions of "Template:SwapTitle"

From PC-BSD Wiki
Jump to: navigation, search
(15 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}} <!-- this part causes the page title to be hidden -->{|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%;"
+
<includeonly>{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}<!-- this part causes the page title to be hidden -->
 +
{|class="navheader noprint screen firstheading" style="background: #FfFfff; border-collapse: collapse; border-bottom: #aaaaaa solid 0.1em; border-top: #ffffff solid 0px; margin-bottom: 10px; margin-top: -12px; 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> <!-- this part re-creates the page title and allows for a custom page name -->
 
|<span target="{{PAGENAME}}"; id="{{PAGENAME}}"; style="font-size: 200%; line-height: 1.1em; margin-bottom: 0.1em;">{{{custompagename|{{PAGENAME}}}}}</span> <!-- this part re-creates the page title and allows for a custom page name -->
|}[[category:{{{custompagecategory|{{PAGENAME}}}}}]]</includeonly><noinclude>
+
|}</includeonly><noinclude>
 +
== Method ==
 +
'''<nowiki>{{</nowiki>swapTitle{{pipe}}custompagename='''''text'''''<nowiki>}}</nowiki>'''
 +
== 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.
</noinclude>
 
<noinclude>
 
 
[[category:templates]]
 
[[category:templates]]
 
</noinclude>
 
</noinclude>
 +
[[category:Uses SwapTitle]]
 +
[[category:{{#titleparts: {{{custompagecategory|{{{custompagename|{{{translate|{{PAGENAME}} }}} }}} }}}|1|1}}]]

Revision as of 12:49, 21 September 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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox