Difference between revisions of "Template:Columns-list"
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!
m |
|||
Line 4: | Line 4: | ||
== Syntax == | == Syntax == | ||
− | Note: if you are going to make a list, use the HTML syntax (<code><nowiki><ul></ul></nowiki></code> or <code><nowiki><ol></ | + | Note: if you are going to make a list, use the HTML syntax (<code><nowiki><ul></ul></nowiki></code> or <code><nowiki><ol></ol></nowiki></code> to specify wether it is an unordered [or "dots"] or ordered [or "numbered"] list respectively, and then <code><nowiki><li></li></nowiki></code> for each list item inside of any of the previous tags) so the first item also goes inside the list. |
<pre><nowiki> | <pre><nowiki> | ||
{{Columns-list | {{Columns-list |
Latest revision as of 21:31, 4 July 2022
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></ol>
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: