farcical-arrest
farcical-arrest
farcical-arrest
farcical-arrest
Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Create a Page
Contribution scores
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
WikiGrenada
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Div col/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Usage== === Basic usage === <pre> {{div col}} <!-- default width is 30em --> * a * b * c * d * e * f * g * h {{div col end}} </pre> Produces: {{Div col}} * a * b * c * d * e * f * g * h {{Div col end}} ===Parameters=== There are six parameters for this template: ; {{para|colwidth}} : Specifies the minimum width of the columns so that the number of columns is automatically based on screen width (that is, more columns will be shown on wider displays). If no value is supplied, the template uses a default of 30em. The width can be specified in any [[CSS#Length units|CSS unit of measure]], for instance, the [[Em (typography)|em]] (about the width of the capital "M" of the displayed typeface), e.g., <code>colwidth=20em</code>. ; {{para|rules|yes}} : Adds vertical lines ("rules") between the columns if set to <code>yes</code>. ; {{para|gap}} : Specifies the space between the content of adjacent columns, in any valid CSS width unit, e.g., <code>gap=2em</code>. The default spacing (set by browser) is 1em. ; {{para|class}} : An HTML class, or multiple space-delimited classes, to apply to the columns. For example, <code>class=plainlist nowrap</code>. ; {{para|style}} : [[Cascading Style Sheets|CSS styling]] to apply to the columns. ; {{para|small|yes}} : Sets font size to 90%. ; {{para|content}} : Content to apply to the columns. This parameter is effectively equivalent to {{tl|columns-list}}, which is a pass-through for this template. === Examples === ====Colwidth==== <pre> {{div col|colwidth=10em}} <!-- column width of 10em --> * a * b * c * d * e * f * g * h {{div col end}} </pre> Produces: {{Div col|colwidth=10em}} * a * b * c * d * e * f * g * h {{Div col end}} ====Rules==== <pre> {{Div col|colwidth=10em|rules=yes}} <!-- column width of 10em with rules --> * a * b * c * d * e * f * g * h {{Div col end}} </pre> Produces: {{Div col|colwidth=10em|rules=yes}} * a * b * c * d * e * f * g * h {{Div col end}} ====Gap==== <pre> {{Div col|colwidth=10em|rules=yes|gap=2em}} <!-- column width of 10em with rules and a gap of 2em --> * a * b * c * d * e * f * g * h {{Div col end}} </pre> Produces: {{Div col|colwidth=10em|rules=yes|gap=2em}} * a * b * c * d * e * f * g * h {{Div col end}} ====Small==== <pre> {{Div col|small=yes}} <!-- Small = yes --> * a * b * c * d * e * f * g * h {{Div col end}} </pre> Produces: {{Div col|small=yes}} * a * b * c * d * e * f * g * h {{Div col end}} ====Content==== <pre> {{Div col|colwidth=10em|content= <!-- content parameter doesn't need {{div col end}} --> * a * b * c * d * e * f * g * h }} </pre> Produces: {{Div col|colwidth=10em|content= * a * b * c * d * e * f * g * h }} ====Multiple parameters==== <pre> {{Div col|colwidth=10em|rules=yes|gap=2em|small=yes}} * a * b * c * d * e * f * g * h {{Div col end}} </pre> Produces: {{Div col|colwidth=10em|rules=yes|gap=2em|small=yes}} * a * b * c * d * e * f * g * h {{Div col end}} ==== Text characters without list markup ==== <pre> {{div col|colwidth=10em}} <!--Text characters without list markup --> a b c d e f g h {{div col end}} </pre> Produces {{Div col|colwidth=10em}} a b c d e f g h {{Div col end}} ==== Lorem ipsum ==== <pre> {{div col}} <!--Lorem ipsum --> {{lorem ipsum}} {{div col end}} </pre> Produces {{Div col}} {{lorem ipsum}} {{Div col end}}
Summary:
Please note that all contributions to WikiGrenada are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
WikiGrenada:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, please solve the following captcha:
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template:Div col/doc
(section)
Add topic