Wiki Formatting Cheat Sheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
== Tables == | == Tables == | ||
http://meta.wikimedia.org/wiki/Help:Table | http://meta.wikimedia.org/wiki/Help:Table | ||
* convert CSV to wiki table: | |||
http://area23.brightbyte.de/csv2wp.php | |||
* add borders and padding to first line: | |||
<pre> | |||
{|border=1 cellpadding=5 | |||
</pre> | |||
== Math == | == Math == |
Latest revision as of 20:42, 2 June 2011
General Help: http://meta.wikimedia.org/wiki/Help:Contents#For_editors
Formatting: http://www.mediawiki.org/wiki/Help:Formatting
Images
http://www.mediawiki.org/wiki/Help:Images
[[Image: myfile.gif]]
Tables
http://meta.wikimedia.org/wiki/Help:Table
- convert CSV to wiki table:
http://area23.brightbyte.de/csv2wp.php
- add borders and padding to first line:
{|border=1 cellpadding=5
Math
<math>\lambda = n^2 \sqrt{x}</math>
makes <math>\lambda = n^2 \sqrt{x}</math>
Code
generic block of code with the pre tag
sudo apt-get update
inline code with code tag
Here is some inline code: sudo apt-get update
syntax highlighting with the source tag
(requires installation/enabling of SyntaxHighlighting_GeSHi extension)
<source lang="php"> <?php $v = "string"; // sample initialization ?> html text <? echo $v; // end of php code ?> </source>
gives
<?php
$v = "string"; // sample initialization
?>
html text
<?
echo $v; // end of php code
?>