Help:CodeSyntax

From OOModels
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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