Icon-Important.pngImportant:Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.

Template talk:Software page

From Valve Developer Community
Jump to: navigation, search
Icon-message-48px.png
Welcome to Template talk:Software page!
This is the start of the Software page discussion page.

To add a new message, click on "Add Topic/Reply" button below, and set the "Subject".
To add a Reply, do the same as above, but leave the "Subject" blank.

Template issues

ERR
Empty.png
mailmanmickey10:11, 25 February 2023 (UTC+10)(edited)
This template has issues with overflow at smaller sizes. I'm sure you already knew this, but just in case, you could try and use clamp(), min() or max() on your margins, padding and more to try and fix this issue.

Personally I would attempt to fix this myself, but I'm lazy and can't be bothered, so I find it easier to just inform you instead.
Icon-user.png
Empty.png
Popcorn1:20, 25 February 2023 (UTC)
Dito.
ERR
UserAvatarFrame-THE OWL.png
THE OWL20:10, 25 February 2023 (UTC+7)
Fixed.
Icon-user.png
Empty.png
Popcorn22:29, 26 February 2023 (UTC)
Great solution!

Hidden categories idea

ERR
UserAvatarFrame-Equalizer5118.png
Equalizer8:10, 7 April 2023 (UTC−7)
I noticed that for the hidden categories idea that there are links to categories with the raw parameter text as titles (Ps3). When I did the automatic Category thing for platforms a while back--which can be seen below the current platform text--I used the strings in Template:Software page/Strings

PlatformSwitcher section for the page titles (PlayStation 3). I was wondering if it would be preferred to use that method or use the abbreviations instead.

Resolved. in User talk:THE OWL.

Some odd categories with icons elsewhere

Icon-user.png
Empty.png
Lxm621:21, 9 April 2023 (UTC)
See Half-Life 2: Lost Coast for example.
ERR
UserAvatarFrame-THE OWL.png
THE OWL11:28, 10 April 2023 (UTC+7)(edited)
This problem was known, but until the transition to the search for products by category is completed, some pages will be broken for a while.

How to suppress For developers links?

Icon-user.png
Empty.png
Lxm66:28, 7 May 2023 (UTC)
See Quake by Id Software, Inc. in 1996 for example.
ERR
UserAvatarFrame-THE OWL.png
THE OWL13:57, 7 May 2023 (UTC+7)(edited)
I fixed this in Quake by Id Software, Inc. in 1996.

Now, if you want to remove the link to the development documents, just delete the parameter or leave it without a value. Also, do not specify false for the workshop if the AppID is not specified.

Updated branch parameters

ERR
224
SirYodaJedi23:55, 24 May 2023 (UTC)
I changed the branch parameters Source 4, Source 7, and Source 9 to Source 04, Source 07, and Source 09, respectively, to line up with with how these branches are usually abbreviated (stemming from usual abbreviation of years in English). This seems to have broken the automatic categories for these branches, however.
ERR
UserAvatarFrame-THE OWL.png
THE OWL3:29, 8 June 2023 (UTC+7)(edited)
Looks like you fixed it. Black Mesa and Vampire The Masquerade - Bloodlines are in the right categories. Pages of other games and mods that are not included in the categories most likely have an uncleaned cache.

Perhaps we should start using the discussion page of the active editor of the desired article or template, so that it quickly notices and fixes the bug, and does not remain silent for weeks. This idea can make a mess on the user discussion pages, so we need a template that will create a notification box.

Show images, videos and other files automatically and cyclically

Unresolved.

Icon-user.png
Empty.png
Lxm616:42, 13 June 2023 (UTC)
I find clicking boring with many images or pages.
ERR
UserAvatarFrame-THE OWL.png
THE OWL21:35, 16 June 2023 (UTC+7)
Could you describe it in more detail? I don't understand what you mean.
Icon-user.png
Empty.png
Lxm613:45, 16 July 2023 (UTC)
Mediawiki's Media Viewer won't cycle images for me even with JS on. It's even worse without Media Viewer.
Icon-user.png
Empty.png
Popcorn22:50, 16 July 2023 (UTC)
I guess that's because cycling images are not implemented. I doubt that it's possible at all. This is an old MediaWiki, not a modern site. You can't expect too much from this and seriously, who needs it. This site isn't about copying the steam shop pages but still, there are people out here doing a great job for coming close to them. I wouldn't complain about not having cycling images, nor would I complain for any of the other things that aren't perfect on this site. In fact, we should be thankful for all the content that USERS brought up to this site - I like to think that if there's information/functionality missing then there's just no one who knows enough about it. Sorry for answering more questions than you've asked.

