Template:Div col: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><templatestyles src="Div col/styles.css"/><!-- --><div class="div-col {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!-- -->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- -->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- -->}}><!-- -->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- --></includeonly>")
 
No edit summary
Tag: Manual revert
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
-->}}><!--
-->}}><!--
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!--
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!--
--></includeonly>
--></includeonly><noinclude>
See: https://www.mediawiki.org/wiki/Template:Div_col
 
Allows a list to automatically span across multiple columns, fitting to screen dimensions.
 
Example:
<pre>
{{div col}}
* a
* b
* c
* d
* e
* f
* g
* h
{{div col end}}
</pre>
 
Result:
{{div col}}
* a
* b
* c
* d
* e
* f
* g
* h
{{div col end}}
 
</noinclude>

Latest revision as of 03:06, 22 July 2023

See: https://www.mediawiki.org/wiki/Template:Div_col

Allows a list to automatically span across multiple columns, fitting to screen dimensions.

Example:

{{div col}}
* a
* b
* c
* d
* e
* f
* g
* h
{{div col end}}

Result:

  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h