Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Help:Editing"

(help those who help themselves)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
See the [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki editing help].
+
This page was empty so I copied in my cheat sheet, for more information: [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki Edting Help]
  
Here is a complete list of the templates available on the Eclipse wiki, just waiting yours to add up!
+
<pre>
 +
== Heading ==
  
{{:Special:Allpages/Template:}}
+
You can type things pretty much as you would expect and the
 +
paragraph will flow from line to line. Leaving a blank line
 +
will start a new paragraph.
  
If you have to write source code in Java, you can wrap code inside source tags &lt;source lang="java"&gt;&lt;/source&gt;:
+
When typing you can ''emphasize text'', to '''make a point''',
 +
but that stops being '''''fun''''' after a while.
  
{| class="prettytable"
+
=== Sub Heading ===
|-
+
! Language !! Source !! Result
+
|-
+
! Java
+
| <pre><source lang="java">
+
public static void main(String args[]) {
+
      System.out.println("Hello world");
+
}
+
</source>
+
</pre>
+
|| <source lang="java">
+
public static void main(String args[]) {
+
      System.out.println("Hello world");
+
}
+
</source>
+
|-
+
! XML
+
| <pre><source lang="xml">
+
<extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
+
      <decorator
+
            class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
+
            source="textAnnotationSource"/>
+
</extension>
+
</source> </pre>
+
|| <source lang="xml">
+
<extension point="org.eclipse.stp.bpmn.diagram.EAnnotationDecorator">
+
      <decorator
+
            class="org.eclipse.stp.bpmn.sample.annotationdecoration.AnnotationDecorator"
+
            source="textAnnotationSource"/>
+
</extension>
+
</source>
+
|}
+
  
You can use it for any other language supported by [http://qbnz.com/highlighter/ GeShi].
+
One of the fun parts of a wiki is linking:
 +
* [[Page]] link
 +
** Same thing as [[Page]]s and [[page]]
 +
* [[Page#Sub Heading]] same as [[Page#Sub Heading 1=
 +
** You could also link to [[Page#Sub Heading 2]]
 +
* [[Page|a sample page]] also works
 +
 
 +
To link to the wider wilder web:
 +
* http://locationtech.org
 +
* [http://locationtech.org LocationTech]
 +
* [locationtech.org] <!-- shows up as [1] -->
 +
 
 +
Remember:
 +
:You can create a link to a page that does not exist yet
 +
 
 +
Where:
 +
; page link : can be clicked to jump to a page
 +
; external link
 +
: will take you to another web page
 +
 
 +
=== Sub Heading ===
 +
 
 +
Hacking with html is mostly allowed - here is a code example:
 +
<code>x = x  1;</code> although you probably want to break
 +
out a pre tag for examples of more then one line.</pre>

Latest revision as of 20:23, 19 March 2013

This page was empty so I copied in my cheat sheet, for more information: MediaWiki Edting Help

== Heading ==

You can type things pretty much as you would expect and the
paragraph will flow from line to line. Leaving a blank line
will start a new paragraph.

When typing you can ''emphasize text'', to '''make a point''',
but that stops being '''''fun''''' after a while.

=== Sub Heading ===

One of the fun parts of a wiki is linking:
* [[Page]] link
** Same thing as [[Page]]s and [[page]]
* [[Page#Sub Heading]] same as [[Page#Sub Heading 1=
** You could also link to [[Page#Sub Heading 2]]
* [[Page|a sample page]] also works

To link to the wider wilder web:
* http://locationtech.org
* [http://locationtech.org LocationTech]
* [locationtech.org] <!-- shows up as [1] -->

Remember:
:You can create a link to a page that does not exist yet

Where:
; page link : can be clicked to jump to a page
; external link
: will take you to another web page

=== Sub Heading ===

Hacking with html is mostly allowed - here is a code example:
<code>x = x   1;</code> although you probably want to break
out a pre tag for examples of more then one line.

Back to the top