Difference between revisions of "User:Mowaw/Sandbox"
From Kerbal Space Program Wiki
(Created page with "<center>On this page, I make some useless things, but it learns me lots of things !</center> ---- '''FRANCE TIME'''(my home) {{#expr:{{#explode:{{CURRENTTIME}}|:|0}}+2}}:{{#ex...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<center>On this page, I make some useless things, but it learns me lots of things !</center> | <center>On this page, I make some useless things, but it learns me lots of things !</center> | ||
+ | {{TOC|align=right}} | ||
---- | ---- | ||
− | '''FRANCE TIME'''(my home) {{#expr:{{#explode:{{CURRENTTIME}}|:|0}} | + | == Times == |
+ | '''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/> | ||
+ | |||
+ | == 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
Contents
Times
FRANCE TIME(my home) 11:31
MEXICO TIME (devs) 5:31
C#
[KSPAddon[Startup.MainMenu]] namespace TestCSharpUsingSyntaxHighlightExtension { public class FR { get ; set } if(X == Y) { Console.WriteLine(X) } }