Template:columns: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Line 80: Line 80:
* xyz
* xyz
}}
}}
 
[[Category:Templates]]</noinclude>
</noinclude>

Revision as of 13:16, 1 February 2023

Usage

Default setting:

{{columns|
* abc0123
* def456
* ghi78
* jkl9
* mn
* opq
* rst
* uvw
* xyz
}}

Yields:

  • abc0123
  • def456
  • ghi78
  • jkl9
  • mn
  • opq
  • rst
  • uvw
  • xyz

Specified number of columns:

{{columns|number=3|
* abc0123
* def456
* ghi78
* jkl9
* mn
* opq
* rst
* uvw
* xyz
}}

Yields:

  • abc0123
  • def456
  • ghi78
  • jkl9
  • mn
  • opq
  • rst
  • uvw
  • xyz

Specified width:

{{columns|width=16em|
* abc0123
* def456
* ghi78
* jkl9
* mn
* opq
* rst
* uvw
* xyz
}}

Yields:

  • abc0123
  • def456
  • ghi78
  • jkl9
  • mn
  • opq
  • rst
  • uvw
  • xyz