Template:Box: Difference between revisions

From FamilySearch Wiki
m (category)
(move {{{width}}} parameter inside style declaration)
(7 intermediate revisions by 2 users not shown)
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}}};|}}"
<includeonly>{|  style="{{#if: {{{width|}}} | width:{{{width}}};|}} float:{{{float|left}}}; {{#if: {{{top}}} |  position:relative; 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 29: Line 29:
| #default=ffffff
| #default=ffffff
}};"
}};"
! {{ #switch: {{{header|yes}}}
! <p style="margin:0; background:#{{ #switch: {{{color}}}  
| no =
| yes = <p style="margin:0; background:#{{ #switch: {{{color}}}  
| pink=f2cedf
| pink=f2cedf
| orange=f2dfce
| orange=f2dfce
Line 40: Line 38:
| ldstech=e5e3cf
| ldstech=e5e3cf
| #default=dddddd
| #default=dddddd
}}; {{ #switch: {{{body|yes}}} | no = font-size:100%; font-weight:normal | yes = font-size:120%; font-weight:bold}}; border:1px solid #{{ #switch: {{{color}}}  
}}; font-size:120%; font-weight:bold; border:1px solid #{{ #switch: {{{color}}}  
| pink=bfa3b0
| pink=bfa3b0
| orange=bfb0a3
| orange=bfb0a3
Line 49: Line 47:
| ldstech=999999
| ldstech=999999
| #default=aaaaaa
| #default=aaaaaa
}}; text-align:{{{title-align|left}}}; color:#000; padding:0.2em 0.4em;">{{{title}}}</p>
}}; text-align:left; color:#000; padding:0.2em 0.4em;">{{{title}}}</p>
}}
|-
|-
{{ #switch: {{{body|yes}}} | no = | yes = {{!}} style="color:#000;" {{!}} {{{content}}} }}
|style="color:#000;"| {{{content}}}
|}
|}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 16:04, 19 June 2011


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