User:Cvoxalury/Sandbox: Difference between revisions
Jump to navigation
Jump to search
(Created the sandbox) |
No edit summary |
||
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). | |||
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 maintenance. The background template is kept because it is one of the nice things. | |||
---- | |||
{{Background | |||
| file = Wireframe gradient.jpg | |||
| opacity = 0.13 | |||
| gradient-height = 250px | |||
}} | |||
<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> | |||
<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 | |||
--> | |||
<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; background-image:linear-gradient(90deg, #7A372F, #9c463d); 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="{{:Main Page/strings|HLSDK Docs}}"></span>]] | |||
[[File:Icon-GoldSrc.png|32px|link=]] <span style="color:white">{{:Main Page/strings|HLSDK}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
<p style="font-weight:300; margin-left:.3em">{{:Main Page/strings|HLSDK Desc}}</p> | |||
</div> | |||
<!-- | |||
Source | |||
--> | |||
<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; background-image:linear-gradient(90deg, #4A6821, #638a2c); 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="{{:Main Page/strings|SDK Docs}}"> </span>]] | |||
[[File:Icon-Source.png|32px|link=]] <span style="color:white">{{:Main Page/strings|SDK}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
<p style="font-weight:300; margin-left:.3em">{{:Main Page/strings|SDK Desc}}</p> | |||
</div> | |||
<!-- | |||
Source 2 | |||
--> | |||
<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; background-image:linear-gradient(90deg, #656821, #898a2c); 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="{{:Main Page/strings|S2SDK Docs}}"> </span>]] | |||
[[File:Icon-Source 2.png|32px|link=]] <span style="color:white">{{:Main Page/strings|S2SDK}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
<p style="font-weight:300; margin-left:.3em">{{:Main Page/strings|S2SDK Desc}}</p> | |||
<!-- | |||
DOTA 2 | |||
--> | |||
<h2 style="background:#4B2A2E;background-image:linear-gradient(90deg, #4B2A2E, #5e353a); border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[Dota 2 Workshop Tools|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{:Main Page/strings|Dota 2 Tools Docs}}"> </span>]] | |||
[[File:Dota workshop.png|32px|link=]] <span style="color:white">{{Dictionary/software|dota2_tools}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
<!-- | |||
SteamVR | |||
--> | |||
<h2 style="background:#33496F;background-image:linear-gradient(90deg, #33496F, #425e8f); border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[SteamVR/Environments|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{:Main Page/strings|SVR Tools Docs}}"> </span>]] | |||
[[File:Steamtours workshop.png|32px|link=]] <span style="color:white">{{Dictionary/software|svrh_tools}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
<!-- | |||
Half-Life: Alyx | |||
--> | |||
<h2 style="background:#294157;background-image:linear-gradient(90deg, #294157, #375775); border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[Half-Life: Alyx Workshop Tools|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{:Main Page/strings|HLA Tools Docs}}"> </span>]] | |||
[[File:hlvr workshop.png|32px|link=]] <span style="color:white">{{Dictionary/software|hlvr_tools}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
<!-- | |||
Counter-Strike 2 | |||
--> | |||
<h2 style="background:#9E6219;background-image:linear-gradient(90deg, #9E6219, #bd751e); border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[Counter-Strike 2 Workshop Tools|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{:Main Page/strings|CS2 Tools Docs}}"> </span>]] | |||
[[File:Cs2 workshop.png|32px|link=]] <span style="color:white">{{Dictionary/software|cs2_tools}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
<!-- | |||
Deadlock | |||
--> | |||
<!-- Hidden until Valve releases the game | |||
<h2 style="background:#9E6219;background-image:linear-gradient(90deg, #897B62, #B8AB93); border:1px solid rgb(255 255 255 / 30%); border-bottom:none; border-radius:.35em; padding:.5em; padding-block:.6em; margin:.7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[Deadlock Workshop Tools|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{:Main Page/Str|DeadlockTDocs}}"> </span>]] | |||
[[File:Deadlock icon.png|32px|link=]] <span style="color:white">{{Dictionary/software|deadlock_tools}}</span> [[File:Doublearrow white.png|12px|alt=►►|link=]]</h2> | |||
--> | |||
</div> | |||
</div> | |||
<div> | |||
{{ValveTechnology}} | |||
<div class="plainlinks" style="background:#303030; background-image:radial-gradient(ellipse at left top, rgba(100 100 100 / 22%), transparent 40%), linear-gradient(135deg, rgba(125 125 125 / 5%), rgba(150 150 150 / 2%)); 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"> {{:Main Page/strings|FMT}} </div><!-- for mod teams --> | |||
* {{:Main Page/strings|FMT Line 1}} | |||
* {{:Main Page/strings|FMT Line 2}} | |||
* {{:Main Page/strings|FMT Line 3}} | |||
* {{:Main Page/strings|FMT Line 4}} | |||
* {{:Main Page/strings|FMT Line 5}} | |||
* {{:Main Page/strings|FMT Line 6}} | |||
</div> | |||
<div class="plainlinks" style="background:#303030; background-image:radial-gradient(ellipse at left top, rgba(100 100 100 / 22%), transparent 40%), linear-gradient(135deg, rgba(125 125 125 / 5%), rgba(150 150 150 / 2%)); 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"> {{:Main Page/strings|New Wiki}} </div><span style="font-weight:300">''{{:Main Page/strings|For Help}}''</span> | |||
</div> | |||
</div> | |||
</div> | |||
<!-- Navbox with Administration, Discussion, Information, Languages --> | |||
{{VDC-navbox}} | |||
<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}} {{:Main Page/strings|Copyright}} | |||
{{:Main Page/strings|Legal}} | |||
---- |
Revision as of 13:49, 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).
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 maintenance. The background template is kept because it is one of the nice things.
Welcome to the Valve Developer Community 13,094 articles documenting the development process. Sign up to become part of the community!
Main Page/strings 
Dota 2 Workshop Tools 
SteamVR Workshop Tools 
Half-Life: Alyx Workshop Tools 
Counter-Strike 2 Workshop Tools 
|