Difference between revisions of "Template:Columns/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Usage)
m (→‎Usage)
Line 3: Line 3:
 
If used without parameters, it will produce a flexible, multi-column, 20em column-width list, with a list-style-type of disc, and a font-size of 100%. See more List-style-type options at [https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type Moz. Dev. Network].<br/>
 
If used without parameters, it will produce a flexible, multi-column, 20em column-width list, with a list-style-type of disc, and a font-size of 100%. See more List-style-type options at [https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type Moz. Dev. Network].<br/>
  
−
Examples: [[Foreign Policy Centre#Connections|Foreign Policy Centre]] "Partners and Members"
+
Examples:
 +
* [[Foreign Policy Centre#Connections|Foreign Policy Centre]] "Partners and Members"
 +
* [[Conservatives for Britain]]
  
 
The parameters are:
 
The parameters are:

Revision as of 19:56, 22 May 2018

Usage

Use this template to create a flexible, multi-column list.
If used without parameters, it will produce a flexible, multi-column, 20em column-width list, with a list-style-type of disc, and a font-size of 100%. See more List-style-type options at Moz. Dev. Network.

Examples:

The parameters are:

{{{width}}}   - default = 20em
{{{fsize}}}   - default = 100%
{{{lst}}}     - default = disc (options: [none|disc|circle|square|decimal])
{{{content}}} - whatever content you want to put in here.

Example

Note the use of the {{ColumnsHdr|Board Members}} template to create a heading.

{{Columns|width=15em|lst=square|content=
{{ColumnsHdr|Board Members}}
<li>Nigel Lawson, President</li>
<li>David Campbell Bannerman, Co-Chair</li>
<li>Steve Baker, Co-Chair</li>
... ...
}}

Template:columns