Sandbox

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
(CSS Experiment)
 
(100 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!
Line 7: Line 7:
 
<!-- All content under this line are tests of users. You can delete content if you need space!-->
 
<!-- 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)
+
 
 +
== Test für eine sortierbare wikitable (Test) ==
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 24: Line 30:
 
| row 2, cell 2
 
| row 2, cell 2
 
| row 2, cell 3
 
| row 2, cell 3
 +
|}
 +
 +
----
 +
Test for the relascope article table
 +
 +
{| class="wikitable"
 +
|+ Short feature description
 +
|-
 +
! Scale name
 +
! description
 +
|-
 +
|Ts 20 (Tangent scale) 
 +
| Height measurement
 
|}
 
|}
  
Line 50: Line 69:
 
<!--Mensa is calling-->
 
<!--Mensa is calling-->
  
Hallo, versuchs mal so:
+
==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/>
  
{{Button|text=testbutton}}
+
[[file:bogor6.jpg|thumb]]
  
Hierfür wurde ein Template definiert (see [[Template:Button]], dass mit text gefüllt werden kann. So bitte auch mit den anderen!
 
  
Mal versuchen:
+
==Equation reference==
{{key|text=ein_key}}
+
For that famous Einstein equation see {{EquationNote|1}}. Blablabla.
  
läuft!
+
==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