From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
Archive
Archive
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current staff lounge page.

July 2016 | August 2016 | September 2016

Archive

Archives


2006

KotOR template issue

The {{KotOR/Dialog}} template (among others) has optional parameters for colspan, rowspan and bgcolor which no longer work correctly. You should be able to see this in the second and third examples under Usage in the documentation, but for convenience this:

Dark 1. C=2 B=dark Light 2. R=2 B=light
Jedi Sentinel 3. W=25% B=Sentinel Jedi Consular 4. W=50% B=Consular

Should look like this:

colspan=2 bgcolor=ffdddd rowspan=2 bgcolor=d0d5f1
width=25% bgcolor=ffff99 width=50% bgcolor=ddffdd

Weirdly, the rowspan parameter seems to work as long as there's no width parameter, while the opposite is true for the colspan parameter (which also seems to prevent the bgcolor parameter from working... as does not including a width parameter):

Dark 1. W=75% C=2 B=dark Light 2. W=25% R=2 B=light
Jedi Sentinel 3. W=25% B=Sentinel Jedi Consular 4. B=Consular

This template (among others) was definitely still working back in May, and I don't know what's changed since then to break it (it hasn't been edited since January). Perhaps the breakage isn't universal, but only applies to specific browsers (I use Firefox) or operating systems (I was upgraded to Windows 10 in March)? Any idea what's gone wrong, and how to fix it? Onderduiker (talk) 18:57, 2 August 2016 (UTC)

Fixed. Check out Special:ExpandTemplates. -- Prod (talk) 19:55, 2 August 2016 (UTC)
Thanks! I think I've now fixed all similar KotOR templates, but I'll double-check as I continue to work on the guide. Onderduiker (talk) 20:45, 3 August 2016 (UTC)

Arrow Template

Permission to add diagonals to the arrow template? I already have them nice and ready and I think it'd be very useful as a stand in for generic D-Pad controls or directions. Antwan 14:00, 7 August 2016 (UTC)

That should be helpful. What are you thinking of using for the names? -- Prod (talk) 14:13, 7 August 2016 (UTC)
Like the rest that do use diagonals: UpLeft, UpRight, DownLeft, and DownRight. I can even put a circle for a neutral command if needed. Antwan 22:43, 7 August 2016 (UTC)
You're talking about the {{arrow}} template right? That would actually be pretty cool to get diagonals! Do you need help updating the template as well? -- Prod (talk) 00:38, 8 August 2016 (UTC)
That's right. The arrow template. I'm not sure how to edit it though and the Help page recommended that I contact the staff before I do that. I got the arrows ready. I just need to upload them. Antwan 02:12, 8 August 2016 (UTC)
It's not too extensively used, so you can probably try it out if you'd like. Anything can be reverted if it breaks :). I'd suggest uploading the images with similar names/categories as the current ones first, so you can see if it works. -- Prod (talk) 04:31, 8 August 2016 (UTC)

And done! Enjoy your new generic diagonals! For reference, these are their wiki markups: Generic UpLeft.png {{arrow|UpLeft}}, Generic UpRight.png {{arrow|UpRight}}, Generic DownLeft.png {{arrow|DownLeft}}, Generic DownRight.png {{arrow|DownRight}} Antwan 07:26, 8 August 2016 (UTC)

Thanks! -- Prod (talk) 16:46, 11 August 2016 (UTC)

Archive.org Atari 2600 games

Archive.org seems to have a bunch of Atari 2600 games available for play directly from the web browser: https://archive.org/details/atari_2600_library. Should we link them in the external links section of each page? Maybe add them to a category that links to archive.org? Or maybe just add a link to the system's page? -- Prod (talk) 00:26, 13 August 2016 (UTC)

I would be in favor of this. However, archive.org is not just limited to the Atari 2600. Their "virtual living room" section has a ton of systems. We would have to make up our mind if this feature was going to be limited to the 2600, or open to every system they support. And in doing so, we'd have to do it in a way that makes it clear that this is ONLY for archive.org, and not a bunch of flash game sites that surround their games with advertisements everywhere... Procyon 01:07, 14 August 2016 (UTC)
It looks like there are around 3000 games in the Console Living Room collection. It would be really cool if we could embed the games directly here, but perhaps a partner box like {{Zeldawiki}} may be the best option? -- Prod (talk) 16:39, 14 August 2016 (UTC)

