Page 7 of 10

Re: The Alphabetical Ship List

Posted: Sun Jul 01, 2012 5:30 pm
by maik
Starting on 'R' now...

Re: The Alphabetical Ship List

Posted: Sun Jul 01, 2012 5:35 pm
by Smivs
maik wrote:
but you would still have to work on multiple pages for the updates. Might as well work with non-transcluded pages if maintenance is your concern.
That's not really a problem for me. My OXPs are generally quite stable in terms of features, and a major update would mean a major re-write anyway, meaning a bit of extra work would not be too much of a hassle.
The majority of updates tend to be things like bugfixes where the version number etc and the 'release history' need updating, and they will only be on one page.
I'll try this for the Clippers and see how we go. :)

Re: The Alphabetical Ship List

Posted: Sun Jul 01, 2012 5:50 pm
by maik
Smivs wrote:
maik wrote:
but you would still have to work on multiple pages for the updates. Might as well work with non-transcluded pages if maintenance is your concern.
That's not really a problem for me. My OXPs are generally quite stable in terms of features, and a major update would mean a major re-write anyway, meaning a bit of extra work would not be too much of a hassle.
The majority of updates tend to be things like bugfixes where the version number etc and the 'release history' need updating, and they will only be on one page.
I'll try this for the Clippers and see how we go. :)
Cool, thanks. :)

Re: The Alphabetical Ship List - Transclusion!

Posted: Sun Jul 01, 2012 6:34 pm
by SandJ
SandJ wrote:
How about using Transclusion? That allows the content of one page to appear in another. I shall give it a go right now with the Dragon and its 3 variants and see how it looks ...
I think this works well.

The original Dragon page had 4 ships on the one OXP page, and the info box trying to describe 3 ships in one.

How it looks now - much the same (although I have also added the unavailable military version for reference and completeness).

But the text for the Dragons AN, SE and M actually comes from their own pages and is 'imported' into the main Dragon page thus:

Code: Select all

==Available models==

====Dragon FB-103 Assault Craft - The Military Version====
The original Dragon, the FB-103 Assault Craft, is no longer seen in the 8 galaxies.
<!--- Note that the next three commands include all the details of the 3 variants via transclusion, i.e. by importing it from their own pages. --->
{{:Dragon AN}}{{:Dragon SE}}{{:Dragon M}}
The {{:page name}} imports all the content of the page name into the current page. It also adds a blank line which is why I concatenated them on one line.

The three variants then have their own page made up of the text that was on the Dragon page, and a suitable entry made for the Dynamic OXP List thus:

Code: Select all

{{Semantic Infobox ShipStats Oolite| title=Dragon AN
...
}}
Description of the ship.
However, that makes the Semantic Infobox appear on the Dragon page for each of the 3 variants, which cocks up the Dynamic OXP List. So, that part must be excluded. Also, the pages for the variants need some extra text so that when accessed directly they are put into context, such as "See the main Dragon page for more info". That text must also be excluded. You do that by telling the wiki to only include the text part, using <includeonly> tags, like this:

Code: Select all

{{Semantic Infobox ShipStats Oolite| title=Dragon AN
|image = [[Image:Dragon_in_flight.png|250px]]
etc.
|baseprice = 200000 Cr
}}

<onlyinclude>
====Dragon AN - The Classic====
This is a nod to the original Dragon, specced to appeal to cargo jockeys.  Kitted with an upgradeable 20 TC cargo space, an empty aft gun mount and an 8 round missile launcher, the Dragon AN is a superb upgrade from the Cobra Mk 3. Traders, hunters, and pirates are seen flying the Dragon AN.
</onlyinclude>

See [[Dragon|the Dragon page]] for more information on the other Dragon variants.
This results in:
a) the main Dragon page appears to describe the Dragon OXP and all the ships it contains, so everything looks like it is in one place;
b) each of the ships has its very own wiki page;
c) each variant appears on the Dynamic OXP List as an entry;
d) there is no duplication of text or images, so no risk of discrepancy.

How's that? Does it deserve a dancing bananana? Image

Re: The Alphabetical Ship List

Posted: Sun Jul 01, 2012 6:48 pm
by SandJ
Some of the ships which are definitely in OXPs are coming up as "Standard". A random example: "wiki.alioth.net/index.php/Eagle_Long_Range_Fighter_Mk_3_(Oolite)"

Code: Select all

Eagle Long Range Fighter Mk 3 
 
