Template: DisambigImgBox
From Trekipedia
m |
m |
||
Line 1: | Line 1: | ||
<div style="width:{{{boxwidth|280px}}};margin-right:0.2em;float:{{{float|left}}};{{{boxother}}}"> | <div style="width:{{{boxwidth|280px}}};margin-right:0.2em;float:{{{float|left}}};{{{boxother}}}"> | ||
− | <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="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin-left,margin-right:auto;margin-bottom:.1em;">{{{timeline}}}</div> |
− | <div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth| | + | <div class="BoxOutline ButtonBottom" style="width:{{{imgboxwidth|270px}}};{{{imgboxother}}}"> |
− | <div style="text-align:center;margin:5px;">[[File:{{{imgname|Federation-Historical-Society.png}}}|{{{size|250x250px}}} | + | <div style="text-align:center;margin:5px;">[[File:{{{imgname|Federation-Historical-Society.png}}}|{{{size|250x250px}}}|link={{{link}}}|{{{caption}}}]]<br/>[[{{{link}}}|{{{caption}}}]]</div> |
</div> | </div> | ||
</div><noinclude> | </div><noinclude> | ||
Line 13: | Line 13: | ||
* boxother (misc CSS elements) | * boxother (misc CSS elements) | ||
* timeline | * timeline | ||
− | * imgboxwidth (default | + | * imgboxwidth (default 270px) |
* imgboxother (misc CSS elements) | * imgboxother (misc CSS elements) | ||
* imgname | * imgname |
Revision as of 00:06, 8 May 2020
{ {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 270px)
- imgboxother (misc CSS elements)
- imgname
- size (default 250x250px)
- border (in pixels; default 1)
- link
- caption