Difference between revisions of "Template:Column-end"

From LFS Manual
Jump to navigationJump to search
(Created page with "<p></p> |}<noinclude> == Template documentation == This template is used to create two columns. Put a '''<nowiki>{{column-begin}}</nowiki>''' before the first column, put a ''...")
 
m (fixing mistake.)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<p></p>
+
<noinclude><div></noinclude></div>
|}<noinclude>
+
{{-}}<noinclude>
 
== Template documentation ==
 
== Template documentation ==
 
This template is used to create two columns. Put a '''<nowiki>{{column-begin}}</nowiki>''' before the first column, put a '''<nowiki>{{column-2}}</nowiki>''' before the second column and use a '''<nowiki>{{column-end}}</nowiki>''' after the second column.
 
This template is used to create two columns. Put a '''<nowiki>{{column-begin}}</nowiki>''' before the first column, put a '''<nowiki>{{column-2}}</nowiki>''' before the second column and use a '''<nowiki>{{column-end}}</nowiki>''' after the second column.
 +
 +
When the contents are overlapping, change the value of ''min-width'' in [[Template:Column-begin]] and [[Template:Column-2]].
 +
 
=== Copy-paste format / example ===
 
=== Copy-paste format / example ===
 
<pre>
 
<pre>
Line 16: Line 19:
 
{{column-2}}
 
{{column-2}}
 
...COLUMN2_DATA...
 
...COLUMN2_DATA...
{{column-end}}</noinclude>
+
{{column-end}}
 +
</noinclude>

Revision as of 15:09, 22 March 2017


Template documentation

This template is used to create two columns. Put a {{column-begin}} before the first column, put a {{column-2}} before the second column and use a {{column-end}} after the second column.

When the contents are overlapping, change the value of min-width in Template:Column-begin and Template:Column-2.

Copy-paste format / example

{{column-begin}}
...COLUMN1_DATA...
{{column-2}}
...COLUMN2_DATA...
{{column-end}}

Result

...COLUMN1_DATA...

...COLUMN2_DATA...