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!

(Created page with "<includeonly>{{#if: {{{1|}}}|<div class="columns-list {{{class|}}}" style="columns: {{{columns|2}}}; {{#if: {{{gap|}}}|gap: {{{gap|}}}; column-gap: {{{gap|}}}}} {{#if: {{{smal...")
 
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|<div class="columns-list {{{class|}}}" style="columns: {{{columns|2}}}; {{#if: {{{gap|}}}|gap: {{{gap|}}}; column-gap: {{{gap|}}}}} {{#if: {{{small|true}}}|font-size: 90%;}} {{{style|}}}">
+
<includeonly>{{#if: {{{1|}}}|<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>
{{{content|}}}
 
</div>}}}}</includeonly><noinclude>
 
 
== Syntax ==
 
== Syntax ==
 
<pre><nowiki>
 
<pre><nowiki>

Revision as of 08:25, 21 December 2021

Syntax

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

Example

{{Columns-list
| content =
* {{Ilink|Wood}}
* {{Ilink|Cobblestone}}
* {{Ilink|Wooden Planks}}
* {{Ilink|Stone}}
* {{Ilink|Stick}}
| gap = 2em
| small = true
}}
Results in: