Template:Columns: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#if: {{{1|}}}|<div style="column-count:{{{1}}};-moz-column-count:{{{1}}};-webkit-column-count:{{{1}}};">|<div style="column-count:3;-moz-column-count:3;-webkit-...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}}|<div style="column-count:{{{1}}};-moz-column-count:{{{1}}};-webkit-column-count:{{{1}}};">|<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3;">| }}</includeonly><noinclude> | <includeonly><!--{{#if: {{{1|}}}|<div style="column-count:{{{1}}};-moz-column-count:{{{1}}};-webkit-column-count:{{{1}}};">|<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3; max-width:90vw;">| }}-->{{#if: {{{1|}}}|{{#switch: {{{1}}} | ||
| 1 = <div class="col"> | |||
| 2 = <div class="col2"> | |||
| 3 = <div class="col3"> | |||
| 4 = <div class="col4"> | |||
}}|<div class="col3">}}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:41, 11 February 2021
Template documentation (for the above template, sometimes hidden or invisible)
Use
For use on pages (or sections) that you wish to divide into columns.
You must put </div> at the end of the page or section you are forming into columns.
Syntax
{{columns|NunColumns}}
Example
{{columns|3}} ===A=== * Aarakocra * {{SRD5|Aboleth}} * ''Angels'' ** {{SRD5|Deva}} ** {{SRD5|Planetar}} ** {{SRD5|Solar}} * ''Animated Objects'' ** {{SRD5|Animated Armor}} *** Strahd's Animated Armor ** Animated Table ** Broom of Animated Attack ** {{SRD5|Flying Sword}} ** {{SRD5|Rug of Smothering}} * {{SRD5|Ankheg}} * Awakened Zurkhwood * {{SRD5|Azer}} ===B=== * Baba Lysaga's Creeping Hut * Banderhobb * Banshee * {{SRD5|Basilisk}} * {{SRD5|Behir}} * Barghest * Barovian Witch * ''Beholders'' ** Beholder ** Death Kiss ** Death Tyrant ** Gauth ** Gazer ** Spectator * ''Blights'' ** Needle Blight ** Tree Blight ** Twig Blight ** Vine Blight * Bodak * Boggle * Bridesmaid of Zuggtmoy * ''Bugbears'' ** {{SRD5|Bugbear}} ** Bugbear Chief * {{SRD5|Bulette}} * Bullywug </div>
produces...
A
- Aarakocra
- Aboleth
- Angels
- Animated Objects
- Animated Armor
- Strahd's Animated Armor
- Animated Table
- Broom of Animated Attack
- Flying Sword
- Rug of Smothering
- Animated Armor
- Ankheg
- Awakened Zurkhwood
- Azer
B
Visit Template:Columns/doc to edit this text! (How does this work?)