Template:Software page: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(The сover name has been updated. Now with spaces!) |
||
Line 1: | Line 1: | ||
{{Software page | |||
| experimental = true | |||
| type = Mod | |||
| name = Garry's Mod | |||
| mode = MP | |||
| deck = Playable | |||
}} | |||
{{ModernNote|The work on the template has not been completed, but it is working properly.}} | {{ModernNote|The work on the template has not been completed, but it is working properly.}} | ||
{{ModernTodo|(In Progress) Automatic image search will be replaced by manually entering the image format in {{Param|screenshot <2-20>}}. This will allow you to specify any images from this wiki, as well as use a semi-automatic image search.}} | {{ModernTodo|(In Progress) Automatic image search will be replaced by manually entering the image format in {{Param|screenshot <2-20>}}. This will allow you to specify any images from this wiki, as well as use a semi-automatic image search.}} | ||
{{ModernTodo|Steam Workshop will only be used on the pages of the software that is part of it. Steam Community will be used for everything else.}} | {{ModernTodo|Steam Workshop will only be used on the pages of the software that is part of it. Steam Community will be used for everything else.}} | ||
<!--{{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.}}--> | ||
Line 42: | Line 48: | ||
<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>{{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> | ||
<div>{{Software page/strings|Cover}}: {{Code|{{#if:{{PROTECTIONEXPIRY:edit|File: | <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> | ||
Line 74: | Line 80: | ||
{{#if:{{{trailer|}}} | {{#if:{{{trailer|}}} | ||
| <div style="display:flex; justify-content:center; align-items:center; width:100%; height:100%; background:radial-gradient(ellipse at top, rgba(245,5,5,.05), transparent), radial-gradient(ellipse at bottom, rgba(255,230,255,.14), transparent); box-shadow:inset 0 0 2px rgb(0,0,0,.4), inset 0 0 80px rgb(0,0,0,.2); border-radius:6px;">{{#if:{{{trailer preview|}}}|<div style="opacity:.4; pointer-events:none; position:absolute">[[File:{{{filename|{{{name|}}}}}} - Trailer Preview.{{{trailer preview|}}}|736px|link=]]</div>|}}[{{{trailer|}}} <span style="border:1px solid #FFF; border-radius:4px; font-size:1.1em; font-weight:800; color:#FFF; position:relative; z-index:10; padding:8px 16px">{{Software page/strings|WatchTrailer}}</span>]</div> | | <div style="display:flex; justify-content:center; align-items:center; width:100%; height:100%; background:radial-gradient(ellipse at top, rgba(245,5,5,.05), transparent), radial-gradient(ellipse at bottom, rgba(255,230,255,.14), transparent); box-shadow:inset 0 0 2px rgb(0,0,0,.4), inset 0 0 80px rgb(0,0,0,.2); border-radius:6px;">{{#if:{{{trailer preview|}}}|<div style="opacity:.4; pointer-events:none; position:absolute">[[File:{{{filename|{{{name|}}}}}} - Trailer Preview.{{{trailer preview|}}}|736px|link=]]</div>|}}[{{{trailer|}}} <span style="border:1px solid #FFF; border-radius:4px; font-size:1.1em; font-weight:800; color:#FFF; position:relative; z-index:10; padding:8px 16px">{{Software page/strings|WatchTrailer}}</span>]</div> | ||
| {{#switch:{{{experimental- | | {{#switch:{{{experimental-SaM|}}} | ||
| true = <div style="position:absolute"><!-- | | true = <div style="position:absolute"><!-- | ||
-->{{Software page/include|New L Screenshot|{{{screenshot 1|}}}|{{{filename|{{{name|}}}}}}|1|{{{screenshot 1 desc|Screenshot 1}}}|{{{screenshot 1 lang|}}}}}<!-- | -->{{Software page/include|New L Screenshot|{{{screenshot 1|}}}|{{{filename|{{{name|}}}}}}|1|{{{screenshot 1 desc|Screenshot 1}}}|{{{screenshot 1 lang|}}}}}<!-- | ||
Line 86: | Line 92: | ||
</div> | </div> | ||
<div style="display:flex; gap:10px; {{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|{{{name|}}}}}} - Screenshot {{#if:{{{trailer|}}}|6|7}}.png}}|height:100px;|{{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|{{{name|}}}}}} - Screenshot {{#if:{{{trailer|}}}|6|7}}.jpg}}|height:100px;|}}}} border-radius:6px; overflow:hidden; margin-top:10px"> | <div style="display:flex; gap:10px; {{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|{{{name|}}}}}} - Screenshot {{#if:{{{trailer|}}}|6|7}}.png}}|height:100px;|{{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|{{{name|}}}}}} - Screenshot {{#if:{{{trailer|}}}|6|7}}.jpg}}|height:100px;|}}}} border-radius:6px; overflow:hidden; margin-top:10px"> | ||
<div style="display:flex; gap:10px; overflow-x:auto; overflow-y:hidden{{#if:{{{experimental- | <div style="display:flex; gap:10px; overflow-x:auto; overflow-y:hidden{{#if:{{{experimental-SaM|}}}|; position:relative|}}">{{#switch:{{{experimental|}}} | ||
| true = <!-- | | true = <!-- | ||
-->{{Software page/include|New Screenshot|{{{screenshot 1|}}}|{{{filename|{{{name|}}}}}}|1|{{{screenshot 1 desc|Screenshot 1}}}|{{{screenshot 1 lang|}}}}}<!-- | -->{{#if:{{{trailer|}}}{{{experimental-SaM|}}}|{{Software page/include|New Screenshot|{{{screenshot 1|}}}|{{{filename|{{{name|}}}}}}|1|{{{screenshot 1 desc|Screenshot 1}}}|{{{screenshot 1 lang|}}}}}|}}<!-- | ||
-->{{Software page/include|New Screenshot|{{{screenshot 2|}}}|{{{filename|{{{name|}}}}}}|2|{{{screenshot 2 desc|Screenshot 2}}}|{{{screenshot 2 lang|}}}}}<!-- | -->{{Software page/include|New Screenshot|{{{screenshot 2|}}}|{{{filename|{{{name|}}}}}}|2|{{{screenshot 2 desc|Screenshot 2}}}|{{{screenshot 2 lang|}}}}}<!-- | ||
-->{{Software page/include|New Screenshot|{{{screenshot 3|}}}|{{{filename|{{{name|}}}}}}|3|{{{screenshot 3 desc|Screenshot 3}}}|{{{screenshot 3 lang|}}}}}<!-- | -->{{Software page/include|New Screenshot|{{{screenshot 3|}}}|{{{filename|{{{name|}}}}}}|3|{{{screenshot 3 desc|Screenshot 3}}}|{{{screenshot 3 lang|}}}}}<!-- | ||
Line 108: | Line 114: | ||
-->{{Software page/include|New Screenshot|{{{screenshot 19|}}}|{{{filename|{{{name|}}}}}}|19|{{{screenshot 19 desc|Screenshot 19}}}|{{{screenshot 19 lang|}}}}}<!-- | -->{{Software page/include|New Screenshot|{{{screenshot 19|}}}|{{{filename|{{{name|}}}}}}|19|{{{screenshot 19 desc|Screenshot 19}}}|{{{screenshot 19 lang|}}}}}<!-- | ||
-->{{Software page/include|New Screenshot|{{{screenshot 20|}}}|{{{filename|{{{name|}}}}}}|20|{{{screenshot 20 desc|Screenshot 20}}}|{{{screenshot 20 lang|}}}}}<!-- | -->{{Software page/include|New Screenshot|{{{screenshot 20|}}}|{{{filename|{{{name|}}}}}}|20|{{{screenshot 20 desc|Screenshot 20}}}|{{{screenshot 20 lang|}}}}}<!-- | ||
-->{{#if:{{{experimental- | -->{{#if:{{{experimental-SaM|}}}|<div style="position:absolute; display:flex; flex-direction:column;"> | ||
{{Software page/include|Screenshot Overlay|1}} | {{Software page/include|Screenshot Overlay|1}} | ||
{{Software page/include|Screenshot Overlay|2|collapsed}} | {{Software page/include|Screenshot Overlay|2|collapsed}} | ||
Line 141: | Line 147: | ||
<div style="display:flex; justify-content:center; align-items:center; height:151px; background:#202020; border-radius:6px; overflow:hidden; user-select:none; position:relative"> | <div style="display:flex; justify-content:center; align-items:center; height:151px; background:#202020; border-radius:6px; overflow:hidden; user-select:none; position:relative"> | ||
{{#switch:{{{type|}}}|Mod|DLC=<div style="width:90px; height:90px; position:absolute; z-index:1; left:0; top:0">[[File:tag-{{#switch:{{{type|}}}|Mod=mod|DLC=DLC}}.png|90px|link=]]</div>|}} | {{#switch:{{{type|}}}|Mod|DLC=<div style="width:90px; height:90px; position:absolute; z-index:1; left:0; top:0">[[File:tag-{{#switch:{{{type|}}}|Mod=mod|DLC=DLC}}.png|90px|link=]]</div>|}} | ||
{{# | {{#if:{{{deck|}}} | ||
| <div style="width:25px; height:25px; position:absolute; z-index:1; left:10px; bottom:10px"><!-- | |||
| Playable = | -->{{#switch:{{{deck|}}} | ||
| Unsupported = | | Verified = [[File:Verified.png|25px|{{Software page/strings|DeckVerified}}|link=https://www.steamdeck.com/en/verified]] | ||
| Unknown = | | Playable = [[File:Playable.png|25px|{{Software page/strings|DeckPlayable}}|link=https://www.steamdeck.com/en/verified]] | ||
}} | | Unsupported = [[File:Unsupported.png|25px|{{Software page/strings|DeckUnsupported}}|link=https://www.steamdeck.com/en/verified]] | ||
<div style="position:absolute"> | | Unknown = [[File:Unknown.png|25px|{{Software page/strings|DeckUnknown}}|link=https://www.steamdeck.com/en/verified]] | ||
}} | |||
</div> | |||
|}} | |||
<div style="position:absolute">{{#if:{{PROTECTIONEXPIRY:edit|File:Software Cover - {{{filename|{{{name|}}}}}}.png}} | |||
| [[File:Software Cover - {{{filename|{{{name|}}}}}}.png|324px|link=]] | |||
| {{#if:{{PROTECTIONEXPIRY:edit|File:Software Cover - {{{filename|{{{name|}}}}}}.jpg}} | |||
| [[File:Software Cover - {{{filename|{{{name|}}}}}}.jpg|324px|link=]] | |||
| <span style="opacity:.6">[[File:Icon-panorama.png|64px|{{User page/strings|AddCover}}|link=File:Software Cover - {{{filename|{{{name|{{PAGENAME}}}}}}}}.png]]</span> | |||
}} | }} | ||
}}</div> | |||
</div><!-- | </div><!-- | ||
-->{{#if:{{{shortdesc|}}}|<div style="display:-webkit-box; -webkit-line-clamp: 6; -webkit-box-orient:vertical; overflow: hidden; padding:0 10px">{{{shortdesc|}}}</div>|}}<!-- | -->{{#if:{{{shortdesc|}}}|<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:{{{release|}}}|<div style="padding:0 10px"><span style="opacity:.6">{{Software page/strings|ReleaseDate}}:</span> {{Software page/strings|ReleaseDateSwitcher|{{{release|}}}}}</div>|}}<!-- |
Revision as of 08:16, 3 May 2023
Summary

[[Category:{{{platform}}} mods]] [[Category:{{{platform 2}}} mods]] [[Category:{{{platform 3}}} mods]] [[Category:{{{platform 4}}} mods]] [[Category:{{{platform 5}}} mods]] [[Category:{{{platform 6}}} mods]] Template:ModernNote Template:ModernTodo Template:ModernTodo
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.