Page MenuHomePhabricator

Create a template that allows equilibrated display of a number of pages
Closed, DeclinedPublic


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:

  1. The order of the pages will be kept
  2. None of the pages will be spread between multiple columns
  3. The hight of the columns will be as close as possible to each other.


HTML/CSS knowledge is necessary to complete this task


Templates introduction: (check out the "See also" pages at the bottom as well)
Using HTML in Wikitext:


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

Event Timeline

Strainu created this task.Nov 10 2016, 2:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 10 2016, 2:38 PM

@Strainu: Any pointers to "writing Templates" docs? Any requirements (programming languages like Lua?) that would allow students to judge if they have enough knowledge? Where and how should students test that template? Thanks!
(Also note that you can directly create GCI tasks on the GCI site now if you wanted to.)

Thanks for the feedback! I decided to publish the tasks here because it's easier for the community to follow. I'll move them in bulk to the platform in the next 10 days.

I wouldn't refer to LUA, since it's not really needed from what I can tell (it's more of a HTML/CSS task), but I will add some links to template docs and provide some use cases.

Strainu updated the task description. (Show Details)Nov 10 2016, 3:28 PM
Aklapper closed this task as Declined.Jan 30 2017, 9:57 AM

I'm closing this task in Phabricator as Google-Code-In-2016 is over and requests for templates outside of outreach programs are out of scope for Phabricator.