Difference between revisions of "Template:Breadcrumb"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(category)
imported>Wbm1058
(documentation; remove links to ambiguous digits 2, 3, 4, and 5)
 
Line 1: Line 1:
 
<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>}}}{{
 
<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>}}}}}{{
#if:{{{4|<noinclude>4</noinclude>}}}|&#32;&#124; {{{4<noinclude>|[[4]]</noinclude>}}}}}{{
+
#if:{{{4|<noinclude>4</noinclude>}}}|&#32;&#124; {{{4<noinclude>|4</noinclude>}}}}}{{
#if:{{{5|<noinclude>5</noinclude>}}}|&#32;&#124; {{{5<noinclude>|[[5]]</noinclude>}}}}}</span></div><noinclude>
+
#if:{{{5|<noinclude>5</noinclude>}}}|&#32;&#124; {{{5<noinclude>|5</noinclude>}}}}}</span></div><noinclude>
----
+
{{documentation|content=
 
+
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 <code><nowiki>|align=right</nowiki></code> to do so. If you are using a back and forth system using two breadcrumbs on a single page, please also add the optional <code><nowiki>|28px=yes</nowiki></code> parameter to the breadcrumb at the right side.
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.
 
  
 
[[Category:Wikipedia formatting and function templates]]
 
[[Category:Wikipedia formatting and function templates]]
</noinclude>
+
}}</noinclude>

Latest revision as of 19:34, 15 November 2016

Template documentation

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.