Difference between revisions of "Template:Breadcrumb"

From blackwiki
Jump to navigation Jump to search
imported>Heymid
(Revert to revision 387176482 dated 2010-09-26 19:36:13 by Heymid using popups)
imported>Heymid
(Updating (and doc))
Line 1: Line 1:
<div id="contentSub" class="plainlinks nourlexpansion" {{#switch:{{{align}}}|right|right=align="right"}}{{#switch:{{{right}}}|yes|yes=align="right"}}><span class="subpages">{{{1<noinclude>|&lt; [[Breadcrumb (navigation)|Breadcrumb]]</noinclude>}}}{{
+
<div id="contentSub" class="plainlinks nourlexpansion" style="position:relative;{{#switch:{{{28px}}}|yes|yes=bottom:28px;}}" {{#switch:{{{align}}}|right|right=align="right"}}{{#switch:{{{right}}}|yes|yes=align="right"}}><span class="subpages">{{{1<noinclude>|&lt; [[Breadcrumb (navigation)|Breadcrumb]]</noinclude>}}}{{
 
#if:{{{2|<noinclude>2</noinclude>}}}|&#32;&#124; {{{2<noinclude>|[[2]]</noinclude>}}}}}{{
 
#if:{{{2|<noinclude>2</noinclude>}}}|&#32;&#124; {{{2<noinclude>|[[2]]</noinclude>}}}}}{{
 
#if:{{{3|<noinclude>3</noinclude>}}}|&#32;&#124; {{{3<noinclude>|[[3]]</noinclude>}}}}}{{
 
#if:{{{3|<noinclude>3</noinclude>}}}|&#32;&#124; {{{3<noinclude>|[[3]]</noinclude>}}}}}{{
Line 6: Line 6:
 
----
 
----
  
There is also an optional parameter named <nowiki>{{{align}}}</nowiki>, which allows users to align their breadcrumb at the right side of the page. Use "|align=right" to do so.
+
There is also an optional parameter named <nowiki>{{{align}}}</nowiki>, which allows users to align their breadcrumb at the right side of the page. Use "|align=right" to do so. If you are using a back and forth system using two breadcrumbs on a single page, please also add the optional "|28px=yes" parameter to the breadcrumb at the right side.
  
 
</noinclude>
 
</noinclude>

Revision as of 19:57, 26 September 2010


There is also an optional parameter named {{{align}}}, which allows users to align their breadcrumb at the right side of the page. Use "|align=right" to do so. If you are using a back and forth system using two breadcrumbs on a single page, please also add the optional "|28px=yes" parameter to the breadcrumb at the right side.