Template talk:Breadcrumbs/doc

From WikiCorporates
Jump to navigation Jump to search

Template:FreedImg/span
> https://en.wikisource.org/wiki/Template:FreedImg/span
This is the original template, as copied-and-pasted.

Use this image container template to display INLINE OFFSET images.
<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}}} }}
{{#if:{{{imgclass|}}}|{{!}}class={{{imgclass}}} freedImg|{{!}}class=freedImg }}]]
</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>

> https://en.wikisource.org/wiki/Page:Popular_Science_Monthly_Volume_39.djvu/195
{{FIS
 | file         = PSM V39 D195 Hand weaver.jpg
 | width        = 275px
 | cstyle       = margin-top:8px
 | float        = right
 | caption      = {{sc|Fig. 5.—Hand-weaver.}} (From Schopfer's Panoplia, 1568.)
 | talign       = center
 | margin-left  = 8px
}}

{{ns:6}}
> https://www.mediawiki.org/wiki/Manual:Namespace#Built-in_namespaces
namespace = no.6, ie "File"

Template:sc (small caps)