Forum:Row add button

Another one for the experts. I have a large number of tables that are held in templates, based on this one - Here some have more or less colums depending on vehicle type. What i could do with a button to add a new row to the table, preferably via an form or input box. I know there is the semantic wiki and a forms based one but to migrate the site to a complete new structure would be a pain as i have few very regulare contributors. So a pop up box with pre defined lables and data input boxes to match the cells & createa new row that could be moved manually into the corret 'sorted' location from the bottom or below the table, on the sub page would speed up populating the tables.

Any suggestions for similar items on other wikis to adapt ? - BulldozerD11 21:44, May 27, 2010 (UTC)


 * You may want to check out DPL, an extension which allows you to make lists/tables out of pages of data. In conjunction with InputBox this may work for you. --Pcj (T&bull;C) 22:05, May 27, 2010 (UTC)


 * You probably need to use Special:Contact to enable DPL on your Wikia. -- Fandyllic  (talk &middot; contr) 3:36 PM PST 27 May 2010


 * Thanks, I came across that DPL in templates to create pages I tried to use from the Marvel Wiki. They had a huge section of code for DPL in at the base of each template. I had a look then but it did not make much sense to me then & did not want to ask for something to be enabled that I could not actual use / programme. There appear to be loads of different extensions but understanding which will actually work for me is tricky, as some may not be compatible. The problem is the fundamental key of programming is knowing what you want and I dont ! as the goal posts appear to move & the number of related subject areas increase (or is it).


 * I'm creating a mix of Wikipedia- encyclopaedia for pages of text with some images, A database for tables of data, but with no one common key item (probably), and Flikr - a library of images attached to the data (tags ?).
 * Thanks Fandyllic for note about enabling extensions on request - BulldozerD11 23:53, May 27, 2010 (UTC)


 * The best way to learn about any advanced bit of wiki code is to try out the examples, see what happens, and see if you can manipulate it to something that works for you. --Pcj (T&bull;C) 00:15, May 28, 2010 (UTC)

Hi Pcj - Trial and error and recycling existing is how I started creating template's (hence asking for any similat/suitable examples).

A template I tried to create from a page on the "Marvel Wiki" was supposed to act as a front end to multiple page creation templates that uses the CreateBox function Here's my version - I got stuck understanding the templates it calls and converting them and left it as I was not getting very far adding content. the original versions had DPL in them IIRC. One i starred adapting is Here when it gets to the section full of divs (that create the infobox) it started to get too complex for me to understand (HTML / CSS is double dutch to me). I got the next section eventually that creates the page with headings bases on the input in the first bit. Next is the usage data which I part sorted out to work. Last is the categories section which was part fixed. The Optional fields section (visible when previewed) are from the original template. I had tried to get the creator to explain it but he declined. - BulldozerD11 01:02, May 28, 2010 (UTC)

Do you have any examples of a template that will add a new section using InputBox, CreateBox or CreateArticle 'buttons' or similar into an existing Table (in a template page) as the Table page is transcluded for several reasons into the main article page (The data is to be supplied by the user). Suppose realy it is a bit like this forum section adding new items, so maybe each table row is on a seperate page & transcluded into a overall table that wraps round it ? - BulldozerD11 01:02, May 28, 2010 (UTC)


 * Right, it's like the forum (actually it's a version of DPL that creates the forums). You'll have to use CreateBox with a pre-defined template, fill in the template as needed, add it to the category you specify and then the DPL page will add it to the list.  I don't have any examples handy but there are a bunch on the DPL manual website. --Pcj (T&bull;C) 01:35, May 28, 2010 (UTC)
 * Ill have a lok round at the DPL manual you refer to later then to see if i can fin examples to look at. Having looked back at that earlier attempt I may have ago at a Mk II version now, for my page creation.


 * Can individual Wikis add a std button to all pages in article space, to go to a menu page for creating new pages, or could i customise the 'new' popup create page box to jump to the menu instead of the default template, or create a blank page, as it currently does ? - BulldozerD11 13:45, May 28, 2010 (UTC)