Template:ImageBox: Difference between revisions

From FamilySearch Wiki
(t)
(t)
Line 1: Line 1:
<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}}} | pink=f2cedf | orange=f2dfce | yellow=f2f2ce | green=cef2e0 | blue=cedff2 | purple=ddcef2 | ldstech=aaaaaa | #default=dddddd }}; background:#{{ #switch: {{{color}}} | pink=fff5fa | orange=fffaf5 | yellow=fffff5 | green=f5fffa | blue=f5faff | purple=faf5ff | ldstech=e5e3cf | #default=ffffff }}; vertical-align:top;"| {[[File:Computer keyboard.gif|40px]] | width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; margin-bottom: 0px; background:#{{ #switch: {{{color}}} | pink=fff5fa | orange=fffaf5 | yellow=fffff5 | green=f5fffa | blue=f5faff | purple=faf5ff | ldstech=f2f3e5 | #default=ffffff }};" ! {{ #switch: {{{header|yes}}} | no = | yes = {{{title}}} }} |- {{ #switch: {{{body|yes}}} | no = | yes = {{!}} style="color:#000;" {{!}} {{{content}}} }} |} |}</includeonly> <noinclude>{{Documentation}}</noinclude>
<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}}}  
| pink=f2cedf
| orange=f2dfce
| yellow=f2f2ce
| green=cef2e0
| blue=cedff2
| purple=ddcef2
| ldstech=aaaaaa
| #default=dddddd
}}; background:#{{ #switch: {{{color}}}  
| pink=fff5fa
| orange=fffaf5
| yellow=fffff5
| green=f5fffa
| blue=f5faff
| purple=faf5ff
| ldstech=e5e3cf
| #default=ffffff
}}; vertical-align:top;"|
{| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; margin-bottom: 0px; background:#{{ #switch: {{{color}}}  
| pink=fff5fa
| orange=fffaf5
| yellow=fffff5
| green=f5fffa
| blue=f5faff
| purple=faf5ff
| ldstech=f2f3e5
| #default=ffffff
}};"
! {{ #switch: {{{header|yes}}}
| no =
| yes = <p style="margin:0; background:#{{ #switch: {{{color}}}
| pink=f2cedf
| orange=f2dfce
| yellow=f2f2ce
| green=cef2e0
| blue=cedff2
| purple=ddcef2
| ldstech=e5e3cf
| #default=dddddd
}}; {{ #switch: {{{body|yes}}} | no = font-size:100%; font-weight:normal | yes = font-size:120%; font-weight:bold}}; border:1px solid #{{ #switch: {{{color}}}
| pink=bfa3b0
| orange=bfb0a3
| yellow=bfbfa3
| green=a3bfb1
| blue=a3b0bf
| purple=afa3bf
| ldstech=999999
| #default=aaaaaa
}}; text-align:{{{title-align|left}}}; color:#000; padding:0.2em 0.4em;">{{{title}}}</p>
}}
|-
{{ #switch: {{{body|yes}}} | no = | yes = {{!}} style="color:#000;" {{!}} {{{content}}} }}
|}
|}</includeonly>

Revision as of 11:22, 17 September 2012