Template:Software page/components: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (autolang replace)
 
(79 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ulf|en=1|ru=1}}
== {{#switch: {{language}}|#default = Tests|ru = Тесты}} ==
<div style="display:flex; gap:10px; overflow-x:auto; overflow-y:hidden; margin-bottom:.8em">
{{{{PAGENAME}}|Screenshot|jpg|Team Fortress 2|1|Screenshot 1}}
{{{{PAGENAME}}|Screenshot|PUNT - Screenshot 1.jpg|||Screenshot 2}}
{{{{PAGENAME}}|Screenshot|Counter-Strike 2 - ar_baggage.png|||Screenshot 3}}
{{{{PAGENAME}}|Screenshot|jpg|Dota Underlords|1|Screenshot 4}}
{{{{PAGENAME}}|Screenshot|jpg|Dota Underlords|1|Screenshot 5|{{#switch: {{language}}|#default = |ru = ru}}}}
{{{{PAGENAME}}|Screenshot|Dota Underlords - Screenshot 1{{#switch: {{language}}|#default = |ru = &nbsp;(ru) }}.jpg|||{{#switch: {{language}}|#default = Screenshot 6|ru = Снимок экрана №6}}}}
</div>
{{Software page
| experimental = true | name = Garry's Mod | website = https://gmod.facepunch.com
| screenshot 1 = jpg | screenshot 2 = Team Fortress 2 - Screenshot 4.jpg
| screenshot 3 = jpg | screenshot 4 = jpg | screenshot 6 = jpg
| screenshot 7 = jpg | screenshot 8 = jpg | screenshot 9 = jpg
}}
<includeonly>
<onlyinclude>{{#switch:{{{1|}}}
<onlyinclude>{{#switch:{{{1|}}}


| Screenshot = {{#if:{{PROTECTIONEXPIRY:edit|File:{{{3|}}} - Screenshot {{{2|}}}.png}}
| Screenshot = {{#if:{{{2|}}}|<div style="display:flex; justify-content:center; align-items:center; min-width:128px; height:72px; background:#202020; border-radius:6px; overflow:hidden"><!--
|<div style="display:flex; justify-content:center; align-items:center; min-width:128px; height:72px; background:#202020; border-radius:6px; overflow:hidden">[[File:{{{3|}}} - Screenshot {{{2|}}}.png|128px]]</div>
-->{{#switch:{{{2}}}
|{{#if:{{PROTECTIONEXPIRY:edit|File:{{{3|}}} - Screenshot {{{2|}}}.jpg}}|<div style="display:flex; justify-content:center; align-items:center; min-width:128px; height:72px; background:#202020; border-radius:6px; overflow:hidden">[[File:{{{3|}}} - Screenshot {{{2|}}}.jpg|128px]]</div>|}}
| jpg | png = [[File:{{{3|}}} - Screenshot {{{4|}}}{{#if: {{{6|}}} | &nbsp;({{{6|}}}) |}}.{{{2}}}|128px|{{{5|}}}]]
}}
| [[File:{{{2}}}|128px|{{{5|}}}]] }}</div>|}}
 
| Large Screenshot = {{#if:{{{2|}}}|<div style="position:absolute"><!--
-->{{#switch:{{{2}}}
| jpg | png = [[File:{{{3|}}} - Screenshot {{{4|}}}{{#if: {{{6|}}} | &nbsp;({{{6|}}}) |}}.{{{2}}}|736px|{{{5|}}}]]
| [[File:{{{2}}}|736px|{{{5|}}}]] }}</div>|}}
 
 
 
| DeckCompatString | DCS = <div style="align-items:center; box-sizing:border-box; display:flex; gap:20px; padding:7px; width:100%;"><!--
--><div style="color:white; font-size:20px; border-radius:3px; width:5px; padding:0px 10px; text-align:center;">{{#switch:{{lc:{{{2|unknown}}}}}
| verified = [[File:Verified-noborder.png|20px]]
| playable = [[File:Playable-noborder.png|20px]]
| unsupported = [[File:Unsupported-noborder.png|20px]]
| #default = [[File:Unknown-noborder.png|20px]]
}}</div><!--
--><div style= "color:white; font-size:15px;">{{{3|''Missing parameter 3''}}}</div> <!--
--></div>
 
| Link = {{#if:{{{2|}}}
| <div class="plainlinks" style="display:flex; width:100%; background-color:rgb(80 100 180 / 25%); border-radius:.2em; line-height:1.8em">
{{#if:{{{icon|}}}
| <div style="background-color:rgb(110 180 255 / 10%); user-select:none; padding:0 .5em"> <span style="position:relative; top:{{{icon shift|-1px}}}">[[File:{{{icon|}}}|{{{icon size|16px}}}|link={{{2|}}}{{{3|}}}]]</span> </div>
|}}
<div style="padding:0 .5em"> [{{{2|}}} <span style="color:#8BB9E0">{{{name|}}}</span>] </div>
  </div>
| <nowiki>{{Software page/components|Link}}</nowiki> }}
 
 
 
| Management = <div style="pointer-events:all; text-transform:none; position:absolute; margin-top:-1px; right:5px">
<center class="mw-customtoggle-management" style="display:flex; align-items:center; background-color:#262626; border-radius:3px; user-select:none; padding:3px 4px; margin:0 auto"><!--
-->[[File:icon-settings-filled.png|15px|link=]]
</center>
<div class="mw-collapsible mw-collapsed plainlinks" id="mw-customcollapsible-management" style="display:none; overflow:hidden; background:#404040; border:1px solid #545454; border-radius:4px; box-shadow:0 10px 20px rgb(0,0,0,.3); position:absolute; z-index:1001; right:0; top:28px">
<div style="display:flex; flex-direction:column; gap:3px; overflow-y:auto; max-height:200px; white-space:nowrap; padding:2px 6px">
<div style="color:#FFF"> '''{{Software page/strings|Management}}''' </div>
<div>{{Software page/strings|Background}}: {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Background.jpg}}|[[:File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Background.jpg|JPG]]|[[File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Background.jpg|JPG]]}}}}, {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Background.png}}|[[:File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Background.png|PNG]]|[[File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Background.png|PNG]]}}}}
</div>
<div>{{Software page/strings|Cover}}: {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:Software Cover - {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}.jpg}}|[[:File:Software Cover - {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}.jpg|JPG]]|[[File:Software Cover - {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}.jpg|JPG]]}}}}, {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:Software Cover - {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}.png}}|[[:File:Software Cover - {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}.png|PNG]]|[[File:Software Cover - {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}.png|PNG]]}}}}
</div>
<div>{{Software page/strings|Trailer preview}}: {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Trailer Preview.jpg}}|[[:File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Trailer Preview.jpg|JPG]]|[[File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Trailer Preview.jpg|JPG]]}}}}, {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Trailer Preview.png}}|[[:File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Trailer Preview.png|PNG]]|[[File:{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} - Trailer Preview.png|PNG]]}}}}
</div>
</div>
</div>
</div>


}}</onlyinclude>
}}</onlyinclude>
</includeonly>

Latest revision as of 18:44, 5 August 2024

English (en)Русский (ru)

Tests

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Used the archived template {{Software page}}.
Please remove it from the page if you know how.