Help:CodeSyntax

From OOModels
Jump to navigationJump to search

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 either
    • enclosed within a leading <div class="code"> tag and an ending </div> tag
    • and entered with leading spaces (Mediawiki then considers it as preformatted)
  • or, alternatively
    • enclosed within a leading <wiml> tag and an ending </wiml> tag
    • and entered in WIML syntax