Remove PC system requirements

I'd like to suggest we remove all pc game requirements from our infoboxes. Essentially every instance of {{pcreq}} (almost 400 uses). The template is inflexible and needs updating over time as computing power increases, and often the template isn't used (properly). The information doesn't help users play the game or find new games to play. It's not frequently updated by users anymore, and Steam covers all this information more directly/accurately. PCGW also covers it much better than we do if it's something a user needs. -- Prod (talk) 13:09, 10 July 2016 (UTC)

Yeah, I'm in favor of removing the requirements. It's good info, but I don't think people use our site to preview games and therefore need sys req recommendations. They likely already have, and are playing, the game, so they must already meet the reqs. If it will simplify our infobox, I'm for it. Procyon 01:07, 13 July 2016 (UTC)
Indeed it seems way out of place and takes up a lot of vertical space in it's current form. Matthias (talk) 13:41, 17 July 2016 (UTC)
There were only two instances of the requirements parameter in the infobox which weren't for PC games, so I've removed them and added the info to the page directly. the template and all uses has now been deleted. -- Prod (talk) 04:36, 17 August 2016 (UTC)

Templates

Why does {{~}} exist? It's a quick way to link subpages within the current project but, as Prod has just pointed out to me, [[../page name/]] and {{~|page name}} have the same result, and by extension so do [[../page name|label]] and {{~|page name|label}}. Is it redundant, and should usage be avoided?

I ask because I've been considering making a more generic version of {{KotOR}}, which is a quick way of linking to page sections within the Star Wars: Knights of the Old Republic project: for example, to link to Nerve Enhancement Package I can just use {{KotOR|Implants|Nerve Enhancement Package}} instead of [[../Implants#Nerve Enhancement Package|Nerve Enhancement Package]].

I was considering editing {{~}} to achieve this, but the new parameter order would be counter-intuitive ( {{~|page name|label|section name}}, not {{~|page name|section name|label}} ) and it's already linked to over 500 pages (although it'll be less than 500 once I remove it from pages I edit).

If I created a new template, provisionally ?, to allow a quick way to link page sections within the current project, then I'm pretty sure I'd use it on multiple projects, even if no one else did... or does such a template or other functionality already exist? Onderduiker (talk) 10:20, 13 August 2016 (UTC)

