Create a template that, given a number of columns c and a series of pages, will display the contents of those pages in c columns such as:
- The order of the pages will be kept
- None of the pages will be spread between multiple columns
- The hight of the columns will be as close as possible to each other.
Requirements
HTML/CSS knowledge is necessary to complete this task
Docs
Templates introduction: https://www.mediawiki.org/wiki/Help:Templates (check out the "See also" pages at the bottom as well)
Using HTML in Wikitext: https://en.wikipedia.org/wiki/Help:HTML_in_wikitext
Examples
For instance, given the input:
{{template|cols=3|1=Page1|2=Page2|3=Page3|4=Page4|5=Page5}} , where Page3 is twice as big as the other pages, the output should be
{{Page1}} {{Page3}} {{Page4}} {{Page2}} {{Page5}}
For {{template|cols=2|1=Page1|2=Page2|3=Page3|4=Page4}}, with all pages roughly equal, the output should be
{{Page1}} {{Page3}} {{Page2}} {{Page4}}
I will mentor this task