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 |
(Experimental learn more box for deck compatibility explanations. Using the new Template:Deck compat string template, editors will copy the info from stream's deck compat box into the {{{deck learn more}}} parameter, as seen in the sandbox) |
||
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 235: | Line 235: | ||
}}</div> | }}</div> | ||
<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">[ | <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">[[#deckcompat|<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.}} | |#default = {{Warning|Unsupported value for {{param|deck}} parameter: {{{deck}}}! Please fix the spelling or remove the parameter.}} | ||
Line 248: | Line 248: | ||
</div> | </div> | ||
<div>{{{desc|}}}</div> | <div>{{{desc|}}}</div> | ||
<!-- deck learn more box --> | |||
{{#if:{{{experimental|}}} | |||
|{{#if:{{{deck learn more|}}}|<div id=deckcompat style=padding:10px><span style=font-size:15px;color:white>Steam Deck Compatibility</span></div><div style="border-style:solid;border-color:gray;border-width:.5px;"/> | |||
{{Expand|title=Click for compat info|1=<div style=color:white;font-size:19px;text-align:center;align-items:center;font-weight:bold;>[[File:{{{deck|Unknown}}}-noborder.png|19px]] {{{deck|Unknown}}}</div> | |||
<div style=color:white;font-size:17px;padding:10px>Valve's testing indicates {{{name|{{PAGENAME}}}}} is <span style="font-weight: bold; color:{{#switch:{{{deck|}}}|Verified=#59bf41|Playable=#fdc82c|Unsupported=#7b8ea4|#default=#ADADAD}}">{{{deck|Unknown}}}</span> on Steam Deck. {{#switch:{{{deck|Unknown}}} | |||
| Verified = This game is fully functional on Steam Deck, and works great with the built-in controls. | |||
| Playable = This game is functional on Steam Deck, but might require extra effort to interact with or configure. | |||
| Unsupported = Some or all of this game doesnt function on Steam Deck. | |||
| #default = Valve is working on adding support for Steam Deck. | |||
|}}<br/>{{{deck learn more|WHAT? HOW!?!?!?}}}</div>}} | |||
|}} | |||
|}} | |||
</div> | </div> | ||
|}} | |}} |
Revision as of 00:25, 3 August 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.