Changes

Wiki Program Playground

1,070 bytes added, 18:09, 13 January 2015
/* Alternative Syntax */
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 by just by looking at the wiki markup source and aping it.
=== Adding YouTube Videos ==='''page url''': http://goo.gl/SQr6Sf
Embedding YouTube videos into pages&mdash;such as the one below&mdash;is straightforward. Just use <span class="wikicode"><nowiki><embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo></nowiki></span>Adding Images ==
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:
philosophy of mathematics site<syntaxhighlight lang="text">[[File:philosophyfilename.uchicago.edu</nowiki>extension|options|caption]]</spansyntaxhighlight>
the <nowiki><embedvideo></nowiki> tag[[File:Cropped-Lab-Fall-2014-799. Other examples jpg|700px|border|Pictured are [http:UC Davis Griesemer//wwwMillstein Philosophy of Biology members.mediawiki.org/wiki/Extension:EmbedVideo#Examples here].]
The image above was produced with the following markup: <span classsyntaxhighlight lang="wikicodetext">[[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]<nowiki/syntaxhighlight>philosophy of mathematics site == Adding YouTube Videos == Embedding YouTube videos into pages is straightforward. Just use the following format:philosophy <syntaxhighlight lang="text"><embedvideo service="youtube">https://www.uchicagoyoutube.educom/[rest of url here]</nowikiembedvideo></spansyntaxhighlightOther examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here].
<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>