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 1: | Line 1: | ||
<!-- {{Warning|Don't use, visit pages with Software page for first time (sometimes), edit or purging any page with this template while this notification is here. At the moment, changes are being made that break a lot. Once the edit is over, an editor can put a [[w:WP:COMMENT|hidden comment]] to hide this message.}} | <!-- | ||
{{Warning|Don't use, visit pages with Software page for first time (sometimes), edit or purging any page with this template while this notification is here. At the moment, changes are being made that break a lot. Once the edit is over, an editor can put a [[w:WP:COMMENT|hidden comment]] to hide this message.}} | |||
--> | --> | ||
{{Note|This template is a work-in-progress, with development currently on hiatus.<br>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|This template is a work-in-progress, with development currently on hiatus.<br>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").}} | ||
{{ | |||
{{Bug|1=Date is automatically filled out if only a year is provided, using current date. [https://developer.valvesoftware.com/w/index.php?title=FreeCS&oldid=344546 see here]. }} | |||
{{Note|Additional potential non-essential features: | {{Note|Additional potential non-essential features: | ||
* 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. | * 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. | ||
Line 145: | Line 150: | ||
-->{{#if:{{{publisher 4|}}}|, {{Software page/strings|OrgSwitcher|{{{publisher 4}}}|{{#switch:{{{type|}}}|Mod = mods|Tool = tools|Package = packages|games}}}}|}}</div>|}} | -->{{#if:{{{publisher 4|}}}|, {{Software page/strings|OrgSwitcher|{{{publisher 4}}}|{{#switch:{{{type|}}}|Mod = mods|Tool = tools|Package = packages|games}}}}|}}</div>|}} | ||
</div> | </div> | ||
</div> | </div><!-- | ||
<!-- | |||
- The Second Infopanel & Description - | - The Second Infopanel & Description - | ||
--> | -->{{#if:{{{mode|}}}{{{genre|}}}{{{platform|}}}{{{website|}}}{{{blog|}}}{{{appid|}}}{{{wiki|}}}{{{wikipedia|}}}{{{pcgw|}}}{{{moddb|}}}{{{workshop|}}}{{{metacritic|}}}{{{metacritic link|}}}{{{mod status|}}}{{{mod of|}}} | ||
{{#if:{{{mode|}}}{{{genre|}}}{{{platform|}}}{{{website|}}}{{{blog|}}}{{{appid|}}}{{{wiki|}}}{{{wikipedia|}}}{{{pcgw|}}}{{{moddb|}}}{{{workshop|}}}{{{metacritic|}}}{{{metacritic link|}}}{{{mod status|}}}{{{mod of|}}}| | |<div style="max-width:1080px; width:100%; margin-top:20px; z-index:1"> | ||
<div style="max-width:1080px; width:100%; margin-top:20px; z-index:1"> | |||
<div style="display:flex; flex-direction:column; gap:10px; min-width:324px; max-width:324px; float:right; margin: 0 0 15px 15px"> | <div style="display:flex; flex-direction:column; gap:10px; min-width:324px; max-width:324px; float:right; margin: 0 0 15px 15px"> | ||
{{#if:{{{mod status|}}}{{{mod of|}}}{{{mod download|}}} | {{#if:{{{mod status|}}}{{{mod of|}}}{{{mod download|}}} | ||
Line 173: | Line 176: | ||
-->}}</div> | -->}}</div> | ||
|}} | |}} | ||
{{#if:{{{workshop|}}}{{{moddb|}}} | |||
| <div style="display:flex; flex-direction:column; background-image:linear-gradient(90deg, {{#if:{{{workshop|}}}|rgb(45 70 150), rgb(50 60 120)|rgb(165 35 35), rgb(140 35 35)}}); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0 0 0 / 80%); border-radius:6px; overflow:hidden; position:relative"> | | <div style="display:flex; flex-direction:column; background-image:linear-gradient(90deg, {{#if:{{{workshop|}}}|rgb(45 70 150), rgb(50 60 120)|rgb(165 35 35), rgb(140 35 35)}}); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0 0 0 / 80%); border-radius:6px; overflow:hidden; position:relative"> | ||
<div style="display:flex; align-items:center; padding:10px"><!-- | <div style="display:flex; align-items:center; padding:10px"><!-- | ||
Line 195: | Line 198: | ||
| }}<!-- | | }}<!-- | ||
--> | --><div style="display:flex; flex-direction:column; gap:10px; width:100%; background-color:rgba(0,0,0,.1); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0,0,0,.4); border-radius:6px; padding:{{#if:{{{mode|}}}{{{genre|}}}{{{platform|}}}|8px|10px}} 10px 10px 10px"><!-- | ||
--> {{#if:{{{mode|}}} | --> {{#if:{{{mode|}}} | ||
| <div style="overflow:hidden; -webkit-line-clamp: 2; text-overflow:ellipsis"><span style="opacity:.6"><!-- | | <div style="overflow:hidden; -webkit-line-clamp: 2; text-overflow:ellipsis"><span style="opacity:.6"><!-- | ||
Line 244: | Line 247: | ||
|}} | |}} | ||
</div> | </div> | ||
<!-- Steamdeck compat infopanel --> | |||
{{#switch:{{lc:{{{deck|}}}}} | |||
|verified | | verified | ||
|playable | | playable | ||
|unsupported | | unsupported | ||
|unknown | unknown-vw = <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%;"> | | unknown | ||
| unknown-vw = <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;">[[File:{{ucfirst:{{{deck|Unknown}}}}}-noborder.png|25px|{{Software page/strings|Deck{{ucfirst:{{{deck|Unknown}}}}}}}|link=https://www.steamdeck.com/en/verified]] | <div style="color:white; font-size:20px; border-radius:3px; width:5px; padding:0px 10px; text-align:center;">[[File:{{ucfirst:{{{deck|Unknown}}}}}-noborder.png|25px|{{Software page/strings|Deck{{ucfirst:{{{deck|Unknown}}}}}}}|link=https://www.steamdeck.com/en/verified]] | ||
</div> | </div> |
Revision as of 02:35, 31 December 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").

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