Template:Makelist
From Wikipedia, the free encyclopedia
[edit] Template documentation
This template is used to create an unordered list, by default wikilinking every list item. The list is rendered in multiple columns when viewed with a Gecko- or WebKit-based browser.
Contents |
[edit] Usage
It has a maximum capacity of 400 list items. The very first parameter is how many columns you want, expressed with raw digits: 3
[edit] Parameters
- 1st unnamed parameter
- amount of columns
- colwidth
- width of the columns (overrules the amount)
- 2nd to 401st unnamed parameters
- list items
- raw
- if set to yes or y, doesn't turn the list items into links
- style
- additional inline CSS for the wrapper <div>
[edit] Example of usage
[edit] Default
{{Makelist|2|w|e|t|y|u|i|o|p|a|s|d|f|g|h|j|k|l|z|x|c|v|b|n|m|q2|w2|e2|r2|t2|y2|u2|i2}}
produces
[edit] Raw links
{{Makelist|2|raw=y|[[w|www]]|[[e]]|[[t]]|[[y]]|[[u]]|[[i]]|[[o]]|[[p]]|[[a]]|[[s]]|[[d]]|[[f]]|[[g]]|[[h]]|[[j]]|[[k]]|[[l]]|[[z]]|[[x]]|[[c]]|[[v]]|[[b]]|[[n]]|[[m]]|[[q2]]|[[w2]]|[[e2]]|[[r2]]|[[t2]]|[[y2]]|[[u2]]|[[i2]]}}
produces