Sandkassa2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Tester syntaxhighlight.... | Tester syntaxhighlight....<syntaxhighlight lang="python3"> | ||
from osgeo import gdal | |||
def start(): | |||
hei = 'ok' | |||
</syntaxhighlight> | |||
Tester template: | |||
{{Note|Litt info til deg|info}} | |||
{{Note|Dette er visst en REMINDER|reminder}} | |||
=== Her prøver vi noe annet. === | |||
<syntaxhighlight lang="c#" line="1"> | |||
using System; | |||
using System.Globalization; | |||
using System.Windows.Data; | |||
using TPG.GDK.Windows.Common; | |||
namespace MariaGDKTester | |||
{ | |||
public class ColorConverter : IValueConverter | |||
{ | |||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) | |||
{ | |||
var cColor = (TPG.GDK.CommonCore.Primitives.Color)value; | |||
return Utils.ToWinColor(cColor); | |||
} | |||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) | |||
{ | |||
var wColor = (System.Windows.Media.Color)value; | |||
return Utils.FromWinColor(wColor); | |||
} | |||
} | |||
} | |||
</syntaxhighlight> | |||
=== Tabell-test === | |||
{| class="wikitable" | |||
|+Denne tabellen | |||
!H1 | |||
!H2 | |||
!H3 | |||
!HX | |||
|- | |||
|v | |||
| | |||
| | |||
| | |||
|- | |||
|v | |||
| | |||
| | |||
| | |||
|- | |||
|v | |||
| | |||
| | |||
| | |||
|} | |||
Tekst går her. Pluss et bilde: | |||
[[File:Track style cat symbol intro.png|left|thumb|Noe greier]] | |||
< | |||
Latest revision as of 07:46, 18 August 2022
Tester syntaxhighlight....
from osgeo import gdal
def start():
hei = 'ok'
Tester template:
Litt info til deg
Dette er visst en REMINDER
Her prøver vi noe annet.
using System;
using System.Globalization;
using System.Windows.Data;
using TPG.GDK.Windows.Common;
namespace MariaGDKTester
{
public class ColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var cColor = (TPG.GDK.CommonCore.Primitives.Color)value;
return Utils.ToWinColor(cColor);
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
var wColor = (System.Windows.Media.Color)value;
return Utils.FromWinColor(wColor);
}
}
}
Tabell-test
H1 | H2 | H3 | HX |
---|---|---|---|
v | |||
v | |||
v |
Tekst går her. Pluss et bilde: