Template:Columns: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Created page with "{| style="width: {{{width|90%}}};" | style="width: {{#if:{{{3|}}}| {{#if:{{{4|}}}| 25% | 33% }} | 50% }}" | {{{1}}} | style="width: {{#if:{{{3|}}}| {{#if:{{{4|}}}| 25% | 33% }...")
 
No edit summary
Line 9: Line 9:
Use this to split a list of items into columns.
Use this to split a list of items into columns.


{| class = "wikitable"
{| class="wikitable"
! Parameter || Mandatory || Default || Detailed description
! Parameter || Mandatory || Default || Detailed description
|-
|-
Line 37: Line 37:


==Examples==
==Examples==
{| class = "wikitable"
{| class="wikitable" style="width: 400px"
! Code || Result
! Code || Result
|-
|-

Revision as of 05:56, April 6, 2015

{{{1}}} {{{2}}}

Info

Use this to split a list of items into columns.

Parameter Mandatory Default Detailed description
1 - 2 Yes First and second columns.
3 - 4 No Third and fourth columns.
width No 90% How wide the entire "table" will be.

Skeleton

{{columns| width=<width>
|
<col 1>
|
<col 2>
|
<col 3>
|
<col 4>
}}

Examples

Code Result
{{columns
|
*Item 1
*Item 2
*Item 3
|
*Item 4
*Item 5
*Item 6
}}
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 5
  • Item 6