Page 1 of 10

The Alphabetical Ship List

Posted: Wed Jun 27, 2012 7:16 pm
by Fatleaf
Is anyone interested in the Alphabetical Ship List? I was thinking of adding links to the ships and the like, but only if people are bothered about it in the first place.


EDIT: Removed Poll as it has been proved to be a useless exercise.

Re: The Alphabetical Ship List

Posted: Wed Jun 27, 2012 7:25 pm
by Pleb
I think this is a good idea, but couldn't a list like the one on the main OXP List be built, so that manipulation of the results is possible - such as sorting by more than just letters but stats as well?

Re: The Alphabetical Ship List

Posted: Wed Jun 27, 2012 7:29 pm
by Svengali
I guess we should wait until maik has finished the autolist stuff. Manually implementing stuff is then pretty pointless (see https://bb.oolite.space/viewtopic.php?f= ... 1&start=22).

Re: The Alphabetical Ship List

Posted: Wed Jun 27, 2012 7:30 pm
by Fatleaf
Pleb wrote:
I think this is a good idea, but couldn't a list like the one on the main OXP List be built, so that manipulation of the results is possible - such as sorting by more than just letters but stats as well?
It could be with a bit of work. There are also the list based on cost and Cargo capacity. They can be found at the bottom of the page of this page.

Re: The Alphabetical Ship List

Posted: Wed Jun 27, 2012 8:11 pm
by maik
Unless you are really eager to fix it now, don't bother. As Svengali pointed out, I'm working on having them (alphabetical, cost, cargo, etc.) generated automatically based on the Infobox Shipstats Oolite template. If you would like to help clean up the usage of this one please PM me.

Note though that it will take some time until the generated list is ready to replace the existing ones. Do again, if you're burning to fix them I won't keep you ;-)

Re: The Alphabetical Ship List

Posted: Wed Jun 27, 2012 8:20 pm
by Fatleaf
Thanks Maik. :D

I don't find myself burning :P

Re: The Alphabetical Ship List

Posted: Wed Jun 27, 2012 9:04 pm
by Smivs
Fatleaf wrote:
I don't find myself burning :P
Need a match? :P

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 2:19 pm
by maik
Following is a message I just sent to Fatleaf who already volunteered to help. Every other contributor is most welcome as we have some 305 pages to go through:

I just migrated all the components that we need to have the automatically created shiplist from the sandbox to this wiki.

The resulting page is the [wiki]Dynamic Ship List (Oolite)[/wiki]. Currently, it only includes one entry, the [wiki]Adder_(Oolite)[/wiki]. This is because I was a little bit more prudent than in my sandbox and didn't just take the existing Infobox ShipStats Oolite template and put the semantic mark-up in. Instead, I copied it into the http://wiki.alioth.net/index.php/Templa ... ats_Oolite template.

In order to help, there are two main tasks:
  • Go through all pages in http://wiki.alioth.net/index.php/Category:Oolite_ships and apply the Semantic Infobox ShipStats Oolite template instead of Infobox ShipStats Oolite. In addition, the dimensions parameter is now obsolete, instead you need to replace it with the parameters width, height, and length, which all take a number including the unit (e.g. 10m for 10 meters). The energy recharge rate should only be the number, not including the classification (good, exellent, ...) any more. If there is something like N/A for the cargo extension parameter, then please just make it blank or remove the parameter alltogether. I use it for calculation so it should either be a number or blank. The [wiki]Adder (Oolite)[/wiki] is an example where I did all these modifications (not that much effort actually).
  • All of these Oolite ship pages that contain more than one ship have to be split. It should be one ship per page. Otherwise the dynamic list gets confused.
You can confirm your success when a ship correctly appears in the dynamic list. Sometimes it could take a while until it appears, usually it is enough to just refresh the page explicitly.

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 3:03 pm
by Smivs
maik wrote:
[*]All of these Oolite ship pages that contain more than one ship have to be split. It should be one ship per page. Otherwise the dynamic list gets confused.[/list]
So how should I deal with something like the Clippers? Two ships (Python and Boa Clippers) in one OXP. Am I supposed to have three pages now - one for the OXP and one for each ship? It's not only the dynamic list getting confused here :wink:

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 3:33 pm
by Commander McLane
maik wrote:
the [wiki]Dynamic Ship List (Oolite)[/wiki] … [wiki]Adder_(Oolite)[/wiki] … [wiki]Adder (Oolite)[/wiki]
Parenthesis don't work in wiki-tags.

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 3:49 pm
by Fatleaf
I have been trying to get the Green Gecko appear in the new dynamic list. I have made the change as described and it displays fine on the GG page but so far, after many a re-fresh, it is not showing :?
Where am I going wrong? :roll:

But on a personal thought I would prefer it if you could use the words - Unknown- and - Classified- for some of the stats over leaving them blank.

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 3:52 pm
by maik
Smivs wrote:
maik wrote:
[*]All of these Oolite ship pages that contain more than one ship have to be split. It should be one ship per page. Otherwise the dynamic list gets confused.[/list]
So how should I deal with something like the Clippers? Two ships (Python and Boa Clippers) in one OXP. Am I supposed to have three pages now - one for the OXP and one for each ship? It's not only the dynamic list getting confused here :wink:
Yes, that would be best: one page per OXP with link to each page for each ship. Exception: If there is only one ship in an OXP then both can have the same page.

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 3:53 pm
by maik
Fatleaf wrote:
But on a personal thought I would prefer it if you could use the words - Unknown- and - Classified- for some of the stats over leaving them blank.
You can, I think, I only use the cargo expansion property to calculate the total cargo capacity in the dynamic ship list.

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 4:01 pm
by Smivs
maik wrote:
Smivs wrote:
So how should I deal with something like the Clippers? Two ships (Python and Boa Clippers) in one OXP. Am I supposed to have three pages now - one for the OXP and one for each ship? It's not only the dynamic list getting confused here :wink:
Yes, that would be best: one page per OXP with link to each page for each ship. Exception: If there is only one ship in an OXP then both can have the same page.
I appreciate and understand what you are trying to do here, but it cannot possibly be 'best' to have three pages instead of one! Also, I have to believe that people looking up my OXP will want all the info together on one page. It seems crazy to have the OXP 'detailed' on one page without most of the important details ie the ship descriptions and info. And if I keep the page largely as it is (with all the info pertinant to it) there will be mostly pointless duplication on the two ship pages.
I'm sure this isn't the only multi-ship OXP like this...there must be a better way to handle this, surely.

Re: The Alphabetical Ship List

Posted: Thu Jun 28, 2012 4:22 pm
by maik
Fatleaf wrote:
I have been trying to get the Green Gecko appear in the new dynamic list. I have made the change as described and it displays fine on the GG page but so far, after many a re-fresh, it is not showing :?
Where am I going wrong? :roll:
Heh, took me a while to figure it out: You have to click the refresh button at the top of the dynamic list to get an immediate refresh. Otherwise it shows you something that had been precompiled and I don't know yet how often that is refreshed automatically.