Template:Two column: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(adjusting width calculation method (lesser solution, but works))
m (→‎How to use: cleanup)
Line 14: Line 14:
Copy and paste the following code to use this two-column layout template.
Copy and paste the following code to use this two-column layout template.


<code>test
<code>
{{Two column<br />
{{Two column<br />
| left column width =<br />
| left column width =<br />

Revision as of 21:54, 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

}}

Notes

  • left column width and right column width are optional. If neither is specified, the columns will adjust to their content. This value can be in percent (eg. 50%), pixels (eg. 200px), or any other CSS-compliant length.