Template:Software page: Difference between revisions
Jump to navigation
Jump to search
Note:This template is a work-in-progress, with development currently on hiatus.
It works well enough for widespread usage, however, and should be used on game pages when practical (given game or mod should have screenshots and a 460x215 "cover").
Note:Additional potential non-essential features:
mNo edit summary |
(Changed the deck infobox so that if a parameter that it doesnt like is put it it won't show) |
||
Line 15: | Line 15: | ||
This is here so that we don't have to save and check the sandbox for every edit. We can just add our experimental parameters to the sandbox beforehand and then just keep previewing edits to view changes. Please remember to comment this out after you finalize your changes! | This is here so that we don't have to save and check the sandbox for every edit. We can just add our experimental parameters to the sandbox beforehand and then just keep previewing edits to view changes. Please remember to comment this out after you finalize your changes! | ||
--> | --> | ||
{{Template:Software page/sandbox}} | {{Template:Software page/sandbox}} | ||
{{Doc}} | {{Doc}} | ||
<includeonly> | <includeonly> | ||
Line 223: | Line 223: | ||
<!-- Steamdeck compat infopanel --> | <!-- Steamdeck compat infopanel --> | ||
{{# | {{#switch:{{{deck|}}} | ||
|Verified | |||
|Playable | |||
|Unsupported | |||
|Unknown = <div style="align-items:center; background-color:rgba(0,0,0,.1); box-shadow:inset 0 0 2px rgba(0, 0, 0, 0.1); box-sizing:border-box; border-radius:6px; display:flex; gap:35px; padding:10px; width:100%;"> | |||
<div style="color:white; font-size:20px; border-radius:3px; width:5px; padding:0px 10px; text-align:center;">{{#switch:{{{deck|Unknown}}} | <div style="color:white; font-size:20px; border-radius:3px; width:5px; padding:0px 10px; text-align:center;">{{#switch:{{{deck|Unknown}}} | ||
| Verified = [[File:Verified-noborder.png|25px|{{Software page/strings|DeckVerified}}|link=https://www.steamdeck.com/en/verified]] | | Verified = [[File:Verified-noborder.png|25px|{{Software page/strings|DeckVerified}}|link=https://www.steamdeck.com/en/verified]] | ||
Line 232: | Line 236: | ||
<div style= "color:white; font-size:20px;">{{{deck|Unknown}}}</div> | <div style= "color:white; font-size:20px;">{{{deck|Unknown}}}</div> | ||
<div style="background-color:#1a9ffe; color:white; font-size:20px; font-family:Arial, Helvetica, sans-serif; border-radius:3px; padding:8px; width:120px; text-align:center">[https://www.steamdeck.com/en/verified <div style=color:white>Learn more</div>]</div> | <div style="background-color:#1a9ffe; color:white; font-size:20px; font-family:Arial, Helvetica, sans-serif; border-radius:3px; padding:8px; width:120px; text-align:center">[https://www.steamdeck.com/en/verified <div style=color:white>Learn more</div>]</div> | ||
</div>|}} | </div> | ||
|#default = {{Warning|Unsupported value for {{param|deck}} parameter: {{{deck}}}! Please fix the spelling or remove the parameter.}} | |||
|= | |||
}} | |||
<!-- Metacritic infopanel --> | <!-- Metacritic infopanel --> | ||
{{#if:{{{metacritic|}}}|<div style="align-items:center; background-color:rgba(0,0,0,.1); box-shadow:inset 0 0 2px rgba(0, 0, 0, 0.1); box-sizing:border-box; border-radius:6px; display:flex; gap:65px; padding:10px; width:100%;"> | {{#if:{{{metacritic|}}}|<div style="align-items:center; background-color:rgba(0,0,0,.1); box-shadow:inset 0 0 2px rgba(0, 0, 0, 0.1); box-sizing:border-box; border-radius:6px; display:flex; gap:65px; padding:10px; width:100%;"> | ||
Line 238: | Line 245: | ||
}};">{{{metacritic}}}</div> | }};">{{{metacritic}}}</div> | ||
<div>[[File:Logo-metacritic-text.png|175px]]{{#if:{{{metacritic link|}}}|<div style="text-align: right;">[https://www.metacritic.com/game/{{{metacritic link}}} Read critic reviews]</div>|}} | <div>[[File:Logo-metacritic-text.png|175px]]{{#if:{{{metacritic link|}}}|<div style="text-align: right;">[https://www.metacritic.com/game/{{{metacritic link}}} Read critic reviews]</div>|}} | ||
</div></div> | </div></div>}} | ||
</div> | </div> | ||
<div>{{{desc|}}}</div> | <div>{{{desc|}}}</div> |
Revision as of 20:08, 31 July 2023

It works well enough for widespread usage, however, and should be used on game pages when practical (given game or mod should have screenshots and a 460x215 "cover").
Todo: Restore workshop links from older versions, using {{{has workshop}}} to enable.
If {{{appid}}} is present, but {{{has workshop}}} is not, link to Steam Community page instead.
If {{{appid}}} is present, but {{{has workshop}}} is not, link to Steam Community page instead.
Todo: If {{{type}}} was marked as package, SteamDB and ProtonDB links should use "sub/(appid)" (for Packages) or "bundle/(appid)" (for Bundles) instead of "app".

- Option to scale background to page width, rather than manually setting pixel size (different users have different resolution viewports).
- Parameters for specifying system requirements for each major operating system (e.g.: {{{winram}}}, {{{macram}}} and {{{linuxram}}} for specifying ram requirements for Windows, macOS and Linux)
The above documentation is transcluded from Template:Software page/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.