Help:Sandkasten: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Syntax highlighting: add WVP test) |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[http://www. | __NOTOC__ | ||
==Funktionstests== | |||
===Math=== | |||
<math>x+y=8^{22}</math> | |||
===Syntax highlighting=== | |||
====VB.NET==== | |||
<source lang="vbnet"> | |||
' Foo | |||
Public Sub Foo(ByValue Bar As Integer) | |||
Return Bar | |||
End Sub | |||
</source> | |||
====Fortran==== | |||
<source lang="fortran"> | |||
! Foo | |||
FUNCTION Foo(INT bar) | |||
RETURN bar | |||
END FUNCTION | |||
</source> | |||
====BlueM==== | |||
<bluem> | |||
*Talsperren (*.TAL) | |||
*================== | |||
* | |||
*|------|------------|------------|-----|----------|-----------------------|-----------------------| | |||
*| Bez | Anfangs- | Maximal | Ge- | Sohle | HW-Entlastung | Krone | | |||
*| | volumen | volumen |wicht| | Kante S-Vol | Kante S-Vol | | |||
*|------|------------|------------|-----|----------|-----------------------|-----------------------| | |||
*| | [Tsd.cbm] | [Tsd.cbm] | - | [mNN] | [mNN] | [Tsd.cbm] | [mNN] | [Tsd.cbm] | | |||
*|-<-->-|-<-------->-|-<-------->-|-<->-|-<------>-|-<------>-|-<-------->-|-<------>-|-<-------->-| | |||
| T170 | 600 | 3650 | 1 | 114.9 | 118.25 | 2650 | 119.25 | 3650 | | |||
| THRB | 500 | 2800 | 1 | 116 | 121 | 2500 | 122 | 2800 | | |||
*|------|------------|------------|-----|----------|-----------------------|-----------------------| | |||
* | |||
</bluem> | |||
====Wave project file==== | |||
<source lang="wvp"> | |||
# Import multiple series from multiple files | |||
#------------------------------------------- | |||
file=..\UVF\42960.0_q_28.uvf | |||
file=..\WEL\DEMONA_PSI.wel | |||
series=S3 _1AB: S3 outflow | |||
series=S3 _1ZU: S3 inflow | |||
file=..\ZRE\Zufl_gem.zre | |||
file=..\BIN\abfluss_1.bin | |||
series=abfluss_1.bin: title="Discharge", unit="m3/s", interpretation=Instantaneous, color=Red, linewidth=4, linestyle=Dash, showPoints=True | |||
file=myrandom.csv | |||
# custom import settings | |||
isColumnSeparated=True | |||
separator=; | |||
dateformat=dd.MM.yyyy HH:mm:ss | |||
decimalSeparator=, | |||
iLineHeadings=1 | |||
iLineUnits=8 | |||
iLineData=12 | |||
useUnits=True | |||
columnWidth= | |||
dateTimeColumnIndex=0 | |||
# series to import | |||
series=myseries1 | |||
series=myseries2 | |||
</source> | |||
== CSS == | |||
<div class="info_versionen"> | |||
Versionen | |||
<pre><nowiki><div class="info_versionen"></nowiki></pre> | |||
</div> | |||
<div class="achtung"> | |||
Achtung | |||
<pre><nowiki><div class="achtung"></nowiki></pre> | |||
</div> | |||
<div class="comment"> | |||
Kommentar | |||
<pre><nowiki><div class="comment"></nowiki></pre> | |||
</div> | |||
Links: | |||
* File types: | |||
** PDF: http://www.example.com/test.pdf | |||
** EXE: http://www.example.com/test.exe | |||
** ZIP: http://www.example.com/test.zip | |||
** PPT: http://www.example.com/test.ppt http://www.example.com/test.pptx http://www.example.com/test.pps | |||
** DOC: http://www.example.com/test.doc http://www.example.com/test.doc | |||
** XLS: http://www.example.com/test.xls http://www.example.com/test.xlsx | |||
* Sites: | |||
** https://downloads.bluemodel.org | |||
** GitHub: https://github.com | |||
** Literature: https://tubiblio.ulb.tu-darmstadt.de/ https://dx.doi.org/ |
Latest revision as of 07:06, 11 November 2023
Funktionstests
Math
Syntax highlighting
VB.NET
1 2 3 4 | ' Foo Public Sub Foo(ByValue Bar As Integer ) Return Bar End Sub |
Fortran
1 2 3 4 | ! Foo FUNCTION Foo ( INT bar ) RETURN bar END FUNCTION |
BlueM
1 2 3 4 5 6 7 8 9 10 11 12 13 | *Talsperren (*.TAL) *================== * *|------|------------|------------|-----|----------|-----------------------|-----------------------| *| Bez | Anfangs- | Maximal | Ge- | Sohle | HW-Entlastung | Krone | *| | volumen | volumen |wicht| | Kante S-Vol | Kante S-Vol | *|------|------------|------------|-----|----------|-----------------------|-----------------------| *| | [Tsd.cbm] | [Tsd.cbm] | - | [mNN] | [mNN] | [Tsd.cbm] | [mNN] | [Tsd.cbm] | *|-<-->-|-<-------->-|-<-------->-|-<->-|-<------>-|-<------>-|-<-------->-|-<------>-|-<-------->-| | T170 | 600 | 3650 | 1 | 114.9 | 118.25 | 2650 | 119.25 | 3650 | | THRB | 500 | 2800 | 1 | 116 | 121 | 2500 | 122 | 2800 | *|------|------------|------------|-----|----------|-----------------------|-----------------------| * |
Wave project file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Import multiple series from multiple files #------------------------------------------- file = ..\UVF\42960.0_q_28.uvf file = ..\WEL\DEMONA_PSI.wel series = S3 _1AB : S3 outflow series = S3 _1ZU : S3 inflow file = ..\ZRE\Zufl_gem.zre file = ..\BIN\abfluss_1.bin series = abfluss_1.bin : title = "Discharge" , unit = "m3/s" , interpretation = Instantaneous , color = Red , linewidth = 4 , linestyle = Dash , showPoints = True file = myrandom.csv # custom import settings isColumnSeparated = True separator = ; dateformat = dd.MM.yyyy HH : mm : ss decimalSeparator = , iLineHeadings = 1 iLineUnits = 8 iLineData = 12 useUnits = True columnWidth = dateTimeColumnIndex = 0 # series to import series = myseries1 series = myseries2 |
CSS
Versionen
<div class="info_versionen">
Achtung
<div class="achtung">
Links:
- File types:
- PDF: http://www.example.com/test.pdf
- EXE: http://www.example.com/test.exe
- ZIP: http://www.example.com/test.zip
- PPT: http://www.example.com/test.ppt http://www.example.com/test.pptx http://www.example.com/test.pps
- DOC: http://www.example.com/test.doc http://www.example.com/test.doc
- XLS: http://www.example.com/test.xls http://www.example.com/test.xlsx
- Sites:
Kommentar