User talk:HubrisBliss

From UFOpaedia
Revision as of 03:15, 28 January 2017 by Tvol (talk | contribs) (→‎Perk Images: new section)
Jump to navigation Jump to search

Heya. I like where you're going with Template:Class Tree (LW2). Just so you know I have a pile of images including rank, class, and ability icons all pulled from the game's files (they're even PNGs so have transparency :D ) ready to upload. I'll be doing that as a batch job later today (just in case you were thinking of doing it manually, which would suck...a lot). The darker scheme for the class tree will certainly look good with the icons I've pulled. --Tvol (talk) 22:40, 27 January 2017 (UTC)

Re: The Info Popup

10-4. I put the current mediocre rank icons up this morning, I think. Certainly looking forward to them being upgraded. I'm so glad you made the Template:Ability (LW2). The old one was atrocious to add to. I just need to learn how to page break properly in the b-info pop-up window.
This is my first wiki edit ever, so I learned a bunch watching your updates. I never would've thought about putting the extra info on a mouse-over, or how to do it. BTW, if you think your question mark is poor, check out what I uploaded, lol.
I'll be filling out more text info for now, and working on the Psi Operative Tree.
Oh, and I just learned about '~~~~'. <Phew>. --HubrisBliss (talk) 23:30, 27 January 2017 (UTC)

Glad I could teach by doing. :) (Though regexes and Pywikibot helped a lot in sorting those ability templates.) As for the info pop-up, I've never been able to get title text to respect breaks on a wiki. I think it's still possible, but would require tweaking the CSS used by the wiki to add a new class for these images specifically. --Tvol (talk) 23:59, 27 January 2017 (UTC)
Oh, and I forgot to mention, that this line-break issue is part of the reason I moved the info bits to their own sub-pages. (Or will be moving them.) That way it's easy to transclude those lists elsewhere, in-case there's need of a stop-gap of some sort. --Tvol (talk) 00:12, 28 January 2017 (UTC)
Specifically, where are you moving the info bits? Not the individual perk templates? i.e. Template:Alpha Mike Foxtrot (LW2), after | s_info =. If somewhere else, please point me there. --HubrisBliss (talk) 00:37, 28 January 2017 (UTC)
Ah, okay. Here goes my explanation. I'm moving the lists of extra/extended info to sub-pages of their respective templates. This means that for Template:Alpha Mike Foxtrot (LW2), the info text (and just the info text) would be on the page Template:Alpha Mike Foxtrot (LW2)/Info. Note the /Info part. Then the template itself should be edited so that it reads {{ {{subst:FULLPAGENAME}}/Info }} and saved. When it is saved, the subst: part will convert the FULLPAGENAME magic word into raw text, and the result will be, in this example,
The payoff here is that should anyone want to reference the perk's extra info text somewhere else, they don't need to duplicate it, just use transclusion to refer to it, keeping things DRY (a software engineering principle, "Don't Repeat Yourself", but it applies equally well to wikis). This could be used, for example, to display all the info text underneath the ability icon, or next to it, or in a different cell in a table, etc. It's a just-in-case thing but could save headache later. --Tvol (talk) 01:01, 28 January 2017 (UTC)
All makes sense. Just wanted to avoid adding text in the wrong spot. For now, I'm finding new things to do, but I will plan on adding text later after you have created the respective */Info pages.
Expect a simple unit navbar at the bottom of the class pages fairly soon. I'm already frustrated trying to jump between them. --HubrisBliss (talk) 01:16, 28 January 2017 (UTC)
Right! Navbars! Those too! As for the /Info pages, don't be afraid to make them yourself. There's nothing special that needs to be done other than what I put above. Besides moving the that text to the new pages is going to be a chore. I can use Pywikibot to generate a list of the pages that match a regex that looks for that pattern, but grabbing it and moving it to another page isn't something it's built for. (I have no doubt it can do it, but I'd have to dig into the guts of the thing and extend it myself, which I'm not keen on right now. :P ) --Tvol (talk) 01:21, 28 January 2017 (UTC)

Perk Images

Metric ass-load of perk images incoming. Category:Perk Images (XCOM 2) has all the ones I extracted from XCOM 2. I forgot to tag the Long War 2 ones properly, but I'll figure-out a way to fix that shortly (I hope). Tomorrow I'll see if I can't throw these through Photoshop and get a niceish border around them. The icons are actually setup already for a nice square border, just need to figure-out how to do it. --Tvol (talk) 03:15, 28 January 2017 (UTC)