Skip to main content
Jump to: navigation, search

Difference between revisions of "Object Teams/Editing"

(Wiki Categories)
 
Line 28: Line 28:
 
Currently we maintain these categories:
 
Currently we maintain these categories:
 
* [[:Category:Object Teams]]
 
* [[:Category:Object Teams]]
 +
* [[:Category:Object Teams Development]]
 
* [[:Category:Object Teams Examples]]
 
* [[:Category:Object Teams Examples]]
 +
* [[:Category:Object Teams Patterns]]
 +
* [[:Category:OTEquinox]]
 
For placing a new wiki page into one or more of these categories simply insert (at the bottom) something like the following text:
 
For placing a new wiki page into one or more of these categories simply insert (at the bottom) something like the following text:
 
<pre>
 
<pre>

Latest revision as of 17:23, 12 June 2010

General hints for editing OT-related pages in this wiki.

Source code listings

Please enclose any listings of OT/J code like this

<source lang="otj" line="1"> 
public team class MyFirstTeam {}
</source>

Which renders as

  1.  
  2. public team class MyFirstTeam {}

The "line" option inserts line numbers in the left column, just omit this if no line number are desired.

For unknown reasons listings with line numbers by default don't get the nice box drawn around them. To restore this behaviour insert this at that top of your page:

<css>
.source-java { border:#2F6FAB 1px dashed; background-color:#F9F9F9; padding:4px; }
.source-otj { border:#2F6FAB 1px dashed; background-color:#F9F9F9; padding:4px; }
</css>

Object Teams Wiki Templates

We currently have one OT-specific wiki template: Template:Otjld, which can be used to easily insert links to selected paragraphs of the OTJLD (OT/J Language Definition).

Wiki Categories

Currently we maintain these categories:

For placing a new wiki page into one or more of these categories simply insert (at the bottom) something like the following text:

[[Category:Object Teams]]

Back to the top