Difference between revisions of "Template:Breadcrumbs"

From WikiCorporates
Jump to navigation Jump to search
Line 1: Line 1:
−
<span id="cSpan1" style="display:inline-block; width:{{{width|100%}}}; margin-right:{{{mright|auto}}}; margin-left:{{{mleft|auto}}}; {{#if:{{{float|}}}|float:{{{float}}}; }}"><!--
+
<div id="contentSub><span class="subpages">&lt; [[Walmart Inc]]</span></div>
−
--><span id="cSpan2" class="freedImg" style="display:block; width:100%; {{#if:{{{height|}}}|overflow:hidden; height:{{{height}}}; }}">[[{{ns:6}}:{{{file}}}{{#if:{{{link|}}}|{{!}}link={{{link}}} }}{{#if:{{{alt|}}}|{{!}}alt={{{alt}}} }}]]<!--
+
 
−
--></span><!--
+
<p>&nbsp;</p>
−
-->{{#if:{{{caption|}}}<!--
+
 
−
-->|<span id="tSpan" class="imgCaption" style="display:{{{tdisplay|block}}}; margin-right:{{{tmright|0.00em}}}; margin-left:{{{tmleft|0.00em}}}; text-align:{{{talign|center}}}; text-indent:{{{indent|0.00em}}}; {{#if:{{{tstyle|}}}|{{{tstyle}}};}}"><!--
+
<p><span style="margin-left:10px; padding:2px 5px 2px 5px; border-top:1px solid #C0C0C0; border-bottom:1px solid #C0C0C0;">&lt; [[Walmart Inc]]</span></p>
−
-->{{{caption}}}<!--
+
 
−
--></span><!--
+
<p>&nbsp;</p>
−
-->}}<!--
+
 
−
--></span><!--
+
<div id="contentSub">
−
--><noinclude>{{doc2}}</noinclude>
+
<span class="subpages">{{{1<noinclude>|&lt; [[Breadcrumb (navigation)|Breadcrumb]]</noinclude>}}}{{
 +
#if:{{{2|<noinclude>2</noinclude>}}}|&#32;&#124; {{{2<noinclude>|2</noinclude>}}}}}{{
 +
#if:{{{3|<noinclude>3</noinclude>}}}|&#32;&#124; {{{3<noinclude>|3</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>{{doc2}}</noinclude>

Revision as of 21:40, 1 May 2020

 

< Walmart Inc

 

< Breadcrumb | 2 | 3 | 4 | 5

[edit] Documentation

Usage

Template takes up to 5 page links.

Example

{{Breadcrumbs
 | GreatGrandfather
 | Grandfather
 | Father
 | Son
 | Current
}}
Which will give

 

< Walmart Inc

 


This template is an unholy combination of bits of the following: