• Home
  • Blog
  • About Us
  • Contact
Local City Guide
  • Français
  • Italiano
  • English
  • ...
  • Home
  • Blog
  • About Us
Contact


Template documentation[view] [edit] [history] [purge]

TemplateData

[edit]

Breaks a list into columns. It automatically breaks each column to an equal space, so you do not manually have to find the half way point on two columns. The list is provided by |content= or closed with {{div col end}}.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Column widthcolwidth

Specifies the width of columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays.

Example
30em
Stringoptional
Rulesrules

Produces vertical rules between the columns if set to yes.

Example
yes
Stringoptional
Gap sizegap

Specifies the space between the content of adjacent columns.

Example
2em
Stringoptional
HTML classclass

Specifies any class or multiple space-delimited classes.

Example
plainlist nowrap
Stringoptional
CSS stylestyle

Specifies any custom styling.

Stringoptional
Contentcontent

Specifies the content to divide into columns

Contentoptional
Small fontsmall

Use a smaller font size (90%)

Example
yes
Stringoptional
The above documentation is transcluded from Template:Div col/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikivoyage.org/w/index.php?title=Template:Div_col&oldid=4698699"


Explore the world

newyork

United states

New York

Tokyo

Japan

Tokyo

Singapo

Singapore

Singapore

barca

Spain

Barca

2022 © Local City Guide. All rights reserved.

Privacy Policy | Terms of Service