Difference between revisions of "Sandbox"
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
This is the Remeis-Wiki sandbox and quick editing guide. Feel free to play around here or to add/modify examples. | This is the Remeis-Wiki sandbox and quick editing guide. Feel free to play around here or to add/modify examples. | ||
+ | |||
+ | == Formatting text == | ||
+ | |||
+ | Line breaks: | ||
+ | <nowiki><br /></nowiki> | ||
+ | |||
+ | Code blocks: | ||
+ | <nowiki><code>function(record) { record.save(); }</code></nowiki><br /> | ||
+ | would result in | ||
+ | <code>function(record) { record.save(); }</code> | ||
+ | |||
+ | Box around text: | ||
+ | <nowiki>␣␣ (two spaces)</nowiki><br /> | ||
+ | would result in, e.g., this box | ||
== Lists == | == Lists == | ||
Line 22: | Line 36: | ||
<nowiki>[URL Label]</nowiki> | <nowiki>[URL Label]</nowiki> | ||
− | == | + | == Media == |
− | + | ||
+ | How to insert [https://www.mediawiki.org/wiki/Help:Images images]: | ||
+ | <nowiki>[[File:image.jpg]]</nowiki> | ||
+ | <nowiki>[[File:image.jpg|560px|Caption]]</nowiki> | ||
+ | |||
+ | == Using references == | ||
+ | You might want to add references to the central '''[[List of references|library page]] of the wiki''', which simplifies the usage of references on multiple pages! | ||
+ | Using this superscripted numbers you probably know from wikipedia: | ||
+ | As discovered by Mr. Awesome<nowiki><ref>Super Awesome, ''How I discovered something super awesome'', Journal for awesome discoveries</ref></nowiki> the world in an amazing place. | ||
+ | |||
+ | Will result in: | ||
+ | As discovered by Mr. Awesome<ref>Awesome, Super: ''How I discovered something super awesome'', Journal for awesome discoveries</ref> | ||
+ | With the superscript referring to the list at the end of the page. | ||
+ | |||
+ | |||
+ | == Tables == | ||
+ | Please refer to the [https://www.mediawiki.org/wiki/Help:Tables official Help] of the Mediawiki for the table syntax. | ||
+ | However, Philipp created a vim script which can (somewhat) convert the old dokuwiki syntax of tables to the mediawiki syntax, it can be found on his [https://www.sternwarte.uni-erlangen.de/gitlab/weber/dokuwiki-table-to-mediawiki-table/ GitLab page]. | ||
+ | |||
+ | |||
+ | <!-- PLEASE INSERT ADDITIONAL CONTENT ABOVE THE REFERENCES SECTION--> | ||
+ | <!-- PLEASE INSERT ADDITIONAL CONTENT ABOVE THE REFERENCES SECTION--> | ||
+ | <!-- PLEASE INSERT ADDITIONAL CONTENT ABOVE THE REFERENCES SECTION--> | ||
+ | == References == |
Latest revision as of 12:50, 5 May 2018
This is the Remeis-Wiki sandbox and quick editing guide. Feel free to play around here or to add/modify examples.
Formatting text
Line breaks:
<br />
Code blocks:
<code>function(record) { record.save(); }</code>
would result infunction(record) { record.save(); }
Box around text:
␣␣ (two spaces)
would result in, e.g., this box
Lists
* level 1 item * another level 1 item ** level 2 item
- level 1 item
- another level 1 item
- level 2 item
Links
How to insert internal links:
[[Name_of_the_page]] [[Name_of_the_page|Label]]
How to insert external links:
[URL] [URL Label]
Media
How to insert images:
[[File:image.jpg]] [[File:image.jpg|560px|Caption]]
Using references
You might want to add references to the central library page of the wiki, which simplifies the usage of references on multiple pages! Using this superscripted numbers you probably know from wikipedia:
As discovered by Mr. Awesome<ref>Super Awesome, ''How I discovered something super awesome'', Journal for awesome discoveries</ref> the world in an amazing place.
Will result in:
As discovered by Mr. Awesome[1]
With the superscript referring to the list at the end of the page.
Tables
Please refer to the official Help of the Mediawiki for the table syntax. However, Philipp created a vim script which can (somewhat) convert the old dokuwiki syntax of tables to the mediawiki syntax, it can be found on his GitLab page.
References
- ↑ Awesome, Super: How I discovered something super awesome, Journal for awesome discoveries