Template:Software page: Difference between revisions
Jump to navigation
Jump to search
Line 146: | Line 146: | ||
{{#switch:{{{experimental|}}} | {{#switch:{{{experimental|}}} | ||
| true = <div style="max-width:1080px; width:100%; margin-top:20px; z-index:1"> | | true = <div style="max-width:1080px; width:100%; margin-top:20px; z-index:1"> | ||
<div style="display:flex; flex-direction:column; gap:10px; min-width:280px; max-width:324px; float:right"> | <div style="display:flex; flex-direction:column; gap:10px; min-width:280px; max-width:324px; float:right; margin: 0 0 20px 20px"> | ||
<div style="width:100%; background:rgba( | {{#if:{{{demo|}}}|<div style="width:100%; background-image:linear-gradient(60deg, rgb(62,86,23,.7) 5%,rgba(88,138,27,.6) 95%); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0,0,0,.4); border-radius:6px; overflow:hidden; padding:5px 10px">{{Software page/strings|Released on Steam as a Demo|{{#switch:{{{type|}}}|Mod=mod|Tool=tool|game}}|{{{demo}}}}}</div>|}} | ||
{{#if:{{{appid|}}}{{{workshop|}}} | |||
| <div style="width:100%; background-image:linear-gradient(60deg, rgb(255,255,255,.1) 5%,rgba(255,255,255,.2) 95%); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0,0,0,.4); border-radius:6px; overflow:hidden"> | |||
{{#if:{{{workshop|}}} | |||
<div style="display:flex; flex-direction:column; gap:10px; width:100%; background:rgba(0,0,0,.1); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0,0,0,.4); border-radius:6px; padding:5px 10px"> | | <div style="padding:5px 10px">{{Software page/strings|Released in Steam Workshop|mod|{{{workshop}}}}}</div> | ||
| <div style="padding:5px 10px">{{Software page/strings|Released on Steam {{#if:{{{price|}}}||for free}}|{{#switch:{{{type|}}}|Mod=mod|Tool=tool|Package=package|game}}|{{{appid}}}}}</div> | |||
}} | |||
{{#if:{{{appid|}}}{{{workshop|}}} | |||
| {{#if:{{{moddb|}}}|<div style="background-color:rgba(0,0,0,.2); padding:5px 10px">{{Software page/strings|Also in}}: <span style="background:rgb(0,0,0,.16); border-radius:4px; white-space: nowrap; font-weight:bold; padding:2px">{{#if:{{{moddb|}}}|<span style="user-select:none; position:relative; bottom:.1em">[[File:Moddb-32px.png|16px|link=]]</span> [http://www.moddb.com/{{{moddb}}} ModDB]</span>|}}</div>|}} | |||
|}} | |||
</div> | |||
|}} | |||
{{#if:{{{genre|}}} | |||
| <div style="display:flex; flex-direction:column; gap:10px; width:100%; background-color:rgba(0,0,0,.1); box-sizing:border-box; box-shadow:inset 0 0 2px rgb(0,0,0,.4); border-radius:6px; padding:5px 10px"> | |||
{{#if:{{{genre|}}}|<div><span style=opacity:.6><!-- | {{#if:{{{genre|}}}|<div><span style=opacity:.6><!-- | ||
-->{{Software page/strings|Genre{{#if:{{{genre 2|}}}|s|}}}}:</span> {{Software page/strings|GenreSwitcher|{{{genre}}}}}<!-- | -->{{Software page/strings|Genre{{#if:{{{genre 2|}}}|s|}}}}:</span> {{Software page/strings|GenreSwitcher|{{{genre}}}}}<!-- | ||
Line 159: | Line 168: | ||
-->{{#if:{{{genre 5|}}}|, {{Software page/strings|GenreSwitcher|{{{genre 5}}}}}|}}<!-- | -->{{#if:{{{genre 5|}}}|, {{Software page/strings|GenreSwitcher|{{{genre 5}}}}}|}}<!-- | ||
-->{{#if:{{{genre 6|}}}|, {{Software page/strings|GenreSwitcher|{{{genre 6}}}}}|}}</div>|}} | -->{{#if:{{{genre 6|}}}|, {{Software page/strings|GenreSwitcher|{{{genre 6}}}}}|}}</div>|}} | ||
</div> | |||
|}} | |||
</div> | </div> | ||
<div>{{{desc|}}}</div> | <div>{{{desc|}}}</div></div> | ||
| #default = <div style="max-width:1080px; width:100%; margin-top:20px; z-index:1">{{{desc|}}}</div> | | #default = <div style="max-width:1080px; width:100%; margin-top:20px; z-index:1">{{{desc|}}}</div> | ||
}}</div> | }}</div> |
Revision as of 00:03, 18 April 2023
Template:ModernNote Template:ModernTodo 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.