User:Cvoxalury/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Junked the main page mock-up, as it was pretty much implemented now)
Tag: Replaced
Line 1: Line 1:
== De-Multipaged Main Page ==
The idea is that it will replace the main page's base article, without nested templates and lang subpages (they'll be their own pages referenced in a more classical way. That is, to make a translation, a translator can copy the source code of this page to the translated version, and replace the text themselves. The few templates such as the navbox will then use translated versions too).


The statistics block is removed, as the only relevant part of it is the number of articles. It is a real measure of the wiki's volume of documentation, whereas number of edits or uploads grows too quickly, number of users is irrelevant, number of pages is grossly out of sync with documentation as so many of them are templates and such.
The template and strings lookups are kept at minimum to allow for ease of reading and maintenaning the page code. The background template is kept because it is one of the nice things.
----
{{Background
| file = Wireframe gradient.jpg
| opacity = 0.07
| gradient-height = 250px
}}
<!-- Centered welcome text and article count -->
<div style="display:flex; flex-direction:column; gap:.8em; align-items:center; margin-top:2em; margin-bottom:3em"> <!--
--> <span style="color:rgb(255 255 255 / 50%); font-weight:400; font-size:1.2em"> Welcome to the </span> <!--
--> <span style="color:rgb(255 255 255 / 80%); font-weight:bold; font-size:2em"> Valve Developer Community </span> <!--
--> <span style="color:rgb(255 255 255 / 75%); font-weight:400; font-size:1.0em"> '''{{NUMBEROFARTICLES}}''' articles documenting the development process. </span> <!--
--> <span>[[Special:UserLogin|<span style="font-weight:700"><big>Sign up to become part of the community!</big></span>]]</span> <!--
--> {{#if:{{{sitename|}}}|<span style="color:rgb(255 255 255 / 30%); font-weight:400; font-size:1.2em"> {{SITENAME}} </span>|}}
</div>
Whether you're building a triple-A commercial project or a [[modification]] for {{hl2|3.1}}, you'll want to [[Special:Userlogin|sign up]] as a Valve developer today. It's free to join and is open to anyone working with the [[Source|Source engine]] and its [[SDK Installation|software development kit]].
<div style="display:grid; grid-template-columns:repeat(auto-fill,minmax(clamp((100%/2) - 1rem, 25rem, 100%),1fr)); column-gap:1.5em; margin-top:1.3em">
<div>
<!-- GoldSRC panel-->
<div class="plainlinks" style="background:#303030; border:1px solid rgb(255 255 255 / 15%); border-radius:.35em; padding:.5em; margin-block:1em; margin-top:0; overflow:clip">
<h2 style="background:#7A372F; border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.5em .3em; margin-bottom:.7em; font-size:14px; font-weight:700; height:fit-content; position:relative">
[[Half-Life SDK|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="Go to the GoldSrc engine (Half-Life SDK) documentation index"></span>]]
[[File:Icon-GoldSrc.png|32px|link=]]&ensp;<span style="color:white">GoldSrc and the Half-Life SDK</span>&ensp;[[File:Doublearrow white.png|12px|alt=►►|link=]]</h2>
<p style="font-weight:300; margin-left:.3em">If you want to create a Mod for [[Half-Life]] or looking for more [[GoldSrc]] documentation, click above.</p>
</div>
<!-- Source panel -->
<div class="plainlinks" style="background:#303030; border:1px solid rgb(255 255 255 / 10%); border-radius:.35em;  padding:.5em; margin-block:1em; overflow:clip">
<h2 style="background:#4A6821; border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.5em .3em; margin-bottom:.7em; font-size:14px; font-weight:700; height:fit-content; position:relative">
[[SDK Docs|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="Go to the Source engine documentation index"> </span>]]
[[File:Icon-Source.png|32px|link=]]&ensp;<span style="color:white">Source and the Source SDK</span>&ensp;[[File:Doublearrow white.png|12px|alt=►►|link=]]</h2>
<p style="font-weight:300; margin-left:.3em">If you want to create a Mod for [[Half-Life 2]] or looking for more [[Source]] documentation, click above.</p>
</div>
<!-- Source 2 panel -->
<div class="plainlinks" style="background:#303030; border:1px solid rgb(255 255 255 / 10%); border-radius:.35em;  padding:.5em; margin-block:1em; overflow:clip">
<h2 style="background:#656821; border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.5em .3em; margin-bottom:.7em; font-size:14px; font-weight:700; height:fit-content; position:relative">
[[Source 2/Docs|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="Go to the Source 2 engine documentation index"> </span>]]
[[File:Icon-Source 2.png|32px|link=]]&ensp;<span style="color:white">Source 2 Documentation</span>&ensp;[[File:Doublearrow white.png|12px|alt=►►|link=]]</h2>
<p style="font-weight:300; margin-left:.3em">If you want to port [[Source]] content to [[Source 2]] or looking for more Source 2 documentation, click above.
Otherwise, you can check out the following Source 2 games with Workshop Tools:</p>
<!--
DOTA 2
-->
[[Dota 2 Workshop Tools|<span title="Go to the Dota 2 Workshop Tools documentation index">Dota 2 Workshop Tools</span>&ensp;]][[File:Doublearrow white.png|12px|alt=►►|link=]]
<!--
SteamVR
-->
[[SteamVR/Environments|<span title="Go to the SteamVR Workshop Tools documentation index">SteamVR Workshop Tools</span>&ensp;]][[File:Doublearrow white.png|12px|alt=►►|link=]]
<!--
Half-Life: Alyx
-->
[[Half-Life: Alyx Workshop Tools|<span title="Go to the Half-Life: Alyx Workshop Tools documentation index">Half-Life: Alyx Workshop Tools</span>&ensp;]][[File:Doublearrow white.png|12px|alt=►►|link=]]
<!--
Counter-Strike 2
-->
[[Counter-Strike 2 Workshop Tools|<span title="Go to the Counter-Strike 2 Workshop Tools documentation index">Counter-Strike 2 Workshop Tools</span>&ensp;]][[File:Doublearrow white.png|12px|alt=►►|link=]]
<!--
Deadlock
-->
<!-- Hidden until Valve releases the game
[[Deadlock Workshop Tools|<span title="Go to Deadlock documentation index">Deadlock Workshop Tools</span>&ensp;]][[File:Doublearrow white.png|12px|alt=►►|link=]]
-->
</div>
</div>
<!-- Valve Technology panel -->
<div>
<onlyinclude><div class="plainlinks" style="background-color:#404040; border:1px solid rgb(255 255 255 / 20%); border-radius:.35em; padding:.4em .6em .6em.6em; margin-block:1em; margin-top:0; overflow:clip">
<div style="display:flex; align-items:center; padding:.5em 1.2em; gap:1em">
<div style="padding:1em; user-select:none">[[File:Source-logo.png|128px|link=Source]]</div>
<div>The engine under the hood of {{hl2|1}} can make your game a success. Let Source™ do the heavy lifting so that your team can focus on building great games.</div>
</div>
<hr style="background-color:rgba(255 255 255 / 3%); margin:0 25px">
<div style="display:flex; align-items:center; padding:.5em 1.2em; gap:1em">
<div style="padding:1em; user-select:none">[[File:SteamLogo.png|128px|link=Steam]]</div>
<div>If you're interested in building a product using [[Source]] or [[Source 2]], talk to us about options for distribution on [[Steam]].</div>
</div>
<div style="height:fit-content; background-color:#537aa8; border-top:1px solid rgba(255 255 255 / 4%); text-align:center; font-size:14px; font-weight:700; padding:6px 0; position:relative"> <!--
-->[[Valve Technology|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="Click here to learn more about Valve Technology.></span>]]<font style="color:#FFF">Read about Valve Technology</font>&ensp;[[File:Doublearrow white.png|link=|16px]]
</div></onlyinclude>
</div>
<!-- 'For mod teams' panel -->
<div class="plainlinks" style="background:#303030; border:1px solid rgb(255 255 255 / 20%); border-radius:.35em; padding:.4em .6em .6em.6em; margin-block:1em; overflow:clip">
<div style="height:fit-content; font-weight:600; color:rgb(255 255 255 / 90%); margin-bottom:.5em"> For Mod Teams </div>
* [[Source Engine Features]]
* [[Building Mods with Valve Technology|Why choose the Source engine for your mod?]]
* Read [[Making a Mod]] - building a team through the shipping process.
* Already using the SDK? Check the [[:Category:Source SDK FAQ|Source SDK FAQ]] for some helpful answers.
* New to Source coding? Get started with [[:Category:Programming|basic programming articles]].
* Read (or add) a tutorial on [[SDK Docs|Source development]], or any part of the content creation process.
</div>
<!-- 'New to the wiki' panel -->
<div class="plainlinks" style="background:#303030; border:1px solid rgb(255 255 255 / 20%); border-radius:.35em; padding:.4em .6em .6em.6em; margin-block:1em; overflow:clip">
<div style="height:fit-content; font-weight:600; color:rgb(255 255 255 / 90%); margin-bottom:.5em"> New to the wiki? </div>
''For help with using the wiki, see [[Help: Contents]]. For help with navigating the wiki, see [[:Category: Entry pages]] or [[:Category: Valve Developer Community]].''
</div>
</div>
</div>
<!-- Navbox with Administration, Discussion, Information, Languages -->
{{VDC-navbox}}
<!-- copyright -->
<p><div class="plainlinks" style="background:#282828; border-bottom:none; border-radius:.35em; padding:.5em; margin-top:1em; text-align:center; gap:1em">
© 2005–{{CURRENTYEAR}} [https://www.valvesoftware.com/en/ Valve Corporation]. All rights reserved. All trademarks are property of their respective owners in the US and other countries. See the [[Valve Developer Community:Terms of Use|Terms of Use]] for details
<!-- legal -->
[[Valve Developer Community:About|About Valve Developer Community]] <b>·</b> {{link|target = web|store.steampowered.com/privacy_agreement/|Privacy Policy}} <b>·</b> [[Valve Developer Community:Third Party Legal Notices|Third Party Legal Notices]]
----
----

Revision as of 03:28, 13 July 2024