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 |
Another OWL (talk | contribs) mNo edit summary |
||
Line 253: | Line 253: | ||
</div> | </div> | ||
|}} | |}} | ||
</div> | </div><!-- | ||
{{#switch:{{lc:{{{deck|}}}}} | Steamdeck compat infopanel | ||
--> {{#switch:{{lc:{{{deck|}}}}} | |||
| verified | | verified | ||
| playable | | playable | ||
Line 269: | Line 270: | ||
|#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.}} | ||
|= | |= | ||
}} | }}<!-- | ||
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%;"> | |||
<div style="color:white;text-shadow: 2px 2px 6px gray; font-size:28px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; border-radius:3px; padding:16px 14px; width:30px; text-align:center; background: | <div style="color:white;text-shadow: 2px 2px 6px gray; font-size:28px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; border-radius:3px; padding:16px 14px; width:30px; text-align:center; background: | ||
{{#ifeq:{{#expr:{{{metacritic|0}}} >= 75}}|1|#66CC33| | {{#ifeq:{{#expr:{{{metacritic|0}}} >= 75}}|1|#66CC33| | ||
Line 279: | Line 281: | ||
}};">{{{metacritic}}}</div> | }};">{{{metacritic}}}</div> | ||
<div>[[File:Logo-metacritic-text.png|175px|{{Software page/strings|Metacritic this}} {{{metacritic|N/A}}} {{Software page/strings|Metacritic on}}{{Dictionary/common|.}} {{Software page/strings|Metacritic read review about game name}} {{PAGENAME}}{{Dictionary/common|.}}|link=https://www.metacritic.com/game/{{{metacritic link}}}{{#if:{{{metacritic platform|}}}|/critic-reviews/?platform{{=}}{{{metacritic platform}}}}}]]{{#if:{{{metacritic link|}}}|<div style="text-align: right;" title="{{Software page/strings|Metacritic this}} {{{metacritic|N/A}}} {{Software page/strings|Metacritic on}}{{Dictionary/common|.}} {{Software page/strings|Metacritic read review about game name}} {{PAGENAME}}{{Dictionary/common|.}}">[https://www.metacritic.com/game/{{{metacritic link}}}{{#if:{{{metacritic platform|}}}|/critic-reviews/?platform{{=}}{{{metacritic platform}}}}} {{Software page/strings|Metacritic read review}}]</div>|}} | <div>[[File:Logo-metacritic-text.png|175px|{{Software page/strings|Metacritic this}} {{{metacritic|N/A}}} {{Software page/strings|Metacritic on}}{{Dictionary/common|.}} {{Software page/strings|Metacritic read review about game name}} {{PAGENAME}}{{Dictionary/common|.}}|link=https://www.metacritic.com/game/{{{metacritic link}}}{{#if:{{{metacritic platform|}}}|/critic-reviews/?platform{{=}}{{{metacritic platform}}}}}]]{{#if:{{{metacritic link|}}}|<div style="text-align: right;" title="{{Software page/strings|Metacritic this}} {{{metacritic|N/A}}} {{Software page/strings|Metacritic on}}{{Dictionary/common|.}} {{Software page/strings|Metacritic read review about game name}} {{PAGENAME}}{{Dictionary/common|.}}">[https://www.metacritic.com/game/{{{metacritic link}}}{{#if:{{{metacritic platform|}}}|/critic-reviews/?platform{{=}}{{{metacritic platform}}}}} {{Software page/strings|Metacritic read review}}]</div>|}} | ||
</div></div>}}|}} | </div></div>}}|}}<!-- | ||
Opencritic infopanel | |||
--> {{#if:{{{opencritic|}}}|<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%;"> | |||
<div style="color:white;text-shadow: 2px 2px 6px gray; font-size:28px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; border-radius:3px; padding:8px 8px; width:auto; text-align:center; background: {{#ifeq:{{#expr:{{{opencritic|0}}} >= 90}}|1|#fc430a<!-- More than 90 --> | <div style="color:white;text-shadow: 2px 2px 6px gray; font-size:28px; font-family:Arial, Helvetica, sans-serif; font-weight:bold; border-radius:3px; padding:8px 8px; width:auto; text-align:center; background: {{#ifeq:{{#expr:{{{opencritic|0}}} >= 90}}|1|#fc430a<!-- More than 90 --> | ||
|{{#ifeq:{{#expr:{{{opencritic|0}}} >= 60}}|1|#9e01b4<!-- More than 60 --> | |{{#ifeq:{{#expr:{{{opencritic|0}}} >= 60}}|1|#9e01b4<!-- More than 60 --> |
Revision as of 01:38, 17 February 2024

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").

- Option to scale background to page width, rather than manually setting pixel size (different users have different resolution viewports). May be difficult with current implementation, slight rework likely needed.
- 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.