Difference between revisions of "Template:Breadcrumbs"

From WikiCorporates
Jump to navigation Jump to search
m (GrayanOne moved page Template:Lab to Template:Sandbox2 without leaving a redirect)
Line 1: Line 1:
−
<span id="cSpan1" style="display:inline-block; width:{{{width|100%}}}; margin-right:{{{margin-right|auto}}}; margin-left:{{{margin-left|auto}}}; {{#if:{{{float|}}}|float:{{{float}}}; }}"><!--
+
<span id="cSpan1" style="display:inline-block; width:{{{width|100%}}}; margin-right:{{{mright|auto}}}; margin-left:{{{mleft|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 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><!--
 
--></span><!--

Revision as of 15:37, 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: