Help:CodeSyntax

From OOModels

Jump to: navigation, search

Editing IntroductionTemplate:· Wiki SyntaxTemplate:· Wiki Structure (Namespaces)Template:· Artefact SyntaxTemplate:· Mediawiki Help Pages
OOModels QuickstartTemplate:· GlossaryTemplate:· ArtefactSyntaxTemplate:· TypeSyntaxTemplate:· NamespaceSyntaxTemplate:· PackageSyntaxTemplate:· ConversionStepSyntax
HowToStartAProjectTemplate:· HowToAddAModelTemplate:· HowToAddAFormatTemplate:· HowToAddAPackageTemplate:· HowToAddANamespaceTemplate:· HowToAddAContact

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
Personal tools
languageselector