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 9: Line 9:
 
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 15:
 
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 ==
Line 26: Line 21:
 
Embedding YouTube videos into pages is straightforward. Just use the following format:
 
Embedding YouTube videos into pages 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)