Template talk:Software page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(automatically repair discussion (indenting will need to be done manually))
Line 29: Line 29:
== Hidden categories idea ==
== Hidden categories idea ==


{{Message
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
| user = Equalizer5118
| time = 15:10, 7 Apr 2023
| 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.
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#hidden categories for Software page template|User talk:THE OWL]].
{{Resolved [[User:Equalizer5118|Equalizer5118]] ([[User talk:(Equalizer5118)|talk]]) 15:10, 7 Apr 2023 in [[User talk:THE OWL#hidden categories for Software page template|User talk:THE OWL]].
}}
}}


== Some odd categories with icons elsewhere ==
== Some odd categories with icons elsewhere ==
{{Message
See [[Half-Life 2: Lost Coast]] for example. [[User:Lxm6|Lxm6]] ([[User talk:(Lxm6)|talk]]) 21:21, 9 Apr 2023
| user = Lxm6
| time = 21:21, 9 Apr 2023
| See [[Half-Life 2: Lost Coast]] for example.
}}


{{Message
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. [[User:THE OWL|THE OWL]] ([[User talk:(THE OWL)|talk]]) 4:28, 10 Apr 2023
| user = THE OWL
| time = 4:28, 10 Apr 2023
| edited = 4:36, 10 Apr 2023
| 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? ==
== How to suppress For developers links? ==
{{Message
See Quake by Id Software, Inc. in 1996 for example. [[User:Lxm6|Lxm6]] ([[User talk:(Lxm6)|talk]]) 6:28, 7 May 2023
| user = Lxm6
| time = 6:28, 7 May 2023
| See Quake by Id Software, Inc. in 1996 for example.
}}


{{Message
I fixed this in [[Quake by Id Software, Inc. in 1996]].
| user = THE OWL
| time = 6:57, 7 May 2023
| edited = 7:00, 7 May 2023
| 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 {{Code|false}} for the workshop if the AppID is not specified.
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 {{Code|false [[User:THE OWL|THE OWL]] ([[User talk:(THE OWL)|talk]]) 6:57, 7 May 2023 for the workshop if the AppID is not specified.
}}
}}


== Updated branch parameters ==
== Updated branch parameters ==


{{Message
I changed the branch parameters {{code|Source 4 [[User:SirYodaJedi|SirYodaJedi]] ([[User talk:(SirYodaJedi)|talk]]) 23:55, 24 May 2023, {{code|Source 7}}, and {{code|Source 9}} to {{code|Source 04}}, {{code|Source 07}}, and {{code|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.
| user = SirYodaJedi
| time = 23:55, 24 May 2023
| I changed the branch parameters {{code|Source 4}}, {{code|Source 7}}, and {{code|Source 9}} to {{code|Source 04}}, {{code|Source 07}}, and {{code|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.
}}
}}


{{Message
Looks like you fixed it. {{bms|1 [[User:THE OWL|THE OWL]] ([[User talk:(THE OWL)|talk]]) 20:29, 7 Jun 2023 and {{vtmb|1}} are in the right categories. Pages of other games and mods that are not included in the categories most likely have an uncleaned cache.
| user = THE OWL
| time = 20:29, 7 Jun 2023
| edited = 20:45, 7 Jun 2023
| Looks like you fixed it. {{bms|1}} and {{vtmb|1}} 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.
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.
Line 88: Line 61:
== Show images, videos and other files automatically and cyclically ==
== Show images, videos and other files automatically and cyclically ==
{{Unresolved}}
{{Unresolved}}
{{Message
I find clicking boring with many images or pages. [[User:Lxm6|Lxm6]] ([[User talk:(Lxm6)|talk]]) 16:42, 13 Jun 2023
| user = Lxm6
| time = 16:42, 13 Jun 2023
| I find clicking boring with many images or pages.
}}


{{Message
Could you describe it in more detail? I don't understand what you mean. [[User:THE OWL|THE OWL]] ([[User talk:(THE OWL)|talk]]) 14:35, 16 Jun 2023
| user = THE OWL
| time = 14:35, 16 Jun 2023
| Could you describe it in more detail? I don't understand what you mean.
}}


{{Message
Mediawiki's Media Viewer won't cycle images for me even with JS on. It's even worse without Media Viewer. [[User:Lxm6|Lxm6]] ([[User talk:(Lxm6)|talk]]) 13:45, 16 Jul 2023
| user = Lxm6
| time = 13:45, 16 Jul 2023
| Mediawiki's Media Viewer won't cycle images for me even with JS on. It's even worse without Media Viewer.
}}


{{Message
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. [[User:Popcorn|Popcorn]] ([[User talk:(Popcorn)|talk]]) 22:50, 16 Jul 2023
| user = Popcorn
| time = 22:50, 16 Jul 2023
| 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 ==
== Cover Parameters and Automatic Image Detection ==


{{Message
text = <h3 style="font-weight:400; padding-top:.1em; margin-bottom:0"> Cover Parameters </h3> 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.
| user = THE OWL
| time = 14:33, 16 Jun 2023
| edited = 14:38, 16 Jun 2023
| text = <h3 style="font-weight:400; padding-top:.1em; margin-bottom:0"> Cover Parameters </h3> 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.


{{Table
{{Table
Line 124: Line 77:
| style = margin-top:.5em; margin-bottom:1em
| style = margin-top:.5em; margin-bottom:1em
| {{tr
| {{tr
| {{th|Parameter}}
| {{th|Parameter [[User:THE OWL|THE OWL]] ([[User talk:(THE OWL)|talk]]) 14:33, 16 Jun 2023
  {{th|Description}}
  {{th|Description}}
}}
}}
Line 146: Line 99:


== Potential bug ==
== Potential bug ==
{{Message
See [[:File:Potential template bug 01.png]] [[User:SirYodaJedi|SirYodaJedi]] ([[User talk:(SirYodaJedi)|talk]]) 16:46, 29 June 2023 (PDT)
| user = SirYodaJedi
| time = 16:46, 29 June 2023 (PDT)
| See [[:File:Potential template bug 01.png]]
}}


{{Message
I have fixed this, but not yet by improving the template. [[User:THE OWL|THE OWL]] ([[User talk:(THE OWL)|talk]]) 11:33, 30 Jun 2023
| user = THE OWL
| time = 11:33, 30 Jun 2023
| I have fixed this, but not yet by improving the template.
}}


== | type = Package are not [[:Category:Games]] ==
== | type = Package are not [[:Category:Games]] ==


{{Unresolved}}
{{Unresolved}}
{{Message
I can't fix it easily. [[User:Lxm6|Lxm6]] ([[User talk:(Lxm6)|talk]]) 13:16, 16 Jul 2023
| user = Lxm6
| time = 13:16, 16 Jul 2023
| I can't fix it easily.
}}


== Metacritic template bug ==
== Metacritic template bug ==


{{Message
[[File:Bug-Template_Software_page_Metacritic.png|320px|Metacritic part of this template is broken. (Click to view full image)]]
| user = Kr0tchet
| time = 4:02, 28 Jul 2023
| [[File:Bug-Template_Software_page_Metacritic.png|320px|Metacritic part of this template is broken. (Click to view full image)]]
Metacritic part of this template is broken.
Metacritic part of this template is broken.


EDIT: fixed.
EDIT: fixed. [[User:Kr0tchet|Kr0tchet]] ([[User talk:(Kr0tchet)|talk]]) 4:02, 28 Jul 2023
}}


{{Message
that was an issue with the inputted parameters, not the template itself. [[User:Equalizer5118|Equalizer5118]] ([[User talk:(Equalizer5118)|talk]]) 16:23, 28 Jul 2023
| user = Equalizer5118
| time = 16:23, 28 Jul 2023
| that was an issue with the inputted parameters, not the template itself.
}}


== [https://developer.valvesoftware.com/w/index.php?title=Template:Software_page&curid=49921&diff=333942&oldid=333415 Deck learn more box] ==
== [https://developer.valvesoftware.com/w/index.php?title=Template:Software_page&curid=49921&diff=333942&oldid=333415 Deck learn more box] ==


{{Message
By using "<nowiki>id=deckcompat"</nowiki> 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 [[template:dcs|a new template]] to use for the bulleted list. My goal was to imitate the box found by clicking on the <nowiki>"Learn more"</nowiki> 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 {{param|deck [[User:Equalizer5118|Equalizer5118]] ([[User talk:(Equalizer5118)|talk]]) 7:51, 3 Aug 2023 parameter, which changes the text accordingly.
| user = Equalizer5118
| time = 7:51, 3 Aug 2023
| By using "<nowiki>id=deckcompat"</nowiki> 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 [[template:dcs|a new template]] to use for the bulleted list. My goal was to imitate the box found by clicking on the <nowiki>"Learn more"</nowiki> 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 {{param|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.
While I could have just made a collapsing table, I like the look and function of this better.
}}
}}


{{Message
<b>REVAMP IDEA</b>
| user = Equalizer5118
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 {{param|title [[User:Equalizer5118|Equalizer5118]] ([[User talk:(Equalizer5118)|talk]]) 17:59, 8 Oct 2023 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.  
| time = 17:59, 8 Oct 2023
| <b>REVAMP IDEA</b>
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 {{param|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.
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.
}}
}}
Line 204: Line 131:
== Suggestions ==
== Suggestions ==


{{Message
Maybe add Steam rating, game series, successor, predecessor, Steam features, setting?
| user = Mr. SystemError
| time = 19:08, 26 Apr 2024
| 1 = Maybe add Steam rating, game series, successor, predecessor, Steam features, setting?


{{Message  
{{Message  
| user = SirYodaJedi
| user = SirYodaJedi
| time = 19:18, 26 Apr 2024
| time = 19:18, 26 Apr 2024
| 1 = Steam rating would be too annoying to keep up-to-date, but series and features would make sense.
| 1 = Steam rating would be too annoying to keep up-to-date, but series and features would make sense. [[User:Mr. SystemError|Mr. SystemError]] ([[User talk:(Mr. SystemError)|talk]]) 19:08, 26 Apr 2024
}}


}}
}}
Line 219: Line 142:
== Steamdeck compact infopanel ==
== Steamdeck compact infopanel ==


{{Message
Should there be translation for ''Verified'', ''Playable'', ''Unsupported'', and ''Unknown'' in other languages? i was thinking replacing the line on Steamdeck compact infopanel from <br><code><nowiki><div style= "color:white; font-size:20px;">{{ucfirst:{{{deck|Unknown [[User:N0one|N0one]] ([[User talk:(N0one)|talk]]) 16:43, 7 May 2024}}}</div></nowiki></code><br>with <code><nowiki><div style= "color:white; font-size:20px;">{{Software page/strings|Deck Test {{ucfirst:{{{deck|Unknown}}} }} }}</div></nowiki></code>
| user = N0one
| time = 16:43, 7 May 2024
| 1 = Should there be translation for ''Verified'', ''Playable'', ''Unsupported'', and ''Unknown'' in other languages? i was thinking replacing the line on Steamdeck compact infopanel from <br><code><nowiki><div style= "color:white; font-size:20px;">{{ucfirst:{{{deck|Unknown}}}}}</div></nowiki></code><br>with <code><nowiki><div style= "color:white; font-size:20px;">{{Software page/strings|Deck Test {{ucfirst:{{{deck|Unknown}}} }} }}</div></nowiki></code>
}}
}}


{{Message
fine by me, just make sure nothing breaks
| user = Equalizer5118
| time = 18:39, 7 May 2024
| 1 = fine by me, just make sure nothing breaks


{{Message
{{Message
| user = N0one
| user = N0one
| time = 19:21, 7 May 2024
| time = 19:21, 7 May 2024
| I tested this before adding this topic, so nothing broke.
| I tested this before adding this topic, so nothing broke. [[User:Equalizer5118|Equalizer5118]] ([[User talk:(Equalizer5118)|talk]]) 18:39, 7 May 2024
}}


}}
}}
Line 240: Line 156:
== Nothings broken! (I hope so at least...) ==
== Nothings broken! (I hope so at least...) ==


{{Message
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.
| user = Wisdurm
| time = 20:48, 3 Jun 2024
| 1 = 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.
<br>
<br>
Just posting this message so someone doesn't revert recent edits due to a misunderstanding.
Just posting this message so someone doesn't revert recent edits due to a misunderstanding. [[User:Wisdurm|Wisdurm]] ([[User talk:(Wisdurm)|talk]]) 20:48, 3 Jun 2024
}}

Revision as of 15:48, 17 June 2024

Icon-message-48px.png
This is the discussion page of Template:Software page. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

Template issues

(using Template:Message)  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.  --Mailmanmicky (talk) 0:11, 25 Feb 2023 (UTC)


(using Template:Message)  Dito.  --Popcorn (talk) 1:20, 25 Feb 2023 (UTC)


(using Template:Message)  Fixed.  --THE OWL (talk) 13:10, 25 Feb 2023 (UTC)


(using Template:Message)  Great solution!  --Popcorn (talk) 22:29, 26 Feb 2023 (UTC)

Hidden categories idea

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 Equalizer5118 (talk) 15:10, 7 Apr 2023 in User talk:THE OWL. }}

Some odd categories with icons elsewhere

See Half-Life 2: Lost Coast for example. Lxm6 (talk) 21:21, 9 Apr 2023

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. THE OWL (talk) 4:28, 10 Apr 2023

How to suppress For developers links?

See Quake by Id Software, Inc. in 1996 for example. Lxm6 (talk) 6:28, 7 May 2023

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 THE OWL (talk) 6:57, 7 May 2023 for the workshop if the AppID is not specified.

Updated branch parameters

I changed the branch parameters Source 4 SirYodaJedi (talk) 23:55, 24 May 2023, 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.

Looks like you fixed it. Black Mesa

Show images, videos and other files automatically and cyclically

Unresolved. I find clicking boring with many images or pages. Lxm6 (talk) 16:42, 13 Jun 2023

Could you describe it in more detail? I don't understand what you mean. THE OWL (talk) 14:35, 16 Jun 2023

Mediawiki's Media Viewer won't cycle images for me even with JS on. It's even worse without Media Viewer. Lxm6 (talk) 13:45, 16 Jul 2023

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. Popcorn (talk) 22:50, 16 Jul 2023

Cover Parameters and Automatic Image Detection

text =

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.

Potential bug

See File:Potential template bug 01.png SirYodaJedi (talk) 16:46, 29 June 2023 (PDT)

I have fixed this, but not yet by improving the template. THE OWL (talk) 11:33, 30 Jun 2023

| type = Package are not Category:Games

Unresolved. I can't fix it easily. Lxm6 (talk) 13:16, 16 Jul 2023

Metacritic template bug

Metacritic part of this template is broken. (Click to view full image) Metacritic part of this template is broken.

EDIT: fixed. Kr0tchet (talk) 4:02, 28 Jul 2023

that was an issue with the inputted parameters, not the template itself. Equalizer5118 (talk) 16:23, 28 Jul 2023

Deck learn more box

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 Equalizer5118 (talk) 7:51, 3 Aug 2023 parameter, which changes the text accordingly.

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

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 Equalizer5118 (talk) 17:59, 8 Oct 2023 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

Maybe add Steam rating, game series, successor, predecessor, Steam features, setting?


(using Template:Message) Steam rating would be too annoying to keep up-to-date, but series and features would make sense. Mr. SystemError (talk) 19:08, 26 Apr 2024 --SirYodaJedi (talk) 19:18, 26 Apr 2024 (UTC)

Steamdeck compact infopanel

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 [[User:N0one|N0one]] ([[User talk:(N0one)|talk]]) 16:43, 7 May 2024}}}</div>
with <div style= "color:white; font-size:20px;">{{Software page/strings|Deck Test {{ucfirst:{{{deck|Unknown}}} }} }}</div> }}

fine by me, just make sure nothing breaks


(using Template:Message)  I tested this before adding this topic, so nothing broke. Equalizer5118 (talk) 18:39, 7 May 2024

 --N0one (talk) 19:21, 7 May 2024 (UTC)

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

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. Wisdurm (talk) 20:48, 3 Jun 2024