Cover Parameters and Automatic Image Detection

ERR
UserAvatarFrame-THE OWL.png
THE OWL21:33, 16 June 2023 (UTC+7)(edited)

Cover Parameters

I want to allow editing as many template elements as possible right on the page, but is this such a good idea for a cover? The table below describes the main parameters that may appear in the future.

Automatic Image Detection

In this section, I just want to find out if it's such a good idea to remove automatic image detection? Automatic detection creates a lot of limits, but at the same time, it is more convenient to specify a bunch of identical parameters with identical values.

Potential bug

ERR
224
SirYodaJedi23:46, 29 June 2023 (UTC)
ERR
UserAvatarFrame-THE OWL.png
THE OWL18:33, 30 June 2023 (UTC+7)
I have fixed this, but not yet by improving the template.

| type = Package are not Category:Games

Unresolved.

Icon-user.png
Empty.png
Lxm613:16, 16 July 2023 (UTC)
I can't fix it easily.

Metacritic template bug

ERR
Empty.png
leonidakarlach11:02, 28 July 2023 (UTC+7)
Metacritic part of this template is broken. (Click to view full image)

Metacritic part of this template is broken.

EDIT: fixed.

ERR
UserAvatarFrame-Equalizer5118.png
Equalizer9:23, 28 July 2023 (UTC−7)
that was an issue with the inputted parameters, not the template itself.

Deck learn more box

ERR
UserAvatarFrame-Equalizer5118.png
Equalizer0:51, 3 August 2023 (UTC−7)
By using "id=deckcompat" on the fake category header (had to make fake because of limitations) and making the learn more button link to #deckcompat, clicking the learn more button will take the user down to the deck compatibility box. I have created a new template to use for the bulleted list. My goal was to imitate the box found by clicking on the "Learn more" button in the Steamdeck compat box found on steam, but it is largely experimental. Feel free to change the look of this new template. The colors and automatically generated text is controlled by the {{{deck}}} parameter, which changes the text accordingly.

While I could have just made a collapsing table, I like the look and function of this better.

ERR
UserAvatarFrame-Equalizer5118.png
Equalizer10:59, 8 October 2023 (UTC−7)
REVAMP IDEA

Instead of having presets and manual changes on the page end, I am thinking of having a template page (e.g Template:Software page/deckbox) that will have each specific page's rating breakdown. It will function similar to a strings page, where a #switch is used to change the rating breakdown based on the {{{title}}} parameter. This means that the template on each page will not be cluttered with lots of text and arbitrary templates, and instead it is all handled by the template itself. The #default of the switch will be "NA", which will hide the learn more box and instead link the learn more button at the top of the page to the Steamdeck rating website.

Suggestions

ERR
Empty.png
Mr. SystemError19:08, 26 April 2024 (UTC)
Maybe add Steam rating, game series, successor, predecessor, Steam features, setting?
ERR
224
SirYodaJedi19:18, 26 April 2024 (UTC)
Steam rating would be too annoying to keep up-to-date, but series and features would make sense.

Steamdeck compact infopanel

N0one18:43, 7 May 2024 (UTC+2)
Should there be translation for Verified, Playable, Unsupported, and Unknown in other languages? i was thinking replacing the line on Steamdeck compact infopanel from
<div style= "color:white; font-size:20px;">{{ucfirst:{{{deck|Unknown}}}}}</div>
with <div style= "color:white; font-size:20px;">{{Software page/strings|Deck Test {{ucfirst:{{{deck|Unknown}}} }} }}</div>
ERR
UserAvatarFrame-Equalizer5118.png
Equalizer11:39, 7 May 2024 (UTC−7)
fine by me, just make sure nothing breaks
N0one21:21, 7 May 2024 (UTC+2)
I tested this before adding this topic, so nothing broke.

Nothings broken! (I hope so at least...)

ERR
Empty.png
Wisdurm23:48, 3 June 2024 (UTC+3)
I recently made some edits to this template, and during testing a few pages were loaded with a broken revision, so if you see any pages using this template that have some weird text at the top bar, just purge them, everything's fixed now.


Just posting this message so someone doesn't revert recent edits due to a misunderstanding.