Template:Software page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(This template is no longer used on pages, but I would not want it to be deleted)
Tag: Replaced
 
(739 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{ModernNote|There was some activity in the direction of translating this template. Use the [[/strings|strings subpage]] for this.}}
{{important|This is a placeholder being used for page history reasons and should not be used as an actual template.}}
<includeonly>


== Parameters ==
<onlyinclude><div style="background-color:rgb(255 10 40 / 16%); border-radius:.5em; border:2px solid rgb(255 255 255 / 10%); color:rgb(255 230 235); padding:1em 2em">'''Used the [[:Category:Archived templates|archived template]] {{T|Software page}}.'''<br>Please remove it from the page if you know how.</div>[[Category:Pages using archived templates]]</onlyinclude>
* {{Param|name}}
* {{Param|shortname}}
* {{Param|appid}}
* {{Param|tools}}
* {{Param|workshop}}
* {{Param|wiki}}
* {{Param|background}}
* {{Param|mode}}
* {{Param|mode2}}
* {{Param|genre}}
* {{Param|genre2}}
* {{Param|engine}}
* {{Param|developer}}
* {{Param|dev2}}, {{Param|dev3}}, {{Param|dev4}}
* {{Param|publisher}}
* {{Param|pub2}}, {{Param|pub3}}, {{Param|pub4}}
* {{Param|shortdesc}}
* {{Param|desc}}


== Preview ==
</includeonly>
{{Software page
[[Category:Archived templates]]
| name = Team Fortress 2
| appid = 507500
| wiki = https://wiki.teamfortress.com
| background = [[File:Team Fortress 2 new.jpg]]
| release = 10 Oct, 2007
| mode = MP
| mode2 = COOP
| genre = FPS
| genre2 = TPS
| engine = 1
| developer = Valve
| dev2 = Valve
| publisher = Valve
| pub2 = Valve
| shortdesc = {{lorem ipsum}}
| desc = {{lorem ipsum}}
}}
<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"><!--
-->[[{{{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><!--
 
-->[[{{{tools|{{{name|{{FULLPAGENAME}}}}}/Docs}}}|<font style="color:rgba(255,255,255,.4)">{{Software page/strings|ForDevs}}</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)">{{Software page/strings|Workshop}}</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)">{{Software page/strings|Wiki}}</font>]|}}
</div>
<div class="plainlinks" style="display:flex; flex-direction:column; align-items:center; width:100%; margin-bottom:40px">
<!-- Background -->
<div style="display:flex; justify-content:center; align-items:start; width:100%; height:100%; max-height:640px; overflow:hidden; position:absolute; z-index:-1">
<div style="opacity:.1; user-select:none; pointer-events:none; position:absolute">{{{background|}}}</div>
<div style="width:100%; height:200px; background-image:linear-gradient(0deg, #262626 2%, transparent); position:relative; margin-top:auto"></div>
</div>
<!-- Screenshots & Infobox -->
<div style="display:flex; width:1000px; margin-top:40px; z-index:1">
<div style="display:flex; flex-direction:column; width:656px; user-select:none; margin-right:20px">
<div style="width:100%; height:369px; background:#202020; border-radius:6px; overflow:hidden">{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 1.jpg}}|[[File:{{{shortname|{{{name|}}}}}} - Screenshot 1.jpg|656px]]|}}</div>
<div style="display:flex; gap:10px; width:100%; {{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 6.jpg}}|height:100px;}} border-radius:6px; overflow-x:auto; margin-top:10px"><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 2.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 2.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 3.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 3.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 4.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 4.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 5.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 5.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 6.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 6.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 7.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 7.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 8.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 8.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 9.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 9.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 10.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 10.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 11.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 11.jpg|128px]]</div>|}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{shortname|{{{name|}}}}}} - Screenshot 12.jpg}}|<div style="min-width:128px; height:72px; border-radius:6px; overflow:hidden">[[File:{{{shortname|{{{name|}}}}}} - Screenshot 12.jpg|128px]]</div>|}}
</div>
</div>
<div style="display:flex; flex-direction:column; gap:10px; width:324px; background:rgba(0,0,0,.1); border-radius:6px">
<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><!--
 
-->{{#if:{{{release|}}}|<div style="padding:0 10px"><span style=opacity:.6>{{Software page/strings|ReleaseDate}}:</span> {{Software page/strings|ReleaseDateSwitcher|{{{release|}}}}}</div>|}}<!--
 
-->{{#if:{{{mode|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6>{{Software page/strings|Mode{{#if:{{{mode2|}}}|s|}}}}:</span> {{Software page/strings|ModeSwitcher|{{{mode|}}}}}{{#if:{{{mode2|}}}|, {{Software page/strings|ModeSwitcher|{{{mode2|}}}}}|}}</div>|}}<!--
 
-->{{#if:{{{genre|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6>{{Software page/strings|Genre{{#if:{{{genre2|}}}|s|}}}}:</span> {{Software page/strings|GenreSwitcher|{{{genre|}}}}}{{#if:{{{genre2|}}}|, {{Software page/strings|GenreSwitcher|{{{genre2|}}}}}|}}</div>|}}<!--
 
-->{{#if:{{{engine|}}}|<div style="padding:0 10px"><span style=opacity:.6>{{Software page/strings|Engine}}:</span> {{{{#switch:{{{engine|}}}|1=source|2=source2|gldsrc}}|4}}</div>|}}<!--
 
-->{{#if:{{{developer|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6>{{Software page/strings|Developer{{#if:{{{dev2|}}}{{{dev3|}}}{{{dev4|}}}|s|}}}}:</span> {{Software page/strings|CompanySwitcher|{{{developer|}}}}}{{#if:{{{dev2|}}}|, {{Software page/strings|CompanySwitcher|{{{dev2|}}}}}|}}{{#if:{{{dev3|}}}|, {{Software page/strings|CompanySwitcher|{{{dev3|}}}}}|}}{{#if:{{{dev4|}}}|, {{Software page/strings|CompanySwitcher|{{{dev4|}}}}}|}}</div>|}}<!--
 
-->{{#if:{{{publisher|}}}|<div style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis; padding:0 10px"><span style=opacity:.6>{{Software page/strings|Publisher{{#if:{{{pub2|}}}{{{pub3|}}}{{{pub4|}}}|s|}}}}:</span> {{Software page/strings|CompanySwitcher|{{{publisher|}}}}}{{#if:{{{pub2|}}}|, {{Software page/strings|CompanySwitcher|{{{pub2|}}}}}|}}{{#if:{{{pub3|}}}|, {{Software page/strings|CompanySwitcher|{{{pub3|}}}}}|}}{{#if:{{{pub4|}}}|, {{Software page/strings|CompanySwitcher|{{{pub4|}}}}}|}}</div>|}}
</div>
</div>
<!-- Description -->
<div style="width:1000px; margin-top:30px; z-index:1">{{{desc|}}}</div>
</div></onlyinclude></includeonly>

Latest revision as of 15:39, 23 August 2025

Icon-Important.pngImportant:This is a placeholder being used for page history reasons and should not be used as an actual template.