Difference between revisions of "Template:Breadcrumbs"

From WikiCorporates
Jump to navigation Jump to search
m
Line 1: Line 1:
−
<div style="color:#dc241f; font-size:60%; line-height:1.2em;">Labour {{#if:{{{1|}}}|({{{1}}})}}</div><noinclude>{{doc2}}</noinclude>
+
<span id="cSpan1" class="{{{cclass|floatnone}}}" style="display:inline-block; width:{{{width|100%}}}; margin-right:{{{margin-right|auto}}}; margin-left:{{{margin-left|auto}}}; {{#if:{{{float|}}}|float:{{{float}}}; }}"><!--
 +
--><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><!--
 +
-->{{#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}}};}}"><!--
 +
-->{{{caption}}}<!--
 +
--></span><!--
 +
-->}}<!--
 +
--></span><!--
 +
--><noinclude>{{doc2}}</noinclude>

Revision as of 15:24, 17 November 2019

[[File:{{{file}}}]]

[edit] Documentation

Usage

Template takes up to 5 page links.

Example

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

[[File:{{{file}}}]]

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