Forum:SectorData template

From Traveller Wiki - Science-Fiction Adventure in the Far future
Revision as of 19:39, 17 April 2016 by Tjoneslo (talk | contribs) (Created page with "{{Forumheader|Watercooler}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> As both User:ssteve and User:Maksim-Smel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Forums: Index > Watercooler > SectorData template



As both User:ssteve and User:Maksim-Smelchak have noticed I've been working on the Template:StellarData and the Template:StellarDataQuery. The StellarData template takes all of the data from both the T5 Second Survey data, and the generated information from the Trade Map generator, and puts it into the database in a "Cargo table".

Cargo is, if you have been following along, is part of the Semantic Mediawiki extensions. Cargo specifically allow putting data (like the Survey Data) into the database in a way that is easy to query.

The StellarDataQuery is the base query to format this data into something very nice looking for the individual world page.

What isn't visible from here is the Trade Map Generator (see Trade map summary for the output) is enhanced to generate the data pages and upload them automatically. Right now I'm going through them one by one, so I can find any of the problems, bugs, issue, missing part, etc. The next time I run the Trade map generator process I will be throwing several sectors worth of stellar data pages into the wiki.

There are several clean up tasks that need to be done to make this work smoothly.

  1. Races/summary -> All of the races pages need to have their Infobox Template updated to Template:SophontData. This new template is also a Cargo template, and puts the information into a database table, but the same template also shows the data on the page as well.
  1. Category:Ludography -> Many of the book and magazine entries need to be updated to use Template:InfoboxBook2. This again, is a cargo template, pushing the data into a table in the database. The Template:Ludograhy cite uses this data to format a correct citation for books, which should be used in the Template:Sources.

I would like to push off the task of updating all the world article with the Template:StellarDataQuery until after I've uploaded the stellar data pages.

If you have feedback on what better we could (or should) capture in these templates, please let me know. It is possible, though sometimes painful, to make changes to data captured in these templates. I would like to do it as few times as possible.

Tjoneslo (talk) 15:39, 17 April 2016 (EDT)