Size (W×H×L) 	67m×12m×65m 
Cargo capacity 	10 TC 
Cargo bay extension 	N/A 
Maximum speed 	0.32 LM 
Manoeuvrability 	Roll: 2.85
Pitch: 1.6 
Energy banks 	Unknown 
Energy recharge rate 	
Medium (2.5) 
Gun mounts 	Fore 
Missile slots 	0 
Shield boosters available 	Yes 
Military shields available 	Yes 
Hyperspace capable 	Yes 
OXP or standard 	ADCK's Eagles    <--------  Useful info, but is read as "<> OXP"
Available to player 	Yes 
Base price 	100000 Cr

Re: The Alphabetical Ship List

Posted: Sun Jul 01, 2012 7:28 pm
by maik
SandJ wrote:
Some of the ships which are definitely in OXPs are coming up as "Standard". A random example: "wiki.alioth.net/index.php/Eagle_Long_Range_Fighter_Mk_3_(Oolite)"

Code: Select all

Eagle Long Range Fighter Mk 3 
 
Size (W×H×L) 	67m×12m×65m 
Cargo capacity 	10 TC 
Cargo bay extension 	N/A 
Maximum speed 	0.32 LM 
Manoeuvrability 	Roll: 2.85
Pitch: 1.6 
Energy banks 	Unknown 
Energy recharge rate 	
Medium (2.5) 
Gun mounts 	Fore 
Missile slots 	0 
Shield boosters available 	Yes 
Military shields available 	Yes 
Hyperspace capable 	Yes 
OXP or standard 	ADCK's Eagles    <--------  Useful info, but is read as "<> OXP"
Available to player 	Yes 
Base price 	100000 Cr
You are number 3 to note this :wink:

It actually comes from not reading the isoxp parameter of the template, but testing if the page is in the Ships OXP category, which is the wrong test. I'll fix it.

Re: The Alphabetical Ship List - Transclusion!

Posted: Sun Jul 01, 2012 7:30 pm
by maik
SandJ wrote:
How's that? Does it deserve a dancing bananana? Image
Good job! Have two! :lol:

Just a slight correction: the ship pages are not OXP pages, so the use of {{ship-OXP}} is wrong here and can be removed.

Re: The Alphabetical Ship List - Transclusion!

Posted: Sun Jul 01, 2012 7:39 pm
by SandJ
maik wrote:
SandJ wrote:
How's that? Does it deserve a dancing bananana? Image
Good job! Have two! :lol:
:mrgreen:
maik wrote:
Just a slight correction: the ship pages are not OXP pages, so the use of {{ship-OXP}} is wrong here and can be removed.
Thank you. Sorted.

Re: The Alphabetical Ship List - Transclusion!

Posted: Sun Jul 01, 2012 7:50 pm
by Cody
SandJ wrote:
... bananana?
<grins>

Re: The Alphabetical Ship List

Posted: Sun Jul 01, 2012 9:21 pm
by maik
cim wrote:
the standard/OXP column doesn't appear to be correct for most of the entries. A lot of the OXP ships link to the OXP page in the "OXP" box in their existing template, which seems to be causing problems.
Fatleaf wrote:
Why is a lot of the entries that are OXP ships being displayed as Standard when their page lists them as OXP?
SandJ wrote:
Some of the ships which are definitely in OXPs are coming up as "Standard".
It is better now. Haven't found a way yet to not display "Unknown" when the value for isoxp contains a link. Also, and some OXPs say something like "Standard, except for ..." which does not register as "Standard". See e.g. the entry for the Anaconda.

Re: The Alphabetical Ship List

Posted: Sun Jul 01, 2012 9:35 pm
by SandJ
maik wrote:
It is better now.
Well done. Thank you.
maik wrote:
Also, and some OXPs say something like "Standard, except for ..." which does not register as "Standard". See e.g. the entry for the Anaconda.
That is a fault of the Anaconda page; it should have a separate page for the liner.

Re: The Alphabetical Ship List

Posted: Mon Jul 02, 2012 12:11 am
by Fatleaf
Going on to S

Re: The Alphabetical Ship List

Posted: Mon Jul 02, 2012 1:02 am
by Fatleaf
S done going on to T

Re: The Alphabetical Ship List

Posted: Mon Jul 02, 2012 1:29 am
by Fatleaf
T done sliding over to YOU!!! :mrgreen:

Re: The Alphabetical Ship List

Posted: Mon Jul 02, 2012 1:52 am
by Fatleaf
That's the Ewe's done as well as the v's and W's.

The following ships I didn't do because of the above reasons,
Taxi Galactica
Vampire’s
Venom
Vortex
Werewolf

Does anyone know what this page is meant to be? I didn’t Semantify it as it has nothing to download!

Ok, What's next? 8)