Template:Software page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{ModernNote|There was some activity in the direction of translating this template. Use the [[/strings|strings subpage]] for this.}}
{{idea|This template should standardize software pages (mostly game and mod pages). Also, it should make it easier for developers to find documentation.}}
{{idea|This template should standardize software pages (mostly game and mod pages). Also, it should make it easier for developers to find documentation.}}
{{idea|It should become like pages from Steam, ModDB or who knows what else.}}
{{idea|It should become like pages from Steam, ModDB or who knows what else.}}
Line 10: Line 12:


{{Software page
{{Software page
| name = PUNT
| name = Team Fortress 2
| appid = 507500
| appid = 507500
| test = true
| test = true
| background = [[File:PUNT - Screenshot 4.jpg]]
| background = [[File:Team Fortress 2 new.jpg]]
| released = TBD
| released = 10 Oct, 2007
| engine = 2
| mode = Multiplayer Game
| developer = [https://store.steampowered.com/developer/lunchhouse LunchHouse Software]
| genre = Shooter
| publisher = [https://store.steampowered.com/developer/lunchhouse LunchHouse Software]
| engine = 1
| developer = Valve
| publisher = Valve
| shortdesc = {{lorem ipsum}}
| shortdesc = {{lorem ipsum}}
| desc = {{lorem ipsum}}
| desc = {{lorem ipsum}}
Line 23: Line 27:
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<div class="plainlinks" style="display:flex; justify-content:center; gap:10px; background:#202020; border:1px solid #323232; text-transform:uppercase; padding:5px 0"><!--
<div class="plainlinks" style="display:flex; justify-content:center; gap:10px; background:#202020; border:1px solid #323232; text-transform:uppercase; padding:5px 0"><!--
-->[[{{{name|{{FULLPAGENAME}}}}}|<font style="color:#FFF">{{Autolang|Summary|ru=Сводка}}</font>]]<!--
-->[[{{{name|{{FULLPAGENAME}}}}}|<font style="color:#FFF">{{Software page/strings|Summary}}</font>]]<!--


-->{{#if:{{{docs|}}}||<font style="user-select:none; pointer-events:none; color:rgba(255,255,255,.1)">&#124;</font><!--
-->{{#if:{{{docs|}}}||<font style="user-select:none; pointer-events:none; color:rgba(255,255,255,.1)">&#124;</font><!--


-->[[{{{tools|{{{name|{{FULLPAGENAME}}}}}/Docs}}}|<font style="color:rgba(255,255,255,.4)">{{Autolang|For developers|ru=Разработчикам}}</font>]]}}<!--
-->[[{{{tools|{{{name|{{FULLPAGENAME}}}}}/Docs}}}|<font style="color:rgba(255,255,255,.4)">{{Software page/strings|For devs}}</font>]]}}<!--


-->{{#if:{{{workshop|}}}||<font style="user-select:none; pointer-events:none; color:rgba(255,255,255,.1)">&#124;</font><!--
-->{{#if:{{{workshop|}}}||<font style="user-select:none; pointer-events:none; color:rgba(255,255,255,.1)">&#124;</font><!--


-->[https://steamcommunity.com/app/{{{appid|}}}/workshop <font style="color:rgba(255,255,255,.4)">{{Autolang|Workshop|ru=Мастерская}}</font>]}}<!--
-->[https://steamcommunity.com/app/{{{appid|}}}/workshop <font style="color:rgba(255,255,255,.4)">{{Software page/strings|Workshop}}</font>]}}<!--


-->{{#if:{{{wiki|}}}|<font style="user-select:none; pointer-events:none; color:rgba(255,255,255,.1)">&#124;</font><!--
-->{{#if:{{{wiki|}}}|<font style="user-select:none; pointer-events:none; color:rgba(255,255,255,.1)">&#124;</font><!--


-->[{{{wiki|}}} <font style="color:rgba(255,255,255,.4)">{{Autolang|Wiki|ru=Вики}}</font>]|}}
-->[{{{wiki|}}} <font style="color:rgba(255,255,255,.4)">{{Software page/strings|Wiki}}</font>]|}}
</div>
</div>
<div class="plainlinks" style="display:flex; flex-direction:column; align-items:center; width:100%; margin-bottom:40px">
<div class="plainlinks" style="display:flex; flex-direction:column; align-items:center; width:100%; margin-bottom:40px">
Line 64: Line 68:
<div style="width:100%; height:151px; background:#202020; border-radius:6px; overflow:hidden; user-select:none">{{#if:{{PROTECTIONEXPIRY:edit|File:GameCover-{{{shortname|{{{name|}}}}}}.jpg}}|[[File:GameCover-{{{shortname|{{{name|}}}}}}.jpg|324px|link=]]|}}</div>
<div style="width:100%; height:151px; background:#202020; border-radius:6px; overflow:hidden; user-select:none">{{#if:{{PROTECTIONEXPIRY:edit|File:GameCover-{{{shortname|{{{name|}}}}}}.jpg}}|[[File:GameCover-{{{shortname|{{{name|}}}}}}.jpg|324px|link=]]|}}</div>
<div style="display:-webkit-box; -webkit-line-clamp: 6; -webkit-box-orient:vertical; overflow: hidden; padding:0 10px">{{{shortdesc|}}}</div><!--
<div style="display:-webkit-box; -webkit-line-clamp: 6; -webkit-box-orient:vertical; overflow: hidden; padding:0 10px">{{{shortdesc|}}}</div><!--
--><div style="display:none; padding:0 10px"><span style="opacity:0.6;">All reviews:</span> Temporarily unavailable</div><!--
--><div style="padding:0 10px"><span style="opacity:0.6">{{Software page/strings|Release Date}}:</span> {{{released|}}}</div><!--
--><div style="padding:0 10px"><span style="opacity:0.6">Release Date:</span> {{{released|}}}</div><!--
-->{{#if:{{{mode|}}}|<div style="padding:0 10px"><span style="opacity:0.6">{{Software page/strings|Mode}}:</span> {{{mode|}}}</div>|}}<!--
-->{{#if:{{{mode|}}}|<div style="padding:0 10px"><span style="opacity:0.6">Mode:</span> {{{mode|}}}</div>|}}<!--
-->{{#if:{{{genre|}}}|<div style="padding:0 10px"><span style="opacity:0.6">{{Software page/strings|Genre}}:</span> {{{genre|}}}</div>|}}<!--
-->{{#if:{{{genre|}}}|<div style="padding:0 10px"><span style="opacity:0.6">Genre:</span> {{{genre|}}}</div>|}}<!--
--><div style="padding:0 10px"><span style="opacity:0.6">{{Software page/strings|Engine}}:</span> {{{{#switch:{{{engine|}}}|1=source|2=source2|gldsrc}}|4}}</div><!--
--><div style="padding:0 10px"><span style="opacity:0.6">Engine:</span> {{{{#switch:{{{engine|}}}|1=source|2=source2|gldsrc}}|4}}</div><!--
--><div style="padding:0 10px"><span style="opacity:0.6">{{Software page/strings|Developer}}:</span> {{#switch:{{{developer|}}}|Valve=[[Valve]]|{{{developer|}}}}}</div><!--
--><div style="padding:0 10px"><span style="opacity:0.6">Developer:</span> {{#switch:{{{developer|}}}|Valve=[[Valve]]|{{{developer|}}}}}</div><!--
--><div style="padding:0 10px"><span style="opacity:0.6">{{Software page/strings|Publisher}}:</span> {{#switch:{{{publisher|}}}|Valve=[[Valve]]|{{{publisher|}}}}}</div>
--><div style="padding:0 10px"><span style="opacity:0.6">Publisher:</span> {{#switch:{{{publisher|}}}|Valve=[[Valve]]|{{{publisher|}}}}}</div>
</div>
</div>
</div>
</div>

Revision as of 06:00, 24 February 2023

Template:ModernNote

Tip.pngIdea:This template should standardize software pages (mostly game and mod pages). Also, it should make it easier for developers to find documentation.
Tip.pngIdea:It should become like pages from Steam, ModDB or who knows what else.
Tip.pngIdea:The Docs subpage (FOR DEVELOPERS) should contain a table similar to the table from Half-Life: Alyx Workshop Tools page.

Example of the layout of developer pages:

  • Team Fortress 2/Docs
    • Team Fortress 2/Level Design
    • Team Fortress 2/Creating items
    • Team Fortress 2/...