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 |
||
(One intermediate revision by the same user not shown) | |||
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> | ||
|}</div> | |}</div> | ||
− | {{ | + | {{Sidebar|boxwidth=|float=|boxother=|imgboxwidth=|imgboxother=|name=|file=|caption=}}<br/> |
{{TableRow|title=|data=}}<br/> | {{TableRow|title=|data=}}<br/> | ||
|}</div> | |}</div> |
Latest revision as of 10:23, 30 August 2024
{{Sidebar|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