Template: ImageBox2
From Trekipedia
m |
m |
||
Line 1: | Line 1: | ||
{{BoxOutline|width={{{width|300px}}}|float={{{float|right}}}|other={{{other}}} }} | {{BoxOutline|width={{{width|300px}}}|float={{{float|right}}}|other={{{other}}} }} | ||
<div class="banner-image {{#ifeq: {{{align|}}}|left| banner-image-left|}}{{#ifeq: {{{align|}}}|none| banner-image-none|}}{{#ifeq: {{{align|}}}|center| banner-image-center|}}" style="max-width:{{{width|300px}}};{{#ifeq: {{{padding|}}}|no|| padding-left:1.5em;}}"> | <div class="banner-image {{#ifeq: {{{align|}}}|left| banner-image-left|}}{{#ifeq: {{{align|}}}|none| banner-image-none|}}{{#ifeq: {{{align|}}}|center| banner-image-center|}}" style="max-width:{{{width|300px}}};{{#ifeq: {{{padding|}}}|no|| padding-left:1.5em;}}"> | ||
− | [[File:{{{file|Federation-Historical-Society.png}}}|{{{width|350px}}}| | + | [[File:{{{file|Federation-Historical-Society.png}}}|{{{width|350px}}}|alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|}}}}}]]{{#if: {{{caption|}}}| |
<p style="font-size: 90%;"> | <p style="font-size: 90%;"> | ||
{{{caption}}} | {{{caption}}} | ||
Line 16: | Line 16: | ||
* padding | * padding | ||
* file | * file | ||
− | |||
* caption | * caption | ||
* link | * link |
Revision as of 04:33, 7 May 2020
Variables:
- width (default=350px)
- float (default=right)
- other (e.g. clear:right;)
- align
- padding
- file
- caption
- link