Template:Two column: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(+clear before template)
(test width additions)
Line 1: Line 1:
<div>
<div>
<br style="clear:both;" />
<br style="clear:both;" />
<div style="float:left; width:49%;">
<div style="float:left; width:{{#if:{{{left column width|}}}|{{{left column width}}}|49%}};">
{{{left column}}}
{{{left column}}}
</div>
</div>
<div style="float:right; width:49%;">
<div style="float:right; width:{{#if:{{{right column width|}}}|{{{left column width}}}|49%}};">
{{{right column}}}
{{{right column}}}
</div>
</div>
Line 16: Line 16:
<code>
<code>
{{Two column<br />
{{Two column<br />
| left column width =<br />
| left column =<br />
| left column =<br />
<br />
<br />
YOUR LEFT COLUMN CONTENT HERE<br />
YOUR LEFT COLUMN CONTENT HERE<br />
<br />
<br />
| right column width =<br />
| right column =<br />
| right column =<br />
<br />
<br />left
YOUR RIGHT COLUMN CONTENT HERE<br />
YOUR RIGHT COLUMN CONTENT HERE<br />
<br />
<br />

Revision as of 21:08, 27 September 2011


{{{left column}}}

{{{right column}}}



How to use

Copy and paste the following code to use this two-column layout template.

{{Two column
| left column width =
| left column =

YOUR LEFT COLUMN CONTENT HERE

| right column width =
| right column =

left YOUR RIGHT COLUMN CONTENT HERE

}}