Difference between revisions of "Template:Columns-list"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

Line 1: Line 1:
<includeonly><div class="columns-list {{{class|}}}" style="columns: {{{columns|2}}}; {{#if: {{{gap|}}}|gap: {{{gap|}}}; column-gap: {{{gap|}}}}} {{#if: {{{small|true}}}|font-size: 90%;}} {{{style|}}}">{{{content|}}}</div></includeonly><noinclude>
+
<includeonly><div class="columns-list {{{class|}}}" style="columns: {{{columns|2}}}; {{#if: {{{gap|}}}|gap: {{{gap|}}}; column-gap: {{{gap|}}};}} {{#if: {{{small|true}}}|font-size: 90%;}} {{{style|}}}">{{{content|}}}</div></includeonly><noinclude>
 
== About ==
 
== About ==
 
This template allows users to quickly add content separated by columns into a page.
 
This template allows users to quickly add content separated by columns into a page.

Revision as of 07:35, 21 December 2021

About

This template allows users to quickly add content separated by columns into a page.

Syntax

Note: if you are going to make a list, use the HTML syntax (<ul></ul> or <ol></ul> to specify wether it is an unordered [or "dots"] or ordered [or "numbered"] list respectively, and then <li></li> for each list item inside of any of the previous tags) so the first item also goes inside the list.

{{Columns-list
| content = 
| columns = 
| class = 
| style = 
| gap = 
| small = <true>?
}}

Example

{{Columns-list
| content = 
<ul>
<li>{{Ilink|Wood}}</li>
<li>{{Ilink|Cobblestone}}</li>
<li>{{Ilink|Wooden Planks}}</li>
<li>{{Ilink|Stone}}</li>
<li>{{Ilink|Stick}}</li>
</ul>
| gap = 2em
| small = true
}}
Results in: