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...) |
AndreasLeue (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
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. | ||
* Code is contained in a section labelled <nowiki>== Code ==</nowiki> | * Code is contained in a section labelled <nowiki>== Code ==</nowiki> | ||
* Code is entered with [http://meta.wikimedia.org/wiki/Help:Wikitext#Just_show_what_I_typed leading spaces] (Mediawiki then considers it as preformatted) | * Code is either | ||
* | ** enclosed within a leading <nowiki><div class="code"></nowiki> tag and an ending <nowiki></div></nowiki> tag | ||
** and entered with [http://meta.wikimedia.org/wiki/Help:Wikitext#Just_show_what_I_typed leading spaces] (Mediawiki then considers it as preformatted) | |||
* or, alternatively | |||
** enclosed within a leading <nowiki><wiml></nowiki> tag and an ending <nowiki></wiml></nowiki> tag | |||
** and entered in [[Type:org/oomodels/WIML/1.0|WIML]] syntax |
Latest revision as of 14:34, 7 May 2009
Editing Introduction·
Wiki Syntax·
Wiki Structure (Namespaces)·
Artefact Syntax·
Mediawiki Help Pages
OOModels Quickstart·
Glossary·
ArtefactSyntax·
TypeSyntax·
NamespaceSyntax·
PackageSyntax·
ConversionStepSyntax
HowToStartAProject·
HowToAddAModel·
HowToAddAFormat·
HowToAddAPackage·
HowToAddANamespace·
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