Sandbox

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
 
(119 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=={{SITENAME}} Sandbox==
+
==This is a headline==
  
 
This is a place to try out! Content will be deleted periodical! You can find an extern sandbox at [[metawikipedia:Meta:Sandbox|Metawiki]] (Shift + click opens a seperate window!) that you can use too. You can also find a lot of help pages there!
 
This is a place to try out! Content will be deleted periodical! You can find an extern sandbox at [[metawikipedia:Meta:Sandbox|Metawiki]] (Shift + click opens a seperate window!) that you can use too. You can also find a lot of help pages there!
  
==='''Play up! <small>(click "edit" on the right)</small>'''===
+
==='''Play up! <small>(click "edit" on the right and create any content. Clean up a little bit before leaving this place)</small>'''===
 
+
<!-- All content under this line are tests of users. -->
+
  
 +
<!-- All content under this line are tests of users. You can delete content if you need space!-->
  
 +
== Referencing equations ==
 +
By [[User:Lburgr|- Levent]] ([[User talk:Lburgr|talk]]).
 +
Trying to reference equations like on Wikipedia. Click section [[#Equation reference]] to
 +
see if it works.
  
 +
{{EquationRef|equation=$E=mc^2$|1}}
 
----
 
----
  
 +
== Test für eine sortierbare wikitable (Test) ==
  
{| class="wikitable"
+
{| class="wikitable sortable"
 
|-
 
|-
 
! header 1
 
! header 1
Line 27: Line 32:
 
|}
 
|}
  
 +
----
 +
Test for the relascope article table
  
Test:
+
{| class="wikitable"
 
+
|+ Short feature description
{| {{table}}
+
| align="center" style="background:#f0f0f0;"|'''No'''
+
| align="center" style="background:#f0f0f0;"|'''a'''
+
| align="center" style="background:#f0f0f0;"|''''''
+
| align="center" style="background:#f0f0f0;"|'''b'''
+
| align="center" style="background:#f0f0f0;"|''''''
+
|-
+
| ||a1||a2||b1||b2
+
 
|-
 
|-
| 1||23||45||67||89
+
! Scale name
|-
+
! description
| 2||24||46||68||90
+
|-
+
| 3||25||47||69||91
+
|-
+
| 4||26||48||70||92
+
|-
+
| 5||27||49||71||93
+
 
|-
 
|-
 +
|Ts 20 (Tangent scale) 
 +
| Height measurement
 
|}
 
|}
  
 +
==Georeferencing!?==
  
test:
+
This is a link to google maps. see pirilongwe Forest Reserve at [http://maps.google.de/maps?ie=UTF8&t=p&ll=-14.568797,34.976864&spn=0.11713,0.154495&z=13 GoogleMaps]
<div>
+
<div style="float:left; margin-right:1em;">
+
; linke Tabelle
+
{| class="wikitable"
+
! Überschrift 1
+
|-
+
| Feld 1 |
+
|}
+
</div>
+
  
<div style="float:left;">
+
==Ein Testartikel von Levent==
; rechte Tabelle
+
Grüne Wellensittiche sind die einzigen Sukkulenten, die Eier legen
{|class="wikitable"
+
 
! Überschrift 1
+
===Eine Überschrift===
|-
+
Schön, mit Umlauten hat man schonmal keinen Streß. Jetzt kommt ein Zeilenumbruch.
| Feld 1 |
+
 
|}
+
Das hier ist die nächste Zeile. ''Italienischer Text'' '''Dreister Text''' '''''dreister italienischer Text'''''
</div>
+
 
</div>
+
Jetzt ein Strich
 +
 
 +
----
 +
 
 +
Einige Fakten über grüne Wellensitiche
 +
# Beisst man einem grünen Wellensitich (g.W.) morgens in den Flügel, schmeckt er sauer
 +
#* Das liegt an der im Flügel gespeicherten Äpfelsäure
 +
# Beisst man einem g.W. abends in den Flügel, schmeckt er basisch
 +
# Trifft Sonnenstrahlung auf einen g.W., so entstehen Traubenzucker und Schatten. Das beweist, dass g.W.'e Photosynthese betreiben.
 +
 
 +
<!--Mensa is calling-->
 +
 
 +
==Template experiments==
 +
This is a typed text, like something you would pass to a console.
 +
{{attention|text=lets see how this template gets along with other templates}} {{typed_bkp|text=sudo gobbledegook blah_blah -w -t -f aWkward/ComBinationOf/mixedCase/underscores_strokes/and.dots This...phrase NeedsToBe much_longer}}
 +
 
 +
 
 +
===Some tests of the new mathjax extension===
 +
Since math is not part of the Mediawiki 1.19 installation, we had to change to the extension MathJax to render formulas. Here are some tests:
 +
 
 +
 
 +
<math>y^2+2x=3</math>
 +
 
 +
$x^2+2x$
 +
 
 +
math elements are centered by default, but if you substitute them by $ formulas are aligned left.
 +
 
 +
 
 +
 
 +
<math>G_i=10000*\frac{n_i*\frac{\pi}{4}*{d_i}^2}{\pi* \frac{{d_i}^2}{4*\left(\mbox{sin }\frac{\alpha}{2}\right)^2}}=10000*n_i*\left(\mbox{sin}\frac{\alpha}{2}\right)^2</math>
 +
 
 +
===SyntaxHighlight===
 +
<source lang="rsplus">
 +
A <- read.table("x.data", sep=",",
 +
                col.names=c("year", "my1", "my2"))
 +
nrow(A)                                # Count the rows in A
 +
 
 +
summary(A$year)                        # The column "year" in data frame A
 +
                                        # is accessed as A$year
 +
 
 +
A$newcol <- A$my1 + A$my2              # Makes a new column in A
 +
newvar <- A$my1 - A$my2                # Makes a new R object "newvar"
 +
A$my1 <- NULL                          # Removes the column "my1"
 +
 
 +
# You might find these useful, to "look around" a dataset --
 +
str(A)
 +
summary(A)
 +
library(Hmisc)          # This requires that you've installed the Hmisc package
 +
contents(A)
 +
describe(A)
 +
</source>
 +
 
 +
=== Link to external source===
 +
<cite name=Test href=http://www.sciencedirect.com/science/article/pii/S0169204602002426=></cite>
 +
 
 +
<references/>
 +
 
 +
[[file:bogor6.jpg|thumb]]
 +
 
 +
 
 +
==Equation reference==
 +
For that famous Einstein equation see {{EquationNote|1}}. Blablabla.
 +
 
 +
==Sophie Test==
 +
Blabla

Latest revision as of 10:43, 30 October 2014

Contents

[edit] This is a headline

This is a place to try out! Content will be deleted periodical! You can find an extern sandbox at Metawiki (Shift + click opens a seperate window!) that you can use too. You can also find a lot of help pages there!

[edit] Play up! (click "edit" on the right and create any content. Clean up a little bit before leaving this place)

[edit] Referencing equations

By - Levent (talk). Trying to reference equations like on Wikipedia. Click section #Equation reference to see if it works.


$E=mc^2$ 1



[edit] Test für eine sortierbare wikitable (Test)

header 1 header 2 header 3
row 1, cell 1 row 1, cell 2 row 1, cell 3
row 2, cell 1 row 2, cell 2 row 2, cell 3

Test for the relascope article table

Short feature description
Scale name description
Ts 20 (Tangent scale) Height measurement

[edit] Georeferencing!?

This is a link to google maps. see pirilongwe Forest Reserve at GoogleMaps

[edit] Ein Testartikel von Levent

Grüne Wellensittiche sind die einzigen Sukkulenten, die Eier legen

[edit] Eine Überschrift

Schön, mit Umlauten hat man schonmal keinen Streß. Jetzt kommt ein Zeilenumbruch.

Das hier ist die nächste Zeile. Italienischer Text Dreister Text dreister italienischer Text

Jetzt ein Strich


Einige Fakten über grüne Wellensitiche

  1. Beisst man einem grünen Wellensitich (g.W.) morgens in den Flügel, schmeckt er sauer
    • Das liegt an der im Flügel gespeicherten Äpfelsäure
  2. Beisst man einem g.W. abends in den Flügel, schmeckt er basisch
  3. Trifft Sonnenstrahlung auf einen g.W., so entstehen Traubenzucker und Schatten. Das beweist, dass g.W.'e Photosynthese betreiben.


[edit] Template experiments

This is a typed text, like something you would pass to a console.

Attention.png Attention!: 

lets see how this template gets along with other templates

sudo gobbledegook blah_blah -w -t -f aWkward/ComBinationOf/mixedCase/underscores_strokes/and.dots This...phrase NeedsToBe much_longer


[edit] Some tests of the new mathjax extension

Since math is not part of the Mediawiki 1.19 installation, we had to change to the extension MathJax to render formulas. Here are some tests\[y^2+2x=3\]

$x^2+2x$

math elements are centered by default, but if you substitute them by $ formulas are aligned left.


\(G_i=10000*\frac{n_i*\frac{\pi}{4}*{d_i}^2}{\pi* \frac{{d_i}^2}{4*\left(\mbox{sin }\frac{\alpha}{2}\right)^2}}=10000*n_i*\left(\mbox{sin}\frac{\alpha}{2}\right)^2\)

[edit] SyntaxHighlight

A <- read.table("x.data", sep=",",
                col.names=c("year", "my1", "my2"))
nrow(A)                                 # Count the rows in A
 
summary(A$year)                         # The column "year" in data frame A
                                        # is accessed as A$year
 
A$newcol <- A$my1 + A$my2               # Makes a new column in A
newvar <- A$my1 - A$my2                 # Makes a new R object "newvar"
A$my1 <- NULL                           # Removes the column "my1"
 
# You might find these useful, to "look around" a dataset --
str(A)
summary(A)
library(Hmisc)          # This requires that you've installed the Hmisc package
contents(A)
describe(A)

[edit] Link to external source



[edit] Equation reference

For that famous Einstein equation see 1. Blablabla.

[edit] Sophie Test

Blabla

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export