Template:Div col
Jump to navigation
Jump to search
Creates a page division (<div>) formatted into columns with a set width.
Parameters:
- content
- colwidth - optional; default 20em
- rules - optional; may be "yes" for defaults or more specific; see {{column-rule}}
- style - optional; miscellaneous CSS style
{{columns-list}} is an alias for this, except that the first unlabeled parameter is used as content.
Examples
{{Div col|content=
* Black Lotus
* Mox Pearl
* Mox Sapphire
* Mox Jet
* Mox Ruby
* Mox Emerald
* Ancestral Recall
* Time Walk
* Timetwister}}
- Black Lotus
- Mox Pearl
- Mox Sapphire
- Mox Jet
- Mox Ruby
- Mox Emerald
- Ancestral Recall
- Time Walk
- Timetwister
{{Div col|colwidth=30em|content=
* Mox Pearl
* Mox Sapphire
* Mox Jet
* Mox Ruby
* Mox Emerald
* Black Lotus
* Ancestral Recall
* Time Walk
* Timetwister}}
- Mox Pearl
- Mox Sapphire
- Mox Jet
- Mox Ruby
- Mox Emerald
- Black Lotus
- Ancestral Recall
- Time Walk
- Timetwister
{{Div col|colwidth=15em|rules=yes|content=
* Black Lotus
* Mox Pearl
* Mox Sapphire
* Mox Jet
* Mox Ruby
* Mox Emerald
* Ancestral Recall
* Time Walk
* Timetwister}}
- Black Lotus
- Mox Pearl
- Mox Sapphire
- Mox Jet
- Mox Ruby
- Mox Emerald
- Ancestral Recall
- Time Walk
- Timetwister
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 and interwikis to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories and interwikis to the /doc subpage. Subpages of this template.