User:Cvoxalury/Sandbox: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== De-Multipaged Main Page == | == 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). | 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 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 | 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 | {{Background | ||
Line 12: | Line 12: | ||
}} | }} | ||
<!-- Centered welcome text and article count --> | |||
<div style="display:flex; flex-direction:column; gap:.8em; align-items:center; margin-top:2em; margin-bottom:3em"> <!-- | <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 / 50%); font-weight:400; font-size:1.2em"> Welcome to the </span> <!-- | ||
Line 19: | Line 20: | ||
--> {{#if:{{{sitename|}}}|<span style="color:rgb(255 255 255 / 30%); font-weight:400; font-size:1.2em"> {{SITENAME}} </span>|}} | --> {{#if:{{{sitename|}}}|<span style="color:rgb(255 255 255 / 30%); font-weight:400; font-size:1.2em"> {{SITENAME}} </span>|}} | ||
</div> | </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 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> | <div> | ||
<!-- | <!-- GoldSRC panel--> | ||
--> | |||
<div class="plainlinks" style="background:#303030; border:1px solid rgb(255 255 255 / 10%); border-radius:.35em; padding:.5em; margin-block:1em; margin-top:0; overflow:clip"> | <div class="plainlinks" style="background:#303030; border:1px solid rgb(255 255 255 / 10%); border-radius:.35em; padding:.5em; margin-block:1em; margin-top:0; overflow:clip"> | ||
<h2 style="background:#7A372F | <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>]] | [[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=]] <span style="color:white">GoldSrc and the Half-Life SDK</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | [[File:Icon-GoldSrc.png|32px|link=]] <span style="color:white">GoldSrc and the Half-Life SDK</span> [[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> | <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> | </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"> | <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 | <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>]] | [[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=]] <span style="color:white">Source and the Source SDK</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | [[File:Icon-Source.png|32px|link=]] <span style="color:white">Source and the Source SDK</span> [[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> | <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> | </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"> | <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 | <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>]] | [[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=]] <span style="color:white">Source 2 Documentation</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | [[File:Icon-Source 2.png|32px|link=]] <span style="color:white">Source 2 Documentation</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | ||
Line 73: | Line 72: | ||
--> | --> | ||
</div> | </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> | <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> [[File:Doublearrow white.png|link=|16px]] | |||
</div></onlyinclude> | |||
</div> | |||
<div class="plainlinks" style="background:#303030 | <!-- 'For mod teams' panel --> | ||
<div style="height:fit-content; font-weight:600; color:rgb(255 255 255 / 90%); margin-bottom:.5em"> | <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> | </div> | ||
<div class="plainlinks" style="background:#303030 | <!-- 'New to the wiki' panel --> | ||
<div style="height:fit-content; font-weight:600; color:rgb(255 255 255 / 90%); margin-bottom:.5em"> | <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> | ||
Revision as of 17:39, 18 June 2024
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.
Whether you're building a triple-A commercial project or a modification for Half-Life 2, you'll want to sign up as a Valve developer today. It's free to join and is open to anyone working with the Source engine and its software development kit.
GoldSrc and the Half-Life SDK 
If you want to create a Mod for Half-Life or looking for more GoldSrc documentation, click above.
Source and the Source SDK 
If you want to create a Mod for Half-Life 2 or looking for more Source documentation, click above.
Source 2 Documentation 
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:
Dota 2 Workshop Tools
SteamVR Workshop Tools
Half-Life: Alyx Workshop Tools
Counter-Strike 2 Workshop Tools
- Source Engine Features
- 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 Source SDK FAQ for some helpful answers.
- New to Source coding? Get started with basic programming articles.
- Read (or add) a tutorial on Source development, or any part of the content creation process.
For help with using the wiki, see Help: Contents. For help with navigating the wiki, see Category: Entry pages or Category: Valve Developer Community.
|