Valve Developer Community:Sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(what happens if i just...) |
||
Line 1: | Line 1: | ||
<!-- Do not edit this line! -->{{sandbox}}<!-- Don't you dare! --> <!-- I edited it - Joshua Ashton --> | <!-- Do not edit this line! -->{{sandbox}}<!-- Don't you dare! --> <!-- I edited it - Joshua Ashton --> | ||
---- | ---- | ||
{{ | <!-- | ||
| | {{{1}}}: page's full name, including any namespace, but excluding any language suffix | ||
| | {{ARTICLEPAGENAME}}: page's full name, including any namespace and/or language suffix | ||
|ru=Valve Developer Community:Sandbox:ru | [X language suffix]: JUST a language suffix, which is different for every language | ||
| | |||
| | title | ||
}}__NOTOC__ | -->{{#if: | {{DISPLAYTITLE:{{{title}}}}} }}<!-- | ||
html to make the buttons appear in the header space | |||
--><div style="position:relative;top:-32px;margin-bottom: -40px;float:right;text-align:right;padding:2px;line-height:11px;background:#262626;<!-- | |||
optional taking away of the icon borders | |||
-->{{#if: | margin-top:5px;border:0; | border:1px solid #65635F;border-bottom:0;}}"><!-- | |||
For English: | |||
Test if {{{1}}} is equal to {{ARTICLEPAGENAME}}. | |||
-If they match, then we must be on the English page already, therefore don't display the English icon. | |||
-If they do not match, show the English link, cause this is NOT the English page. | |||
We're not going to test if the English page exists or not. It damn well better. | |||
-->{{#ifeq: Valve Developer Community:Sandbox | {{ARTICLEPAGENAME}} | | [[File:en.png|alt=English|link=Valve Developer Community:Sandbox]] }}<!-- | |||
Other languages are a little more complex: | |||
Test if the page {{{1}}}:[X language suffix] exists. | |||
-If the page does exist, check if we're on that page right now by testing if {{{1}}}:[X language suffix] is equal to {{ARTICLEPAGENAME}}. | |||
--If they match, don't show the icon for this language, because we're already on that page. | |||
--If they do not match, show the icon for the language, because that page exists AND we currently are not on it. | |||
-If the page does not exist, don't show the icon for it obviously. | |||
Czech - cs | |||
-->{{#ifexist: Valve Developer Community:Sandbox:cs | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:cs | {{ARTICLEPAGENAME}} | | [[File:cs.png|alt=Čeština|link=Valve Developer Community:Sandbox:cs]] }}<!-- | |||
--> | }} <!-- | |||
German - de | |||
-->{{#ifexist: Valve Developer Community:Sandbox:de | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:de | {{ARTICLEPAGENAME}} | | [[File:de.png|alt=Deutsch|link=Valve Developer Community:Sandbox:de]] }}<!-- | |||
--> | }}<!-- | |||
Spanish - es | |||
-->{{#ifexist: Valve Developer Community:Sandbox:es | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:es | {{ARTICLEPAGENAME}} | | [[File:es.png|alt=Español|link=Valve Developer Community:Sandbox:es]] }}<!-- | |||
--> | }}<!-- | |||
French - fr | |||
-->{{#ifexist: Valve Developer Community:Sandbox:fr | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:fr | {{ARTICLEPAGENAME}} | | [[File:fr.png|alt=Français|link=Valve Developer Community:Sandbox:fr]] }}<!-- | |||
--> | }}<!-- | |||
Hungarian - hu | |||
-->{{#ifexist: Valve Developer Community:Sandbox:hu | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:hu | {{ARTICLEPAGENAME}} | | [[File:hu.png|alt=Magyar|link=Valve Developer Community:Sandbox:hu]] }}<!-- | |||
--> | }}<!-- | |||
Italian - it | |||
-->{{#ifexist: Valve Developer Community:Sandbox:it | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:it | {{ARTICLEPAGENAME}} | | [[File:it.png|alt=Italiano|link=Valve Developer Community:Sandbox:it]] }}<!-- | |||
--> | }}<!-- | |||
Dutch - nl | |||
-->{{#ifexist: Valve Developer Community:Sandbox:nl | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:nl | {{ARTICLEPAGENAME}} | | [[File:nl.png|alt=Nederlands|link=Valve Developer Community:Sandbox:nl]] }}<!-- | |||
--> | }}<!-- | |||
Norwegian - no | |||
-->{{#ifexist: Valve Developer Community:Sandbox:no | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:no | {{ARTICLEPAGENAME}} | | [[File:no.png|alt=Norsk|link=Valve Developer Community:Sandbox:no]] }}<!-- | |||
--> | }}<!-- | |||
Polish - pl | |||
-->{{#ifexist: Valve Developer Community:Sandbox:pl | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:pl | {{ARTICLEPAGENAME}} | | [[File:pl.png|alt=Polski|link=Valve Developer Community:Sandbox:pl]] }}<!-- | |||
--> | }}<!-- | |||
Portuguese - pt | |||
-->{{#ifexist: Valve Developer Community:Sandbox:pt | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:pt | {{ARTICLEPAGENAME}} | | [[File:pt.png|alt=Português|link=Valve Developer Community:Sandbox:pt]] }}<!-- | |||
--> | }}<!-- | |||
Brazilian Portuguese - pt-br | |||
-->{{#ifexist: Valve Developer Community:Sandbox:pt-br | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:pt-br | {{ARTICLEPAGENAME}} | | [[File:pt-br.png|alt=Português-Brasileiro|link=Valve Developer Community:Sandbox:pt-br]] }}<!-- | |||
--> | }}<!-- | |||
Russian - ru | |||
-->{{#ifexist: Valve Developer Community:Sandbox:ru | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:ru | {{ARTICLEPAGENAME}} | | [[File:ru.png|alt=Русский|link=Valve Developer Community:Sandbox:ru]] }}<!-- | |||
--> | }}<!-- | |||
Ukrainian - ua | |||
-->{{#ifexist: Valve Developer Community:Sandbox:ua | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:ua | {{ARTICLEPAGENAME}} | | [[File:ua.png|alt=Українська|link=Valve Developer Community:Sandbox:ua]] }}<!-- | |||
--> | }}<!-- | |||
Swedish - sv | |||
-->{{#ifexist: Valve Developer Community:Sandbox:sv | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:sv | {{ARTICLEPAGENAME}} | | [[File:sv.png|alt=Svenska|link=Valve Developer Community:Sandbox:sv]] }}<!-- | |||
--> | }}<!-- | |||
Turkish - tr | |||
-->{{#ifexist: Valve Developer Community:Sandbox:tr | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:tr | {{ARTICLEPAGENAME}} | | [[File:tr.png|alt=Türkçe|link=Valve Developer Community:Sandbox:tr]] }}<!-- | |||
--> | }}<!-- | |||
Japanese - jp | |||
-->{{#ifexist: Valve Developer Community:Sandbox:jp | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:jp | {{ARTICLEPAGENAME}} | | [[File:jp.png|alt=日本語|link=Valve Developer Community:Sandbox:jp]] }}<!-- | |||
--> | }}<!-- | |||
Simplified Chinese - zh-cn | |||
-->{{#ifexist: Valve Developer Community:Sandbox:zh-cn | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:zh-cn | {{ARTICLEPAGENAME}} | | [[File:cn.png|alt=简体中文|link=Valve Developer Community:Sandbox:zh-cn]] }}<!-- | |||
--> | }}<!-- | |||
Taiwanese Mandarin - zh-tw | |||
-->{{#ifexist: Valve Developer Community:Sandbox:zh-tw | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:zh-tw | {{ARTICLEPAGENAME}} | | [[File:tw.png|alt=简体中文|link=Valve Developer Community:Sandbox:zh-tw]] }}<!-- | |||
--> | }}<!-- | |||
Korean - ko | |||
-->{{#ifexist: Valve Developer Community:Sandbox:ko | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:ko | {{ARTICLEPAGENAME}} | | [[File:ko.png|alt=한국어|link=Valve Developer Community:Sandbox:ko]] }}<!-- | |||
--> | }}<!-- | |||
Georgian - ka | |||
-->{{#ifexist: Valve Developer Community:Sandbox:ka | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:ka | {{ARTICLEPAGENAME}} | | [[File:ka.png|alt=ქართული ენა|link=Valve Developer Community:Sandbox:ka]] }}<!-- | |||
--> | }}<!-- | |||
Hebrew - he | |||
-->{{#ifexist: Valve Developer Community:Sandbox:he | <!-- | |||
-->{{#ifeq: Valve Developer Community:Sandbox:he | {{ARTICLEPAGENAME}} | | [[File:he.png|alt=עִברִית|link=Valve Developer Community:Sandbox:he]] }}<!-- | |||
--> | }}</div>__NOTOC__ | |||
{{TestTemplate|ep2=1|portal2=1}} | {{TestTemplate|ep2=1|portal2=1}} | ||
{{ARTICLEPAGENAME}} | |||
{{LOCALMONTHNAME}} {{LOCALDAY2}}, {{LOCALYEAR}} | {{LOCALMONTHNAME}} {{LOCALDAY2}}, {{LOCALYEAR}} |
Revision as of 02:47, 6 October 2018
The Sandbox (Valve Developer Community:Sandbox) is a VDC namespace page designed for testing and experimenting with Wiki syntax. Feel free to try your skills at formatting here: click on edit, make your changes, and click 'Save page' when you are finished. Content added here will not stay permanently.
Please do not edit the "markup" text, at the top of the editing window, that reads "{{sandbox}}".
Valve Developer Community:Sandbox
September 12, 2025
20250912044813
20180818062810