Difference between revisions of "Template:Column-2"
From LFS Manual
Jump to navigationJump to search (There should not be table tags in the table tag.) |
m |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude><div></noinclude></div> | <noinclude><div></noinclude></div> | ||
− | <div style="float:left;width: | + | <div style="float:left;width:25%;min-width:480px"> |
<noinclude> | <noinclude> | ||
</div> | </div> | ||
Line 21: | Line 21: | ||
{{column-2}} | {{column-2}} | ||
...COLUMN2_DATA... | ...COLUMN2_DATA... | ||
− | {{column-end}}</noinclude> | + | {{column-end}} |
+ | |||
+ | [[Category:Multi-column templates]]</noinclude> |
Latest revision as of 23:48, 1 December 2023
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...