Template:Box: Difference between revisions

From FamilySearch Wiki
(Undo revision 234061 by CottrellS (Talk))
m (category)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| width="{{{width}}}" style="float:{{{float}}}; {{#if: {{{top}}} |  position:relative; top:{{{top}}};}}"
<includeonly>{| style="margin: .5em .5em .5em .5em; {{#if: {{{width|}}} | width:{{{width}}};|}} float:{{{float|left}}}; {{#if: {{{top}}} |  position:relative; z-index: 100; top:{{{top|0px}}};|}}"
| class="MainPageBG" style="width:100%; border:1px solid #{{ #switch: {{{color}}}  
| class="MainPageBG" style="width:100%; border:1px solid #{{ #switch: {{{color}}}  
| pink=f2cedf
| pink=f2cedf
Line 19: Line 19:
| #default=ffffff
| #default=ffffff
}}; vertical-align:top;"|
}}; vertical-align:top;"|
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#{{ #switch: {{{color}}}  
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; margin-bottom: 0px; background:#{{ #switch: {{{color}}}  
| pink=fff5fa
| pink=fff5fa
| orange=fffaf5
| orange=fffaf5
Line 29: Line 29:
| #default=ffffff
| #default=ffffff
}};"
}};"
! <p style="margin:0; background:#{{ #switch: {{{color}}}  
! {{ #switch: {{{header|yes}}}
| no =
| yes = <p style="margin:0; background:#{{ #switch: {{{color}}}  
| pink=f2cedf
| pink=f2cedf
| orange=f2dfce
| orange=f2dfce
Line 38: Line 40:
| ldstech=e5e3cf
| ldstech=e5e3cf
| #default=dddddd
| #default=dddddd
}}; font-size:120%; font-weight:bold; border:1px solid #{{ #switch: {{{color}}}  
}}; {{ #switch: {{{body|yes}}} | no = font-size:100%; font-weight:normal | yes = font-size:120%; font-weight:bold}}; border:1px solid #{{ #switch: {{{color}}}  
| pink=bfa3b0
| pink=bfa3b0
| orange=bfb0a3
| orange=bfb0a3
Line 47: Line 49:
| ldstech=999999
| ldstech=999999
| #default=aaaaaa
| #default=aaaaaa
}}; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p>
}}; text-align:{{{title-align|left}}}; color:#000; padding:0.2em 0.4em;">{{{title}}}</p>
}}
|-
|-
|style="color:#000;"| {{{content}}}
{{ #switch: {{{body|yes}}} | no = | yes = {{!}} style="color:#000;" {{!}} {{{content}}} }}
|}
|}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 14:24, 26 September 2017


[view] [edit] [history] [purge] Documentation icon Template documentation