Difference between revisions of "User:Mowaw/Sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
----
 
----
 
== Times ==
 
== Times ==
'''FRANCE TIME'''(my home) {{#switch:{{CURRENTHOUR}}|23=1|22=0|#default={{#expr:{{CURRENTHOUR}}+2}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/>
+
'''FRANCE TIME'''(my home) {{#switch:{{CURRENTHOUR}}|23=1|22=0|#default={{#expr:{{CURRENTHOUR}}+1}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/>
 
'''MEXICO TIME''' (devs) {{#switch:{{CURRENTHOUR}}|4|04=23|3|03=22|2|02=21|1|01=20|0|00=19|#default={{#expr:{{CURRENTHOUR}}-5}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/>
 
'''MEXICO TIME''' (devs) {{#switch:{{CURRENTHOUR}}|4|04=23|3|03=22|2|02=21|1|01=20|0|00=19|#default={{#expr:{{CURRENTHOUR}}-5}}}}:{{#explode:{{CURRENTTIME}}|:|1}}<br/>
 +
 +
== C# ==
 +
<big>
 +
<syntaxhighlight lang="csharp">
 +
[KSPAddon[Startup.MainMenu]]
 +
namespace TestCSharpUsingSyntaxHighlightExtension
 +
{
 +
  public class FR  { get ; set }
 +
  if(X == Y)
 +
  {
 +
    Console.WriteLine(X)
 +
  }
 +
}
 +
</syntaxhighlight>
 +
</big>
 +
 +
=== Infobox 'nextToIcon' param ===
 +
{{Infobox
 +
|name = TEST
 +
|subtitle=subtitle test
 +
|nextToIcon = Sandboxmodeicon.png
 +
|lines=
 +
{{Infobox/Line|TEST|OK}}
 +
|notes=TEST
 +
}}

Latest revision as of 10:31, 11 January 2015

On this page, I make some useless things, but it learns me lots of things !

Times

FRANCE TIME(my home) 15:31
MEXICO TIME (devs) 9:31

C#

[KSPAddon[Startup.MainMenu]]
namespace TestCSharpUsingSyntaxHighlightExtension
{
  public class FR  { get ; set }
  if(X == Y)
  {
    Console.WriteLine(X)
  }
}

Infobox 'nextToIcon' param

TEST
subtitle test
TEST
TEST OK

TEST