Template:Columns: Difference between revisions

From Rlyehwiki
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-...")
 
No edit summary
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;">| }}-->{{#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>

Revision as of 19:47, 22 September 2019

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

B

  • Baba Lysaga's Creeping Hut
  • Banderhobb
  • Banshee
  • Basilisk
  • 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
  • Bulette
  • Bullywug



Visit Template:Columns/doc to edit this text! (How does this work?)