Template: DisambigImgBox
From Trekipedia
m |
m |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="width:{{{boxwidth| | + | <div style="width:{{{boxwidth|30%}}};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-left,margin-right:auto;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: | + | <div class="BoxOutline ButtonBottom" style="width:100%;{{{imgboxother}}}"> |
− | <div style="text-align:center;margin:auto;">[[File:{{{imgname| | + | <div style="text-align:center;margin:auto;margin-top:5px;">[[File:{{{imgname|trekipedia-16x9.jpg}}}|link={{{link}}}|{{{caption}}}|class=img-responsive]]<br/>[[{{{link}}}|{{{caption}}}]]</div> |
</div> | </div> | ||
</div><noinclude> | </div><noinclude> | ||
{{Clear}} | {{Clear}} | ||
− | + | {{DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxother=|imgname=|size=|link=|caption=}} | |
Variables: | Variables: | ||
− | * boxwidth (default | + | * boxwidth (default 30%) |
* float (right/left/center) (default left) | * float (right/left/center) (default left) | ||
* boxother (misc CSS elements) | * boxother (misc CSS elements) | ||
* timeline | * timeline | ||
− | * imgboxwidth (default | + | * imgboxwidth (default 100%) |
* imgboxother (misc CSS elements) | * imgboxother (misc CSS elements) | ||
− | * imgname | + | * imgname (default Trekipedia logo) |
− | |||
* border (in pixels; default 1) | * border (in pixels; default 1) | ||
* link | * link |
Latest revision as of 16:25, 23 March 2023
{{DisambigImgBox|boxwidth=|float=|boxother=|timeline=|imgboxother=|imgname=|size=|link=|caption=}}
Variables:
- boxwidth (default 30%)
- float (right/left/center) (default left)
- boxother (misc CSS elements)
- timeline
- imgboxwidth (default 100%)
- imgboxother (misc CSS elements)
- imgname (default Trekipedia logo)
- border (in pixels; default 1)
- link
- caption