In theory (and not in practice because we don't typically go two sub-directories deep), {{~}} has and advantage over the .. usage in that it can be used to refer to a link off of the main guide, even if you were two sub-directory levels deep. With the .. approach, you'd have to use "../..", etc. That's really about the only advantage I can think of. Your approach to changing the behavior of {{~}} seems weird to me because in just about every wiki convention, the label comes last. You are definitely more than welcome to make a custom template that supports your work, regardless of whether anyone else might use it. If it's useful to you, it's useful to the site. I'm just not sure about "?" for the name, although I don't have a better suggestion. Procyon 01:07, 14 August 2016 (UTC)
{{~}} is already in use on just over 500 pages and already has two parameters (1 = page name, 2 = optional label), so adding a third would be problematic. I could add an optional S parameter to maintain the conventional order ( {{~|page name|S=section name|label}} or {{~|1|S|2}} ) but that's not ideal either.
Hence I'm leaning towards creating a new template. Due to the frequency with which I'll use it, its name should ideally be a single character, and I suggested "?" because the links will often be used to answer the question, "What's that (again)?" (for example, items listed in merchant inventories).
I've checked Wikipedia templates and there doesn't appear to be one by this name, so it shouldn't cause confusion. I'm open to other suggestions though (S for section? Also looks like ~ once flipped horizontally and rotated 90°), and I plan to work on model screenshots for the next week or so, so a decision isn't that urgent. Onderduiker (talk) 11:07, 14 August 2016 (UTC)
I also thought {{~}} would be pretty cool until Najzere (talk · contribs) showed me [[../Page/]]. I'd rather switch to that instead of the template since it's part of the software and probably more efficient. {{s}} is probably a good option, with usage like {{s|page|section}}. Adding a parameter for label is redundant with the ../ syntax and I think only saves 1 character.
{{~|Page#section Name|Label}}
{{s|Page|section Name|Label}}
[[../Page#Section name|Label]]
-- Prod (talk) 16:23, 14 August 2016 (UTC)
Thanks for pointing out the redundancy of the label parameter for my proposed template. I'll create {{s}} shortly for use when section name = label... although I'm a little surprised something like this doesn't already exist here, since you can't just create pages for everything for ease of linkage (although even when you can, you probably shouldn't: hundreds or thousands of pages can be harder to organize, maintain and navigate). Onderduiker (talk) 19:38, 15 August 2016 (UTC)

I've now created and used {{s}}, and I'll use it to replace {{~}} and {{KotOR}} going forward: I think two similar templates I created earlier, {{DII}} and {{DIILoD}}, are still necessary since they allow linking to Diablo II pages on Diablo II: Lord of Destruction pages, and vice versa. Onderduiker (talk) 19:13, 28 August 2016 (UTC)

Cool! If you want to do a simple template switch, I can set my bot to do basic search/replace. Or, you could try AWB for anything more complicated. -- Prod (talk) 20:39, 28 August 2016 (UTC)
Thanks for the offer, but I'll most likely be editing all 100 or so pages on which I've used {{KotOR}} for other reasons over the next month or so, and it has a third parameter (albeit an optional and redundant one) which the new template does not. I'm happy to do it manually, killing two birds with one stone. Onderduiker (talk) 17:48, 29 August 2016 (UTC)

Remove media parameter from game infoboxes

I'm thinking of getting rid of the |media parameter from infoboxes. We have less than 100 games which use the parameter. I feel it's unnecessary information, that is better covered elsewhere. Console games generally have only one possible media, apart from eShops which are listed as a method of distribution. The only distinguishing point is the size of the media (256 Megabit cartridge), which is not useful for guides, and should be listed elsewhere. PC games are slightly more interesting (floppies), but all modern games are generally available via digital distribution (Steam). -- Prod (talk) 01:38, 19 August 2016 (UTC)

I'd agree. It's only useful for a very few cases, and that can be handled on the Getting Started page or PCGamingWiki when it's relevant. For other computer platforms supporting multiple media formats, such as Commodore 64, the worry about whether you have the needed tape or disk drive is no longer important simply because of the current situation. Even PC games might not be that interesting, as most floppy/CD games can be installed on the hard disk, as opposed to the unique ones that run directly from disk. --Sigma 7 (talk) 01:59, 19 August 2016 (UTC)
Also agree, but primarily because I don't really work on too many computer games, so it doesn't affect me greatly. Sigma's points about the PCGamingWiki are valid, but only for DOS/Windows games, and probably won't be applicable to older Atari and Commodore systems. That being said, I really don't know who would come here seeking that specific information. Presumably, they're coming here because they already possess in the game, in whatever format, and are here to learn how to play the game, not how to load it. Procyon 17:46, 19 August 2016 (UTC)
The media parameter is now gone. -- Prod (talk) 22:09, 26 August 2016 (UTC)

Tabbed navigation bar covers and hides on-page link targets

OK, I may not be using the correct terminology here. Also, the question may have been asked before because I am too lazy to review 120 months of past discussion, especially since there is no table of contents on archived pages of the Staff Lounge.

Anyway, when I click an on-page link (or a link to another page with a specific section as a target, like this: Quake II/Items#Combat_Armor), the link target is positioned at the top of the browser window, as one would expect, but the navigation bar with the tabs on it is frequently repositioned from near the top of the page, after the banner ad and page title, also to the top of the browser window and there it covers and hides the target. I can't find any information on how to deal with this. Suggestions, please? Bayram (talk) 14:18, 28 August 2016 (UTC)

StrategyWiki:Staff lounge/2015/January#Non-section jumplink skin bug. Unfortunately, it's a difficult problem to fix. -- Prod (talk) 14:35, 28 August 2016 (UTC)