Editing Wiki Program Playground

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
This page is for demonstrating and experimenting with features that can be put to use on Wiki Program Pages. It is for anyone to use. The idea is that this is a playground where things can be tried out without worry.
 
This page is for demonstrating and experimenting with features that can be put to use on Wiki Program Pages. It is for anyone to use. The idea is that this is a playground where things can be tried out without worry.
  
Remember: You can see how to implement anything on this page just by looking at the wiki markup source and aping it.
+
Remember: You can see how to implement anything on this page by just looking at the wiki markup source and aping it.
 
+
'''page url''': http://goo.gl/SQr6Sf
+
  
 
== Adding Images ==
 
== Adding Images ==
Line 9: Line 7:
 
Registered users can upload images to the site via the 'Upload file' link on the left-hand toolbar. Documentation on how to then embed these images into the page can be found [http://www.mediawiki.org/wiki/Help:Images here]. The general syntax is:
 
Registered users can upload images to the site via the 'Upload file' link on the left-hand toolbar. Documentation on how to then embed these images into the page can be found [http://www.mediawiki.org/wiki/Help:Images here]. The general syntax is:
  
<syntaxhighlight lang="text">
+
<code><nowiki>[[File:filename.extension|options|caption]]</nowiki></code>
[[File:filename.extension|options|caption]]
+
</syntaxhighlight>
+
  
 
[[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]
 
[[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]
Line 17: Line 13:
 
The image above was produced with the following markup:
 
The image above was produced with the following markup:
  
<syntaxhighlight lang="text">
+
<code><nowiki>[[File:Cropped-Lab-Fall-2014-799.jpg||700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]</nowiki></code>
[[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are  
+
UC Davis Griesemer/Millstein Philosophy of Biology members.]]
+
</syntaxhighlight>
+
  
 
== Adding YouTube Videos ==
 
== Adding YouTube Videos ==
  
Embedding YouTube videos into pages is straightforward. Just use the following format:
+
Embedding YouTube videos into pages&mdash;such as the one below&mdash;is straightforward. Just use the following format:
  
<syntaxhighlight lang="text">
+
<code><nowiki><embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo></nowiki></code>
<embedvideo service="youtube">https://www.youtube.com/[rest of  
+
url here]</embedvideo>
+
</syntaxhighlight>
+
  
 
Other examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here].
 
Other examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here].
  
 
<embedvideo service="youtube">https://www.youtube.com/watch?v=lklTdctDdIo</embedvideo>
 
<embedvideo service="youtube">https://www.youtube.com/watch?v=lklTdctDdIo</embedvideo>
 
== Alternative Syntax ==
 
 
<syntaxhighlight lang="wiki">
 
 
This is a head
 
==============
 
 
 
This is too
 
-----------
 
 
- one
 
- two
 
- three
 
 
* list of items
 
** with others
 
</syntaxhighlight>
 
 
<syntaxhighlight lang="c">
 
location=world              # store "world" in the variable "location"
 
echo "Hello, ${location}!"  # print "Hello, world!"
 
</syntaxhighlight>
 
 
<syntaxhighlight lang="bash">
 
location=world              # store "world" in the variable "location"
 
echo "Hello, ${location}!"  # print "Hello, world!"
 
</syntaxhighlight>
 

Please note that all contributions to Philosophy of Biology Graduate Programs are considered to be released under the a Creative Commons Attribution 4.0 International License (see Philosophy of Biology Graduate Programs:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)