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").
Bug:Headings inside of a {{{desc}}} will sometimes be centered, instead of left-aligned.
Example:
Counter-Strike [todo tested in ?]
Note:Additional potential non-essential features:
m (Localization of the name, as in Template:MultiPage) |
(Added ProtonDB) |
||
Line 1: | Line 1: | ||
{{ModernWarning|Don't use 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.}} | <!-- {{ModernWarning|Don't use 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").}} | ||
{{Todo | {{Todo|ProtonDB and PCGamingWiki need other icons.}} | ||
| | |||
}} | |||
{{Todo|Add an option to hide "available on Steam" for games that doesn't have it (experimental mode).<br> Example: {{cso|4}}.}} | {{Todo|Add an option to hide "available on Steam" for games that doesn't have it (experimental mode).<br> Example: {{cso|4}}.}} | ||
Line 211: | Line 207: | ||
-->{{#if:{{{blog|}}}| {{Software page/components|Link|{{{blog}}}|name={{Software page/strings|Blog}}}} |}}<!-- | -->{{#if:{{{blog|}}}| {{Software page/components|Link|{{{blog}}}|name={{Software page/strings|Blog}}}} |}}<!-- | ||
-->{{#if:{{{wiki|}}}| {{Software page/components|Link|{{{wiki}}}|name={{Software page/strings|Wiki}}}} |}}<!-- | -->{{#if:{{{wiki|}}}| {{Software page/components|Link|{{{wiki}}}|name={{Software page/strings|Wiki}}}} |}}<!-- | ||
-->{{#if:{{{appid|}}}| {{Software page/components|Link|https://steamdb.info/app/{{{appid}}}|name=SteamDB}} |}}<!-- | -->{{#if:{{{appid|}}} | ||
-->{{#if:{{{wikipedia|}}}| {{Software page/components|Link|https://en.wikipedia.org/wiki | | <div style="display:flex; gap:.5em"><!-- | ||
-->{{Software page/components|Link|https://steamdb.info/app/{{{appid}}}|name=SteamDB|icon=Logo-SteamDB.png}}<!-- | |||
-->{{Software page/components|Link|https://www.protondb.com/app/{{{appid}}}|name=ProtonDB|icon=Logo-ProtonDB.png}} | |||
</div> | |||
|}}<!-- | |||
-->{{#if:{{{wikipedia|}}}{{{pcgw|}}} | |||
| <div style="display:flex; gap:.5em"><!-- | |||
-->{{#if:{{{wikipedia|}}}| {{Software page/components|Link|https://en.wikipedia.org/wiki/{{#switch:{{{wikipedia|}}}|true={{{name|{{FULLPAGENAME}}}}}|{{{wikipedia|}}}}}|name=Wikipedia|icon=Wikipedia icon small.png|icon shift=1px}} |}}<!-- | |||
-->{{#if:{{{pcgw|}}}| {{Software page/components|Link|https://www.pcgamingwiki.com/wiki/{{#switch:{{{pcgw|}}}|true={{{name|{{FULLPAGENAME}}}}}|{{{pcgw|}}}}}|name=PCGamingWiki|icon=pcgw icon.png}} |}} | |||
</div> | |||
|}} | |||
</div> | </div> | ||
|}} | |}} |
Revision as of 07:48, 29 June 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: ProtonDB and PCGamingWiki need other icons.
Todo: Add an option to hide "available on Steam" for games that doesn't have it (experimental mode).
Example:
Counter-Strike Online.
Example:


Example:


- Support indefinite number of screenshots, instead of capping at 12.
- Option to scale background to page width, rather than manually setting pixel size (different users have different resolution viewports).
- Fields for links to Wikipedia and PCGamingWiki pages? [confirm] Was it done?
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.