Template:MainPage: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Changed the border style to 22% for the left side (to be the same as on the right side)) |
||
Line 25: | Line 25: | ||
--> | --> | ||
<div class="plainlinks" style="background-color:#303030ba; border:1px solid rgb(255 255 255 / | <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: | <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>]] | [[{{#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=]] <!-- | [[File:Icon-GoldSrc.png|32px|link=]] <!-- | ||
Line 39: | Line 39: | ||
--> | --> | ||
<div class="plainlinks" style="background-color:#303030ba; border:1px solid rgb(255 255 255 / | <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: | <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>]] | [[{{#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=]] <!-- | [[File:Icon-Source.png|32px|link=]] <!-- | ||
Line 53: | Line 53: | ||
--> | --> | ||
<div class="plainlinks" style="background-color:#303030ba; border:1px solid rgb(255 255 255 / | <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: | <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>]] | [[{{#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=]] <!-- | [[File:Icon-Source 2.png|32px|link=]] <!-- | ||
Line 107: | Line 107: | ||
</div> | </div> | ||
<div> | <div> | ||
<h2 style="height:fit-content; 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"> <!-- | <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>|}} | --> [[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> | ||
<h2 style="height:fit-content; 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"> <!-- | <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>|}} | --> [[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> | </h2> |
Revision as of 14:42, 12 February 2025
Todo: Instructions how to translate main page
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.