Template:Software page/components: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 3: Line 3:
== {{Autolang|Tests|ru = Тесты}} ==
== {{Autolang|Tests|ru = Тесты}} ==
<div style="display:flex; gap:10px; overflow-x:auto; overflow-y:hidden">
<div style="display:flex; gap:10px; overflow-x:auto; overflow-y:hidden">
{{{{PAGENAME}}|New Screenshot|jpg|Team Fortress 2|1|Screenshot 1}}
{{{{PAGENAME}}|Screenshot|jpg|Team Fortress 2|1|Screenshot 1}}
{{{{PAGENAME}}|New Screenshot|PUNT - Screenshot 1.jpg|||Screenshot 2}}
{{{{PAGENAME}}|Screenshot|PUNT - Screenshot 1.jpg|||Screenshot 2}}
{{{{PAGENAME}}|New Screenshot|Counter-Strike 2 - ar_baggage.png|||Screenshot 3}}
{{{{PAGENAME}}|Screenshot|Counter-Strike 2 - ar_baggage.png|||Screenshot 3}}
{{{{PAGENAME}}|New Screenshot|jpg|Dota Underlords|1|Screenshot 4}}
{{{{PAGENAME}}|Screenshot|jpg|Dota Underlords|1|Screenshot 4}}
{{{{PAGENAME}}|New Screenshot|jpg|Dota Underlords|1|Screenshot 5|{{Autolang||ru = ru}}}}
{{{{PAGENAME}}|Screenshot|jpg|Dota Underlords|1|Screenshot 5|{{Autolang||ru = ru}}}}
{{{{PAGENAME}}|New Screenshot|Dota Underlords - Screenshot 1{{Autolang||ru = &nbsp;(ru) }}.jpg|||{{Autolang|Screenshot 6|ru = Снимок экрана №6}}}}
{{{{PAGENAME}}|Screenshot|Dota Underlords - Screenshot 1{{Autolang||ru = &nbsp;(ru) }}.jpg|||{{Autolang|Screenshot 6|ru = Снимок экрана №6}}}}
</div>
</div>


Line 25: Line 25:
| screenshot 9 = jpg
| screenshot 9 = jpg
}}
}}
<includeonly>
<onlyinclude>{{#switch:{{{1|}}}
<onlyinclude>{{#switch:{{{1|}}}


| Screenshot = {{#if:{{PROTECTIONEXPIRY:edit|File:{{{3|}}} - Screenshot {{{2|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.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|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.png|128px|{{{4|}}}]]</div>
| {{#if:{{PROTECTIONEXPIRY:edit|File:{{{3|}}} - Screenshot {{{2|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.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|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.jpg|128px|{{{4|}}}]]</div>|}}
}}
 
| LargeScreenshot = {{#if:{{PROTECTIONEXPIRY:edit|File:{{{3|}}} - Screenshot {{{2|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.png}}
| [[File:{{{3|}}} - Screenshot {{{2|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.png|736px|{{{4|}}}]]
| {{#if:{{PROTECTIONEXPIRY:edit|File:{{{3|}}} - Screenshot {{{2|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.jpg}}
| [[File:{{{3|}}} - Screenshot {{{2|}}}{{#if:{{{5|}}}| &nbsp;({{{5|}}}) |}}.jpg|736px|{{{4|}}}]]}}}}
 
| New 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"><!--
-->{{#switch:{{{2}}}
-->{{#switch:{{{2}}}
| jpg | png = [[File:{{{3|}}} - Screenshot {{{4|}}}{{#if: {{{6|}}} | &nbsp;({{{6|}}}) |}}.{{{2}}}|128px|{{{5|}}}]]
| jpg | png = [[File:{{{3|}}} - Screenshot {{{4|}}}{{#if: {{{6|}}} | &nbsp;({{{6|}}}) |}}.{{{2}}}|128px|{{{5|}}}]]
| [[File:{{{2}}}|128px|{{{5|}}}]] }}</div>|}}
| [[File:{{{2}}}|128px|{{{5|}}}]] }}</div>|}}


| New L Screenshot = {{#if:{{{2|}}}|<div style="position:absolute"><!--
| Large Screenshot = {{#if:{{{2|}}}|<div style="position:absolute"><!--
-->{{#switch:{{{2}}}
-->{{#switch:{{{2}}}
| jpg | png = [[File:{{{3|}}} - Screenshot {{{4|}}}{{#if: {{{6|}}} | &nbsp;({{{6|}}}) |}}.{{{2}}}|736px|{{{5|}}}]]
| jpg | png = [[File:{{{3|}}} - Screenshot {{{4|}}}{{#if: {{{6|}}} | &nbsp;({{{6|}}}) |}}.{{{2}}}|736px|{{{5|}}}]]
| [[File:{{{2}}}|736px|{{{5|}}}]] }}</div>|}}
| [[File:{{{2}}}|736px|{{{5|}}}]] }}</div>|}}
| 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:{{{filename|{{{name|}}}}}} - Background.jpg}}|[[:File:{{{filename|{{{name|}}}}}} - Background.jpg|JPG]]|[[File:{{{filename|{{{name|}}}}}} - Background.jpg|JPG]]}}}}, {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|{{{name|}}}}}} - Background.png}}|[[:File:{{{filename|{{{name|}}}}}} - Background.png|PNG]]|[[File:{{{filename|{{{name|}}}}}} - Background.png|PNG]]}}}}
</div>
<div>{{Software page/strings|Cover}}: {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:Software Cover - {{{filename|{{{name|}}}}}}.jpg}}|[[:File:Software Cover - {{{filename|{{{name|}}}}}}.jpg|JPG]]|[[File:Software Cover - {{{filename|{{{name|}}}}}}.jpg|JPG]]}}}}, {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File:Software Cover - {{{filename|{{{name|}}}}}}.png}}|[[:File:Software Cover - {{{filename|{{{name|}}}}}}.png|PNG]]|[[File:Software Cover - {{{filename|{{{name|}}}}}}.png|PNG]]}}}}
</div>
</div>
</div>
</div>


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

Revision as of 05:10, 27 June 2023

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

==

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
==
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
[[File:Dota Underlords - Screenshot 1 (
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
).jpg|128px|Screenshot 5]]
[[File:Dota Underlords - Screenshot 1
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

.jpg|128px|

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
]]


Used the archived template {{Software page}}.
Please remove it from the page if you know how.