Template: DisambigImgBox
From Trekipedia
(Created page with "<div style="width:{{{boxwidth|280px}}};float:{{{float|left}}};{{{boxother}}}"> <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-s...") |
m |
||
Line 1: | Line 1: | ||
<div style="width:{{{boxwidth|280px}}};float:{{{float|left}}};{{{boxother}}}"> | <div style="width:{{{boxwidth|280px}}};float:{{{float|left}}};{{{boxother}}}"> | ||
− | <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;">{{{timeline}}}</div> | + | <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin-bottom:.1em;">{{{timeline}}}</div> |
<div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|260px}}};{{{imgboxother}}}"> | <div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|260px}}};{{{imgboxother}}}"> | ||
− | <div style="text-align:center;margin:5px;">[[File:{{{imgname}}}.jpg|{{{size|250x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>{{{caption}}</div> | + | <div style="text-align:center;margin:5px;">[[File:{{{imgname}}}.jpg|{{{size|250x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>{{{caption}}}</div> |
</div> | </div> | ||
</div><noinclude> | </div><noinclude> | ||
− | { {DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxwidth=|imgboxother=|imgname=|size=|link=|caption=} } | + | {{Clear}} |
− | + | { {DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxwidth=|imgboxother=|imgname=|size=|link=|caption=} } | |
Variables: | Variables: | ||
Line 23: | Line 23: | ||
[[Category:Layout Templates]] | [[Category:Layout Templates]] | ||
</noinclude> | </noinclude> | ||
− |
Revision as of 19:19, 28 April 2020
{{{timeline}}}
[[File:{{{imgname}}}.jpg|250x250px|link={{{link}}}|{{{caption}}}]]
{{{caption}}}
{{{caption}}}
{ {DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxwidth=|imgboxother=|imgname=|size=|link=|caption=} }
Variables:
- boxwidth (default 280px)
- float (right/left/center) (default left)
- boxother (misc CSS elements)
- timeline
- imgboxwidth (default 260px)
- imgboxother (misc CSS elements)
- imgname
- size (default 250x250px)
- link
- caption