Template:MainPage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (More reasonable size for arrows)
m (Overhauled main page)
Line 1: Line 1:
<noinclude>{{Language subpage}}</noinclude> __NOTOC__
<noinclude>{{Language subpage}}</noinclude> __NOTOC__
{{:Main Page/strings|Welcome}}
{{:Main Page/strings|Welcome}}__NOTOC__


<span style="user-select:none">[[File:Doublearrow.png|12px|link=]]</span> [[Special:Userlogin|'''{{:Main Page/strings|Sign up}}''']] <!-- TODO: Hide the sign up option when user is logged in. -->
<span style="user-select:none">[[File:Doublearrow.png|12px|link=]]</span> [[Special:Userlogin|'''{{:Main Page/strings|Sign up}}''']] <!-- TODO: Hide the sign up option when user is logged in. -->


{| cellspacing="0"
|- valign="top"
| style="width:55%; padding-right:1.5em" |


== {{:Main Page/strings|SDK}} ==
<div style="display:grid; grid-template-columns:repeat(auto-fill,minmax(clamp((100%/2) - 1rem, 25rem, 100%),1fr)); gap:1.5em;">
{{Capsule
| style = 1
| text =
<span style="user-select:none">[[File:Source icon 64x64.png|32px|link=SDK Docs]]</span>&ensp;[[SDK Docs|<font style="color:white">'''{{:Main Page/strings|SDK Docs}}'''</font>]]&ensp;[[File:Doublearrow white.png|12px|link=SDK Docs]]
}}
{{:Main Page/strings|SDK Desc}}


== {{:Main Page/strings|HLSDK}} ==
<div>
{{Capsule
| style = 1
| bg = #7a372f
| text = <span style="user-select:none">[[File:Hl_engine_logo.png|32px|link=Half-Life SDK]]</span>&ensp;[[Half-Life SDK|<font style="color:white">'''{{:Main Page/strings|HLSDK Docs}}'''</font>]]&ensp;[[File:Doublearrow white.png|12px|link=Half-Life SDK]]
}}


== {{:Main Page/strings|S2SDK}} ==
<div class="plainlinks" style="background:#222222; border-radius:.35em; box-shadow:rgba(0, 0, 0, .45) 0 0 25px; padding:.5em; margin-block:1em; overflow:clip;">
<!--Use #9e6219 for the orange one which was based off the CS2 icon but brightness is slightly reduced. For now reusing the HL Alyx and SteamVR background color.-->
<h2 style="background:#4a6821; box-shadow:rgba(91, 191, 77, .05) 0 0 25px; border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.3em; font-size:14px; font-weight:700; height:fit-content;">{{:Main Page/strings|SDK}} &ensp;[[File:Doublearrow white.png|12px|link=SDK Docs]]</h2>
=== {{Dictionary/software|cs2_tools}} ===
<p style="font-weight:300; padding:.5em .3em;">{{:Main Page/strings|SDK Desc}}</p>
{{Capsule
</div>
| style = 1
| bg = #9e6219
| text = <span style="user-select:none">[[Image:cs2 workshop.png|Counter-Strike 2|link=Maps Workshop]]&ensp;</span>[[Maps Workshop|<font style="color:white">'''{{:Main Page/strings|CS2 Tools Docs}}'''</font>]]&ensp;[[File:Doublearrow white.png|12px|link=Maps Workshop]]
}}


=== {{Dictionary/software|dota2_tools}} ===
<div class="plainlinks" style="background:#222222; border-radius:.35em; box-shadow:rgba(0, 0, 0, .45) 0 0 25px; padding:.5em; margin-block:1em; overflow:clip;">
{{Capsule
<h2 style="background:#7a372f; box-shadow:rgba(91, 191, 77, .05) 0 0 25px; border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.3em; font-size:14px; font-weight:700; height:fit-content;">{{:Main Page/strings|HLSDK}} &ensp;[[File:Doublearrow white.png|12px|link=Half-Life SDK]]</h2>
| style = 1
</div>
| bg = #4B2A2E
| text = <span style="user-select:none">[[Image:Dota workshop.png|Dota 2|link=Dota 2 Workshop Tools]]&ensp;</span>[[Dota 2 Workshop Tools|<font style="color:white">'''{{:Main Page/strings|Dota 2 Tools Docs}}'''</font>]]&ensp;[[File:Doublearrow white.png|12px|link=Dota 2 Workshop Tools]]
}}


=== {{Dictionary/software|hlvr_tools}} ===
<div class="plainlinks" style="background:#222222; border-radius:.35em; box-shadow:rgba(0, 0, 0, .45) 0 0 25px; padding:.5em; margin-block:1em; overflow:clip;">
{{Capsule
<h2 style="background:#9e6219; box-shadow:rgba(91, 191, 77, .05) 0 0 25px; border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content;">{{Dictionary/software|cs2_tools}} &ensp;[[File:Doublearrow white.png|12px|link=Maps Workshop]]</h2>
| style = 1
<h2 style="background:#4B2A2E; box-shadow:rgba(91, 191, 77, .05) 0 0 25px; border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content;">{{Dictionary/software|dota2_tools}} &ensp;[[File:Doublearrow white.png|12px|link=Dota 2 Workshop Tools]]</h2>
| bg = #294157
<h2 style="background:#294157; box-shadow:rgba(91, 191, 77, .05) 0 0 25px; border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content;">{{Dictionary/software|hlvr_tools}} &ensp;[[File:Doublearrow white.png|12px|link=Half-Life: Alyx Workshop Tools]]</h2>
| text = <span style="user-select:none">[[File:Hlvr workshop.png|Half-Life: Alyx|link=Half-Life: Alyx Workshop Tools]]&ensp;</span>[[Half-Life: Alyx Workshop Tools|<font style="color:white">'''{{:Main Page/strings|HLA Tools Docs}}'''</font>]]&ensp;[[File:Doublearrow white.png|12px|link=Half-Life: Alyx Workshop Tools]]
<h2 style="background:#33496f; box-shadow:rgba(91, 191, 77, .05) 0 0 25px; border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content;">{{Dictionary/software|svrh_tools}} &ensp;[[File:Doublearrow white.png|12px|link=SteamVR/Environments]]</h2>
}}
</div>


=== {{Dictionary/software|svrh_tools}} ===
</div>
{{Capsule
| style = 1
| bg = #294157
| text = <span style="user-select:none">[[File:Steamtours workshop.png|SteamVR|link=SteamVR/Environments]]&ensp;</span>[[SteamVR/Environments|<font style="color:white">'''{{:Main Page/strings|SVR Tools Docs}}'''</font>]]&ensp;[[File:Doublearrow white.png|12px|link=SteamVR/Environments]]
}}


| style="width:45%" |
<div>


== {{:Main Page/strings|Valve Technology}} ==
<div class="plainlinks" style="background:#d4d4d4; color:#323232; border-radius:.35em; box-shadow:rgba(0, 0, 0, .45) 0 0 25px; padding:.5em; margin-block:1em; overflow:clip;">
{{ValveTechnologyEditable}}
  <div style="display:flex; align-items:center; padding:4px 15px; gap:1em">
    <div style="padding:.7em; user-select:none">[[File:SourceLogo.png|128px|link=Source]]</div>
    <div>{{ValveTechnologyEditable/strings|SourceEngine}}</div>
  </div>
  <hr style="margin:0 25px">
  <div style="display:flex; align-items:center; padding:4px 15px; gap:1em">
    <div style="padding:.7em; user-select:none">[[File:SteamLogoBlack.png|128px|link=Steam]] </div>
    <div>{{ValveTechnologyEditable/strings|Steam}}</div>
  </div>
<h2 style="background:#537aa8; box-shadow:rgba(91, 191, 77, .05) 0 0 25px; border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.3em; font-size:14px; font-weight:700; height:fit-content; text-align:center;">{{:Main Page/strings|Valve Technology}} &ensp;[[File:Doublearrow white.png|12px|link=Valve Technology]]</h2>
</div>


== {{:Main Page/strings|FMT}} ==
== {{:Main Page/strings|FMT}} ==
Line 65: Line 49:
* {{:Main Page/strings|FMT Line 5}}
* {{:Main Page/strings|FMT Line 5}}
* {{:Main Page/strings|FMT Line 6}}
* {{:Main Page/strings|FMT Line 6}}
|}
 
</div>
 
</div>

Revision as of 02:10, 14 June 2023