Template:MainPage: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
mNo edit summary |
||
(216 intermediate revisions by 20 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation}} | ||
}} | |||
[[ | [[Category:Formatting templates]] | ||
<includeonly> | |||
<onlyinclude>__NOTOC__ __NOEDITSECTION__<!-- | |||
<div | --><div style="text-shadow: #000 1px 0 3px; text-align:center; margin-top:2em; margin-bottom:3em"> | ||
<div | <div style="color:rgb(255 255 255 / 30%); font-weight:400; font-size:1.2em"> {{{VDC Welcome|{{MainPage/strings|VDC Welcome}}}}} </div> | ||
<div style="color:rgb(255 255 255 / 80%); font-weight:bold; font-size:2em; margin-top:.4em"> {{{VDC|{{MainPage/strings|VDC}}}}} </div> | |||
<div style="color:rgb(255 255 255 / 75%); font-weight:400; font-size:1.0em; margin-top:.8em"> '''{{NUMBEROFARTICLES}}''' {{{ArticleCountText|{{MainPage/strings|ArticleCountText}}}}} </div> | |||
{{#ifeq: {{#dateformat:28 June 2005|ymd}} | {{#dateformat:28 June 2005|mdy}} || <div style="font-weight:700; font-size:1.2em; margin-top:.7em"> [[Special:UserLogin|{{{Sign up|{{MainPage/strings|Sign up}}}}}]] </div>}} <!-- a check that prevents showing up "Sign up to become part of the community!" link to users who have set up a date preference (ideal would be to all logged in users) --> | |||
</div> | </div> | ||
<div style="text-shadow: #000 1px 0 3px; display:grid"> | |||
<p style="text-align:justify; margin:0 auto 0 auto"> {{{Welcome|{{MainPage/strings|Welcome}}}}} </p> | |||
</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> | |||
<!-- | |||
Half-Life SDK & GoldSrc | |||
--> | |||
<div class="plainlinks" style="background-color:#303030ba; border:1px solid rgb(255 255 255 / 22%); border-radius:.35em; padding:.5em; margin-block:1em; margin-top:0; overflow:clip"> | |||
<h2 style="border-bottom: 1px solid #995b5b; background-color:#7A372F; background-image:linear-gradient(90deg, #7A372F, #9c463d); border-radius:.35em; padding:.5em; padding-block:.6em; margin:.5em .3em .7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Half-Life SDK|{{{lang|{{MainPage/Intlang}}}}}/Half-Life SDK}}|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{{HLSDK Docs|{{MainPage/strings|HLSDK Docs}}}}}"></span>]] | |||
[[File:Icon-GoldSrc.png|32px|link=]] <!-- | |||
-->[[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Half-Life SDK|{{{lang|{{MainPage/Intlang}}}}}/Half-Life SDK}}|<span style="color:white; position:relative; z-index:2">{{{HLSDK|{{MainPage/strings|HLSDK}}}}}</span>]] <!-- | |||
-->[[File:Doublearrow white.png|12px|alt=►►|link=]] | |||
</h2> | |||
<p style="font-weight:300; margin-left:.3em">{{{HLSDK Desc|{{MainPage/strings|HLSDK Desc}}}}}</p> | |||
</div> | |||
<!-- | |||
Source SDK | |||
--> | |||
<div class="plainlinks" style="background-color:#303030ba; border:1px solid rgb(255 255 255 / 22%); border-radius:.35em; padding:.5em; margin-block:1em; overflow:clip"> | |||
<h2 style="border-bottom: 1px solid #728952; background-color:#4A6821; background-image:linear-gradient(90deg, #4A6821, #638a2c); border-radius:.35em; padding:.5em; padding-block:.6em; margin:.5em .3em .7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|SDK Docs|{{{lang|{{MainPage/Intlang}}}}}/SDK Docs}}|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{{SDK Docs|{{MainPage/strings|SDK Docs}}}}}"> </span>]] | |||
[[File:Icon-Source.png|32px|link=]] <!-- | |||
-->[[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|SDK Docs|{{{lang|{{MainPage/Intlang}}}}}/SDK Docs}}|<span style="color:white; position:relative; z-index:2">{{{SDK|{{MainPage/strings|SDK}}}}}</span>]] <!-- | |||
-->[[File:Doublearrow white.png|12px|alt=►►|link=]] | |||
</h2> | |||
<p style="font-weight:300; margin-left:.3em">{{{SDK Desc|{{MainPage/strings|SDK Desc}}}}}</p> | |||
</div> | </div> | ||
<!-- | |||
Source 2 | |||
--> | |||
<div class="plainlinks" style="background-color:#303030ba; border:1px solid rgb(255 255 255 / 22%); border-radius:.35em; padding:.5em; margin-block:1em; overflow:clip"> | |||
<h2 style="border-bottom: 1px solid #898953; background-color:#656821; background-image:linear-gradient(90deg, #656821, #898a2c); border-radius:.35em; padding:.5em; padding-block:.6em; margin:.5em .3em .7em .3em; font-size:14px; font-weight:700; height:fit-content; position:relative"> | |||
[[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Source 2/Docs|{{{lang|{{MainPage/Intlang}}}}}/Source 2/Docs}}|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="{{{S2SDK Docs|{{MainPage/strings|S2SDK Docs}}}}}"> </span>]] | |||
[[File:Icon-Source 2.png|32px|link=]] <!-- | |||
-->[[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Source 2/Docs|{{{lang|{{MainPage/Intlang}}}}}/Source 2/Docs}}|<span style="color:white; position:relative; z-index:2">{{{S2SDK|{{MainPage/strings|S2SDK}}}}}</span>]] <!-- | |||
-->[[File:Doublearrow white.png|12px|alt=►►|link=]] | |||
</h2> | |||
<p style="font-weight:300; margin-left:.3em">{{{S2SDK Desc|{{MainPage/strings|S2SDK Desc}}}}}</p> | |||
<p style="font-weight:300; margin-left:.3em"> | |||
* [[File:Dota_workshop.png|16px|link=Dota_2_Workshop_Tools]] [[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Dota 2 Workshop Tools|{{{lang|{{MainPage/Intlang}}}}}/Dota 2 Workshop Tools}}|<span title="{{{Dota 2 Tools Docs|{{MainPage/strings|Dota 2 Tools Docs}}}}}">{{{dota2_tools|{{MainPage/strings|dota2_tools}}}}}</span> ]][[File:Doublearrow white.png|12px|alt=►►|link=Dota 2 Workshop Tools]] | |||
* [[File:Steamtours_workshop.png|16px|link=SteamVR/Environments]] [[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|SteamVR/Environments|{{{lang|{{MainPage/Intlang}}}}}/SteamVR/Environments}}|<span title="{{{SVR Tools Docs|{{MainPage/strings|SVR Tools Docs}}}}}">{{{svrh_tools|{{MainPage/strings|svrh_tools}}}}}</span> ]][[File:Doublearrow white.png|12px|alt=►►|link=SteamVR/Environments]] | |||
* [[File:Hlvr_workshop.png|16px|link=Half-Life:_Alyx_Workshop_Tools]] [[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Half-Life: Alyx Workshop Tools|{{{lang|{{MainPage/Intlang}}}}}/Half-Life: Alyx Workshop Tools}}|<span title="{{{HLA Tools Docs|{{MainPage/strings|HLA Tools Docs}}}}}">{{{hlvr_tools|{{MainPage/strings|hlvr_tools}}}}}</span> ]][[File:Doublearrow white.png|12px|alt=►►|link=Half-Life: Alyx Workshop Tools]] | |||
* [[File:Cs2_workshop.png|16px|link=Counter-Strike_2_Workshop_Tools]] [[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Counter-Strike 2 Workshop Tools|{{{lang|{{MainPage/Intlang}}}}}/Counter-Strike 2 Workshop Tools}}|<span title="{{{CS2 Tools Docs|{{MainPage/strings|CS2 Tools Docs}}}}}">{{{cs2_tools|{{MainPage/strings|cs2_tools}}}}}</span> ]][[File:Doublearrow white.png|12px|alt=►►|link=Counter-Strike 2 Workshop Tools]] | |||
<!-- Hidden until Valve releases the game | |||
< | * [[{{#ifeq:{{{lang|{{MainPage/Intlang}}}}}|en|Deadlock Workshop Tools|{{{lang|{{MainPage/Intlang}}}}}/Deadlock Workshop Tools}}|<span title="{{:Main Page/Str|DeadlockTDocs}}">{{{deadlock_tools|{{MainPage/strings|deadlock_tools}}}}}</span> ]] [[File:Doublearrow white.png|12px|alt=►►|link=]] | ||
--> | |||
[[ | </p> | ||
</div> | </div> | ||
</div> | </div> | ||
== | <div> | ||
<div class=" | |||
<div | {{MainPage/ValveTechnology | ||
| {{#if: {{{Engine|}}} | Engine | x }} = {{{Engine|}}} | |||
| {{#if: {{{Steam|}}} | Steam | y }} = {{{Steam|}}} | |||
| {{#if: {{{ReadMore-Tooltip|}}} | ReadMore-Tooltip | z }} = {{{ReadMore-Tooltip|}}} | |||
| {{#if: {{{ReadMore|}}} | ReadMore | u }} = {{{ReadMore|}}} | |||
}} | |||
<div class="plainlinks" style="background-color:#303030ba; 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"> {{{FMT|{{MainPage/strings|FMT}}}}} </div><!-- for mod teams --> | |||
* {{{FMT Line 1|{{MainPage/strings|FMT Line 1}}}}} | |||
* {{{FMT Line 2|{{MainPage/strings|FMT Line 2}}}}} | |||
* {{{FMT Line 3|{{MainPage/strings|FMT Line 3}}}}} | |||
* {{{FMT Line 4|{{MainPage/strings|FMT Line 4}}}}} | |||
* {{{FMT Line 5|{{MainPage/strings|FMT Line 5}}}}} | |||
* {{{FMT Line 6|{{MainPage/strings|FMT Line 6}}}}} | |||
</div> | </div> | ||
<div class="plainlinks" style="background-color:#303030ba; 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:0 0 0 .6em; margin-block:1em; overflow:clip"> | |||
<div style="display:grid; grid-template-columns:3fr 2fr; column-gap:1.0em"> | |||
<div> | |||
<div style="height:fit-content; font-weight:600; color:rgb(255 255 255 / 90%); margin-bottom:.6em;margin-top:.4em"> {{{New Wiki|{{MainPage/strings|New Wiki}}}}} </div> | |||
<span style="font-weight:300">''{{{For Help|{{MainPage/strings|For Help}}}}}''</span> | |||
</div> | |||
<div> | |||
<h2 style="height:fit-content; border-bottom:1px solid #4080b0; background-color:#198bfc; background-image:linear-gradient(90deg, #2b5886, #4376aa); border-radius:.35em; text-align:center; font-size:14px; font-weight:700; position:relative; padding:.5em; padding-block:.6em; margin:.7em .7em .7em .2em; overflow:clip"> <!-- | |||
--> [[Help:Contents|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1"></span>]][[Help:Contents|<span style="color:#FFF; position:relative; z-index:2">{{{Wiki Contents|{{MainPage/strings|Wiki Contents}}}}}</span>]] {{#if:{{{rotate|}}}|<span style="display:inline-block; transform:rotate({{{rotate|0}}}deg)">|}}[[File:Doublearrow white.png|link=|16px]]{{#if:{{{rotate|}}}|</span>|}} | |||
</h2> | |||
<h2 style="height:fit-content; border-bottom:1px solid #a46f47; background-color:#ffbf00; background-image:linear-gradient(90deg, #99511b, #bf743a); border-radius:.35em; text-align:center; font-size:14px; font-weight:700; position:relative; padding:.5em; padding-block:.6em; margin:.7em .7em .7em .2em; overflow:clip"> <!-- | |||
--> [[Valve Developer Community:Community portal|<span style="width:100%; height:100%; position:absolute; top:0; left:0; z-index:1" title="Community Portal"></span>]][[Valve Developer Community:Community portal|<span style="color:#FFF; position:relative; z-index:2" title="{{{Community Portal|{{MainPage/strings|Community Portal}}}}}">{{{Community Portal|{{MainPage/strings|Community Portal}}}}}</span>]] {{#if:{{{rotate|}}}|<span style="display:inline-block; transform:rotate({{{rotate|0}}}deg)">|}}[[File:Doublearrow white.png|link=|16px]]{{#if:{{{rotate|}}}|</span>|}} | |||
</h2> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
== | <!-- isn't there a better way to not specify non existent params --> | ||
{{MainPage/VDC-navbox|lang={{MainPage/Intlang}} | |||
| {{#if: {{{VDC|}}}| VDC | x1}} = {{{VDC|}}} | |||
| {{#if: {{{Administration|}}}| Administration | x2}} = {{{Administration|}}} | |||
| {{#if: {{{Guidelines|}}}| Guidelines | xx2}} = {{{Guidelines|}}} | |||
| {{#if: {{{Policies and Guidelines|}}}| Policies and Guidelines | x3}} = {{{Policies and Guidelines|}}} | |||
| {{#if: {{{Style guide|}}}| Style guide | x4}} = {{{Style guide|}}} | |||
| {{#if: {{{Terms of Use|}}}| Terms of Use | x5}} = {{{Terms of Use|}}} | |||
| {{#if: {{{Images|}}}| Images | x6}} = {{{Images|}}} | |||
| {{#if: {{{Help with images|}}}| Help with images | x7}} = {{{Help with images|}}} | |||
| {{#if: {{{Image use policy|}}}| Image use policy | x8}} = {{{Image use policy|}}} | |||
| {{#if: {{{Maintenance|}}}| Maintenance | x9}} = {{{Maintenance|}}} | |||
| {{#if: {{{Categories|}}}| Categories | x10}} = {{{Categories|}}} | |||
| {{#if: {{{Candidates for speedy deletion|}}}| Candidates for speedy deletion | x11}} = {{{Candidates for speedy deletion|}}} | |||
| {{#if: {{{Cleanup|}}}| Cleanup | x12}} = {{{Cleanup|}}} | |||
| {{#if: {{{Disambiguation|}}}| Disambiguation | x13}} = {{{Disambiguation|}}} | |||
| {{#if: {{{Drafts|}}}| Drafts | x14}} = {{{Drafts|}}} | |||
| {{#if: {{{Essays|}}}| Essays | x15}} = {{{Essays|}}} | |||
| {{#if: {{{Merge listings|}}}| Merge listings | x16}} = {{{Merge listings|}}} | |||
| {{#if: {{{Screenshot requests|}}}| Screenshot requests | x17}} = {{{Screenshot requests|}}} | |||
| {{#if: {{{Split listings|}}}| Split listings | x18}} = {{{Split listings|}}} | |||
| {{#if: {{{Stub listings|}}}| Stub listings | x19}} = {{{Stub listings|}}} | |||
| {{#if: {{{To-do|}}}| To-do | x20}} = {{{To-do|}}} | |||
| {{#if: {{{User maintenance|}}}| User maintenance | x21}} = {{{User maintenance|}}} | |||
| {{#if: {{{Work in Progress|}}}| Work in Progress | x22}} = {{{Work in Progress|}}} | |||
| {{#if: {{{Issues|}}}| Issues | x23}} = {{{Issues|}}} | |||
| {{#if: {{{Templates|}}}| Templates | x24}} = {{{Templates|}}} | |||
| {{#if: {{{Help with templates|}}}| Help with templates | x25}} = {{{Help with templates|}}} | |||
| {{#if: {{{Template listings|}}}| Template listings | x26}} = {{{Template listings|}}} | |||
| {{#if: {{{Template documentation pages|}}}| Template documentation pages | x27}} = {{{Template documentation pages|}}} | |||
| {{#if: {{{Template testcase pages|}}}| Template testcase pages | x28}} = {{{Template testcase pages|}}} | |||
| {{#if: {{{Community|}}}| Community | x29}} = {{{Community|}}} | |||
| {{#if: {{{Pages|}}}| Pages | x30}} = {{{Pages|}}} | |||
| {{#if: {{{Community Portal|}}}| Community Portal | x31}} = {{{Community Portal|}}} | |||
| {{#if: {{{Ongoing discussions|}}}| Ongoing discussions | x32}} = {{{Ongoing discussions|}}} | |||
| {{#if: {{{Tasks|}}}| Tasks | x33}} = {{{Tasks|}}} | |||
| {{#if: {{{Discussion|}}}| Discussion | x34}} = {{{Discussion|}}} | |||
| {{#if: {{{Main discussion page|}}}| Main discussion page | x35}} = {{{Main discussion page|}}} | |||
| {{#if: {{{Proposals|}}}| Proposals | x36}} = {{{Proposals|}}} | |||
| {{#if: {{{Static|}}}| Static | x37}} = {{{Static|}}} | |||
| {{#if: {{{Talk:Main Page|}}}| Talk:Main Page | x38}} = {{{Talk:Main Page|}}} | |||
| {{#if: {{{Valve Developer Community talk:About|}}}| Valve Developer Community talk:About | x39}} = {{{Valve Developer Community talk:About|}}} | |||
| {{#if: {{{New Help Desk|}}}| New Help Desk | x40}} = {{{New Help Desk|}}} | |||
| {{#if: {{{Reasons for speedy deletion|}}}| Reasons for speedy deletion | x41}} = {{{Reasons for speedy deletion|}}} | |||
| {{#if: {{{Valve Developer Community:Administrators' noticeboard|}}}| Valve Developer Community:Administrators' noticeboard | x42}} = {{{Valve Developer Community:Administrators' noticeboard|}}} | |||
| {{#if: {{{Ongoing|}}}| Ongoing | x43}} = {{{Ongoing|}}} | |||
| {{#if: {{{Informational|}}}| Informational | x44}} = {{{Informational|}}} | |||
| {{#if: {{{About|}}}| About | x45}} = {{{About|}}} | |||
| {{#if: {{{Automation|}}}| Automation | x46}} = {{{Automation|}}} | |||
| {{#if: {{{Contents|}}}| Contents | x47}} = {{{Contents|}}} | |||
| {{#if: {{{Deletion|}}}| Deletion | x48}} = {{{Deletion|}}} | |||
| {{#if: {{{Glossary|}}}| Glossary | x49}} = {{{Glossary|}}} | |||
| {{#if: {{{Linking|}}}| Linking | x50}} = {{{Linking|}}} | |||
| {{#if: {{{Stubs|}}}| Stubs | x51}} = {{{Stubs|}}} | |||
| | | {{#if: {{{Languages|}}}| Languages | x52}} = {{{Languages|}}} | ||
| {{#if: {{{Translators' noticeboard|}}}| Translators' noticeboard | x53}} = {{{Translators' noticeboard|}}} | |||
| {{#if: {{{Pages to be translated|}}}| Pages to be translated | x54}} = {{{Pages to be translated|}}} | |||
| {{#if: {{{Translation guide|}}}| Translation guide | x55}} = {{{Translation guide|}}} | |||
| {{#if: {{{Translators|}}}| Translators | x56}} = {{{Translators|}}} | |||
| {{#if: {{{User languages|}}}| User languages | x57}} = {{{User languages|}}} | |||
}} | |||
== Valve | <p class="plainlinks" style="text-shadow: #000 1px 0 3px; text-align:center; margin-top:1em"> © 2005–{{CURRENTYEAR}} {{#if:{{{Copyright|}}}|{{{Copyright}}}|{{MainPage/strings|Copyright}}}}<br>{{#if:{{{About VDC|}}}{{{PP|}}}{{{TPLN|}}}|[[Valve Developer Community:About|{{{About VDC}}}]] <b>·</b> [https://store.steampowered.com/privacy_agreement/ {{{PP}}}] <b>·</b> [[Valve Developer Community:Third Party Legal Notices|{{{TPLN}}}]]|{{MainPage/strings|Legal}}}} </p>[[Category:{{#ifeq:{{ROOTPAGENAME}}|Main Page||{{ROOTPAGENAME}}/}}Translation]]</onlyinclude> | ||
{{ | |||
</includeonly> |
Latest revision as of 11:05, 13 February 2025
The above documentation is transcluded from Template:MainPage/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.