Difference between revisions of "Template:Portal box"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
Line 1: Line 1:
<div style="{{#ifeq: {{{column}}} | left | float:left; width:49%; | {{#ifeq: {{{column}}} | right | float:right; width:49%; | {{#ifeq: {{{column}}} | both | clear:both; width: 100% |}}}}}} border:1px solid black; padding:0;">
+
<div style="{{#ifeq: {{{column}}} | left | float:left; width:49%; | {{#ifeq: {{{column}}} | right | float:right; width:49%; | {{#ifeq: {{{column}}} | both | clear:both; width:100%; |}}}}}} border:1px solid black; padding:0;">
 
<div style="border-bottom:1px solid black; background:lightsteelblue; font-weight:bold; font-style:italic; text-align:center;">{{{title}}}</div>
 
<div style="border-bottom:1px solid black; background:lightsteelblue; font-weight:bold; font-style:italic; text-align:center;">{{{title}}}</div>
 
<div style="padding:0.5em;">{{#if: {{{image|}}} | <div style="margin-right:0.5em;margin-bottom:0.5em; float:left;">[[{{{image}}}|100px|]]</div>|}}{{{content}}}</div>
 
<div style="padding:0.5em;">{{#if: {{{image|}}} | <div style="margin-right:0.5em;margin-bottom:0.5em; float:left;">[[{{{image}}}|100px|]]</div>|}}{{{content}}}</div>
 
</div>
 
</div>

Revision as of 16:28, 2 October 2014

{{{title}}}
{{{content}}}