The new Waze Wiki, aka Wazeopedia, is now live at Wazeopedia.waze.com! While this legacy wiki will remain accessible for the time being, it is no longer updated by the community. For the most up-to-date guidance, please visit your local Wazeopedia.

Please do not make any more updates to these legacy wiki pages, all future updates should be made in your country's local Wazeopedia.

Clock over a larger globe

Difference between revisions of "Template:Div col"

From waze
Jump to: navigation, search
(move templatedata to Template:Div col/doc - it is documentation)
 
m (1 revision)
 
(No difference)

Latest revision as of 12:59, 9 December 2014

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

Columns are not supported by some older browsers, most notably Internet Explorer 9 and below and Opera 11.0 and below.


Parameters

, together with Template:Div col end, is used to make a list into columns. It automatically breaks each column into an equal space, meaning, for instance, it isn't necessary to work out the halfway point between two columns. The template also offers options to set a smaller (90%) font-size (|small=yes), place vertical lines ("rules") between the columns (|rules=) and to add other custom styling (|style=).


Usage

|colwidth= or second unnamed parameter

   Specifies the minimum width of the columns and determines automatically the number of columns based on screen width (i.e. more columns will be shown on wider displays). Overrides cols. Specified in any CSS unit, for instance in em, about the width of a capital "M", e.g, colwidth=20em

|rules=

   Adds vertical lines ("rules") between the columns if set to yes or some CSS styling (e.g. 1px dashed blue;).

|gap=

   Specifies the space between the content of adjacent columns. Specified in any CSS unit, e.g, gap=2em. The default spacing is 1em.

|style=

   CSS styling to apply to the columns.



Examples


  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h

Template:Div col end

The above documentation is transcluded from Template:Div col/doc.
Please add categories to the /doc subpage.
Subpages of this template.