Difference between revisions of "Markup Examples"

From Whirlwind eCommerce Wiki
Jump to: navigation, search
m (Reverted edits by Ukaqicuryx (Talk) to last version by Root)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Image:http://www.mediawiki.org/w/MediaWiki_logo.png|framed|right|ImageCaption here]]
 
[[Image:http://www.mediawiki.org/w/MediaWiki_logo.png|framed|right|ImageCaption here]]
 +
 +
force table of contents (b/c by default only appears for sections > 3 headers)
 +
__FORCETOC__
 +
 +
force table of contents to appear HERE
 +
__TOC__
 +
 +
hide table of contents even when over 3 sections
 +
__NOTOC__
  
 
Linking:
 
Linking:
Line 13: Line 22:
 
==Section Title==
 
==Section Title==
 
another section with more text
 
another section with more text
 +
 +
<pre>
 +
Use pre to do this <even include tags> and all is ok!
 +
</pre>
 +
 +
==code==
 +
 +
<div style="border-width:thin;border-style:dashed;border-color:#BBBBBB;padding:10px;">
 +
<source lang="php">
 +
<?php
 +
// how about some juicy code
 +
$var = 'value';
 +
echo $var;
 +
// end code
 +
?>
 +
</source>
 +
</div>
 +
 +
create a table
 +
 +
{|border=3
 +
|-
 +
|Row 1 cell 1
 +
|row 1 cell 2
 +
|row 1 cell 3
 +
|-
 +
|row 2 cell 1
 +
|row 2 cell 2
 +
|ro2 2 cell 3
 +
|}
 +
  
 
[[Category:Category Text|{{PAGENAME}}]]
 
[[Category:Category Text|{{PAGENAME}}]]

Latest revision as of 16:52, 1 December 2010

force table of contents (b/c by default only appears for sections > 3 headers)


force table of contents to appear HERE

hide table of contents even when over 3 sections


Linking: This is a link

Section Title

subsection
indented text
  • bulletted text
  • indented bulleted text

bold text here

Section Title

another section with more text

Use pre to do this <even include tags> and all is ok!

code

<?php
// how about some juicy code
$var = 'value';
echo $var;
// end code
?>

create a table

Row 1 cell 1 row 1 cell 2 row 1 cell 3
row 2 cell 1 row 2 cell 2 ro2 2 cell 3