Changes

Wiki Program Playground

1,025 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.
<span class="wikicode">This is text</span>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 iturl''': http://goo.gl/SQr6Sf
=== Adding YouTube Videos =Images ==
Embedding YouTube videos into pages&mdash;such as Registered users can upload images to the one below&mdash;is straightforwardsite via the 'Upload file' link on the left-hand toolbar. Just use <span class="wikicode"><nowiki><embedvideo service="youtube">httpsDocumentation on how to then embed these images into the page can be found [http://www.youtubemediawiki.comorg/[rest of url wiki/Help:Images here]</embedvideo></nowiki></span>. The general syntax is:
<syntaxhighlight lang="text">
[[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.]]
philosophy of mathematics siteThe image above was produced with the following markup:philosophy.uchicago.edu</nowiki></span>
the <nowikisyntaxhighlight lang="text"><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].syntaxhighlight>
== Adding YouTube Videos == Embedding YouTube videos into pages is straightforward. Just use the following format: <span classsyntaxhighlight lang="wikicodetext"><nowikiembedvideo service="youtube">philosophy of mathematics sitehttps:philosophy//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>