Board Thread:Support Requests - Getting Technical/@comment-5218827-20200125211342/@comment-23989026-20200126200646

AlexGRFan97 wrote: I've just started a new Wiki, and much of the content is going to be "pre-written", that is to say based on data entered into an infobox.

For example, on this page: Ferrari Series How could I make a template that would state it was a "carpack" produced by "Masa" in "2010", using just the information in the infobox?

Option 1: DPL I have never used it but there have been many postings that it can generate reports from categories. As you have group your pages into categories, this might achieve what you need.

Option 2: Lua I notice that your car pages include Car Performance with 8 statistics. You may want to create a sortable table of these?

I am self-teaching myself how to use Lua as databases. The data is in the "module" which fills the infoboxes and tables (add via the module not infobox). Lua needs standardization format to avoid errors. This is my Ferrari Series database --                    AR DF Pow TS Slid Mass Bal AV return { ["166 MM"]    = "6.0 40 850 60 0.5 400 0.95 5.5", ["208 GTB-t"] = "5.2 80 1485 65 0.125 605 1.05 5.5", ["250 GTO"]   = "4.5 80 1450 65 0.4 630 1.15 5.5", ["250 GT SWB"] = "6.0 60 950 60 0.5 430 0.95 5.5", ["288 GTO"]   = "4.7 80 1520 65 0.2 610 1.05 5.5", ["312 P"]     = "4.8 80 1350 65 0.1 600 1.05 4.0", ["330 GTC"]   = "5.6 65 1150 65 0.25 635 1.05 5.5", ["330 GT 2+2"] = "5.7 65 1150 65 0.35 655 1.05 5.5", }

Then create templates to feed the data into the infoboxes and tables.



I notice when I view your gallery of 4 columns, the last image is cut in half.