Template:Columns

From Pillars of Eternity Wiki
Jump to: navigation, search
Template-info.png Documentation

This template formats text into the specified number of columns, or into however many columns that will fit into a specified width. It is especially useful to wrap long lists of items into multiple columns.

Usage

Type {{Columns|# of columns OR pixel/percentage width|list or text}}. For example the code bellow will split the list into 2 columns:

{{Columns|2|
* 1
* 2 
* 3 
* 4 
* 5 
* 6
}}

Result:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
{{Columns|50px|
* 1
* 2 
* 3 
* 4 
* 5 
* 6
}}

Result:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6