Difference between revisions of "Template:Columns/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Usage)
m
Line 12: Line 12:
 
</pre>
 
</pre>
  
−
=== Small Example ===
+
=== Example ===
 
<pre>
 
<pre>
 
{{columns|width=15|lst=square|content=
 
{{columns|width=15|lst=square|content=
Line 39: Line 39:
 
}}
 
}}
  
−
=== All Parameters Example ===
 
−
<pre>
 
−
{{columns
 
−
|width = 30em   
 
−
|fsize = 90%   
 
−
|content = ... ...
 
−
}}
 
−
</pre>
 
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 17:57, 27 April 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 Foreign Policy Centre "Partners and Members" for an in-use example.

The parameters are:

{{{width}}}   - default = 20em
{{{fsize}}}   - default = 100%
{{{lst}}}     - default = disc (options: [none|disc|circle|square|decimal]) More options at [https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type Moz. Dev. Network]
{{{content}}} - whatever content you want to put in here.

Example

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

Template:columns