Template: Sidebar
From Trekipedia
(Created page with "<div class="BoxOutline ButtonAll" style="background-color:#000;text-align:center;width:{{{boxwidth|35%}}};float:{{{float|right}}};{{{boxother}}}"> <div class="HeaderRow Button...") |
m |
||
Line 1: | Line 1: | ||
<div class="BoxOutline ButtonAll" style="background-color:#000;text-align:center;width:{{{boxwidth|35%}}};float:{{{float|right}}};{{{boxother}}}"> | <div class="BoxOutline ButtonAll" style="background-color:#000;text-align:center;width:{{{boxwidth|35%}}};float:{{{float|right}}};{{{boxother}}}"> | ||
<div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin:auto;margin-bottom:5px;">{{{name|{{PAGENAME}}}}}</div> | <div class="HeaderRow ButtonTop GreenBG" style="text-align:center;font-variant:small-caps;font-size:1.5em;color:#000;margin:auto;margin-bottom:5px;">{{{name|{{PAGENAME}}}}}</div> | ||
− | <div style="text-align:center;">[[File:{{#if {{{imgname|}}} | {{{imgname|trekipedia-16x9}}}.jpg | {{{file|trekipedia-16x9.jpg}}} }}|{{{caption}}}|center|class=img-responsive]]<br/>{{{caption|UFP Historical Society}}}</div> | + | <div style="text-align:center;">[[File:{{#if: {{{imgname|}}} | {{{imgname|trekipedia-16x9}}}.jpg | {{{file|trekipedia-16x9.jpg}}} }}|{{{caption}}}|center|class=img-responsive]]<br/>{{{caption|UFP Historical Society}}}</div> |
{|style="width:100%;" | {|style="width:100%;" | ||
<noinclude> | <noinclude> |
Revision as of 11:08, 8 November 2023
{{ImageInfoBox|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=|file=|caption=}}
{{TableRow|title=|data=}}
|}</div>
Variables:
- boxwidth (default 30%)
- float (right/left/center) (default right)
- boxother (misc CSS elements)
- name
- imgboxwidth (default 290px)
- imgboxother (misc CSS elements)
- file (imgname from old templates)
- imgwidth (default 280px)
- caption