New engineering items

Fragment of a discussion from User talk:Lorak990
Jump to: navigation, search

The item that takes the player's name will probably be named <playername> or something that works in the wiki URLs because <playername> is the placeholder used on the wiki. Lorak can help you get the images. With a few exceptions, I believe the wiki gets images from the game files. I've been enforcing a tacit no-redirect policy on this wiki, with the exception of redirects created for likely or common misspellings or terms that others might use to reach a particular page.

I have one very, very difficult issue that you may, with your wiki expertise, be able to solve. This problem affects the last item row on the raid templates. If, for example you look at the CC Commander Loot page, you'll notice that text in right-most cell in the bottom row is pushed up against the top of the top cell wall, and this makes the last row artificially larger than the other rows. If you highlight the last cell, it appears to be made up of at least seven invisible sub-cells. If you can find a better way to assemble these pages, or a way to fix this problem, I'd be obliged.

Klaxxin (talk)03:32, 30 August 2013

I like tackling difficult wiki questions, so I had a look at this. Basically you just have to nest the if commands, like in Template:LotS/LootRow, so I went ahead and changed Template:LotS/EpicLootRow to do the same and it works properly. I feel like there should be a more elegant way to do this, but this at least works.

Plujan (talk)05:50, 30 August 2013

Thanks for that, I'd been meaning to take a look at it. If it's a whitespace issue with the table code, that's usually really hard to get around, so short of converting it to HTML your solution is probably the best.

Bobogoobo (talk)10:22, 30 August 2013

there is a lesser known/used wiki table syntax that can usually get around some of the white space issues using double pipes, either prefixing or post fixing the double pipes using Template:!! if you have to nest it.

Check it out here

Zoycite (talk)10:58, 30 August 2013

No, it's the new row code that is the issue. You can't put conditionals that evaluate to false on their own lines because each one will result in a blank line, which creates that extra space. But you can't start the next one on the same line as the end of the previous one either because then the |- goes at the end of the previous line, so the parser doesn't recognize it. Supposedly you can put a line break in nowiki tags at the beginning of the "then" portion to avoid that problem, but I've done that before and it didn't always work, plus it's more code. Nesting the calls works fine.

Bobogoobo (talk)11:59, 30 August 2013

ah yeah that is not a solvable problem. i know exactly what you are describing.

what is trying to be done is not parsable by the parser, in a desirable fashion. the order of operations needed do not exist / function that way.

I have no solution for you. Danxor and I are still trying to figure out a workaround. However I have determined there is no viable long term work around other than a redesign. And that design is still being figured out.


I have done some trickery in SNP2, but it is still not perfect. It does feature the problem. And I have gone with a best alternative though not perfect solution.

Zoycite (talk)12:03, 30 August 2013

Has making a template that transcludes a newline already been tried? Maybe that would work.

Bobogoobo (talk)12:09, 30 August 2013

i do not think i have tried it, however because the newline is white space, it likely will not be interpreted correctly as we are trying to use it as a template parameter.

This basically does not work:

{{Template|{{newline}}{{something else}}{{newline}} }}

Zoycite (talk)22:10, 2 September 2013

thanks for adding the engineering pages, I've made a start on the expeditions/facilities but have been busy of late so it may take me a little while to finish unless someone else dives in, I named that one (Playername) AI due to the <> parsing tags, also added the text/ability for the pages that exist, thinking there needs to be a category that all of the incomplete pages for a section can be tagged with say Category:LotS/Missing Info or the like and add a projects page to the main LotS portal for easy tracking, as the edits sometimes get lost in the logs.

Regarding images, i believe there was a guide on Doomcat's wall, or i update them once a week from the missing images category as time permits. if you have any questions drop me a message and i'll see what i can find out/lookup.

Lorak990 (talk)11:46, 30 August 2013

I don't see a guide there. I saw somewhere else someone (probably you) said they found the images directly on the server, but I wouldn't know where to look. I'd like to help if you can tell me how.

Found it lower on this page, I got it now.

Bobogoobo (talk)15:20, 30 August 2013

There are a bunch of redirects. I'm not sure which ones should be kept, but if you want I can give you a plaintext list of them for running through a bot which you could trim manually. Also, should the duplicates of File:LotS Schematic.png (plus "File:LotS Plans Within Plans.png" be redirected to it, or should they all be deleted?

Bobogoobo (talk)15:22, 30 August 2013