Database Syntax

From Expansion Fleet
Jump to: navigation, search

This is a comparitive overview of the Database Syntax. For more information, see the Help Page.

</TR>
  Wikitax
  Wikipedia DTD
  Common Syntax
''Emphasize''
<em>Emphasize</em>
'''strongly''' 
<strong>strongly</strong>
----
<hr/>
== Section ==

=== Subsection ===
====== Sub-Sub-Sub-Sub-Subsection ======
<h1> New Section </h1>
<h2> Subsection </h2>
<h6> Sub-Sub-Sub-Sub-Subsection </h6>
* List
** Entry
<ul><li>List
  <ul><li>Entry</li></ul></li></ul>
# Numered List
<ol><li>Numered Lists</li></ol>
; Definition lists : list 
of definitions
; item : the item's definition
<dl><dt> Definition list </dt><dd> list of definitions
</dd><dt> item </dt&gt;<dd> the item's definition
</dd></dl>
:Indented lines
::several levels
<dl><dd>Indented lines
  <dl><dd>several levels</dd></dl></dd></dl>
 Lines starting with
 a space
<pre>Line starting with
a space</pre>
Empty lines (paragraph breaks)
<pbr/>
  Special Syntax
<nowiki>do [not] parse <this></nowiki>
<nowiki>do [not] parse &lt;this&gt;</nowiki>
<math>e=mc^2</math>
  keep
{{VARIABLE}} [1]
<variable name="VARIABLE"/>
  links to the same page in other language
  treat like normal Links (see below)
  some HTML tags and entities [2]
  keep valid XHTML parts
  Wiki Links
[[Wikipedia FAQ]]
<link article="Wikipedia FAQ"/>
[[wikipedia FAQ|answers]]
<link article="Wikipedia FAQ">answers</link>
[[test]]ing
<link article="test">testing</link>
[[talk:Wikipedia:handbook]]
<link namespace="Wikipedia" talk="talk" article="handbook"/>
[[de:Diskussion:Hauptseite]]
<link wiki="de" talk="Diskussion" article="Hauptseite"/>
  ~~~ => [[User:Linus|Linus]]
<link namespace="User" article="Linus">Linus</link>
  Images and media objects
Embed it:
  [[image:Wiki.png]]
<media href="image:Wiki.png"/>
Link to its page:
  [[:image:Wiki.png]]
<link namespace="image" article="Wiki.png"/>
  External Links
http://www.wikipedia.org
news:comp.os.linux.networking
webmaster@wikipedia.org
[http://www.wikipedi.org Wikipedia]
<url href="http://www.wikipedia.org"/>
<url href="news:comp.os.linux.networking"/>
<mail to="webmaster@wikipedia.org"/>
<url href="http://www.wikipedia.org">Wikipedia</url>
  Special Links
ISBN 0-201-89683-4
<reference system="ISBN" href="0-201-89683-4"/> 
RFC 2616
<reference system="RFC" href="2616"/>


[1] VARIABLE is one of CURRENTMONTH, CURRENTMONTHNAME, CURRENTDAY, CURRENTDAYNAME, CURRENTYEAR, CURRENTTIME, NUMBEROFARTICLES

[2] see [http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wikipedia/phpwiki/newcodebase/OutputPage.php?rev=HEAD&content-type=text/vnd.viewcvs-markup source code]; method removeHTMLtags() for which HTML tags are passed through