Difference between revisions of "Help:CodeSyntax"

From OOModels
Jump to navigationJump to search
(New page: Artefacts represented in the wiki shall be both readable by humans and machines and have to be easily editable by humans. The following rules shall guarantee that this is possible. * Code...)
 
Line 1: Line 1:
{{HelpPagesHeaderBar}}
Artefacts represented in the wiki shall be both readable by humans and machines and have to be easily editable by humans.
Artefacts represented in the wiki shall be both readable by humans and machines and have to be easily editable by humans.
The following rules shall guarantee that this is possible.
The following rules shall guarantee that this is possible.

Revision as of 08:57, 6 June 2008

Artefacts represented in the wiki shall be both readable by humans and machines and have to be easily editable by humans. The following rules shall guarantee that this is possible.

  • Code is contained in a section labelled == Code ==
  • Code is entered with leading spaces (Mediawiki then considers it as preformatted)
  • To improve readability, <div> tags can be used to apply styles to parts of the code; these tags have to be put on their own line without any leading space