Mozilo's own CMS syntax elements generate HTML code that is converted into the corresponding page display by the web browser. Therefore, the basic rules that apply to HTML must also be observed for the moziloCMS syntax.
Syntax elements are basically divided into two types:
- Block – creates a separate area that is separated from the (source) text before and after by a line break.
- Inline – fits seamlessly into the (source) text.
Additional elements can be inserted into a syntax element, according to the rule:
- Block may contain: Block, Inline, Text
- Inline may contain: Inline, Text
Example:
Headline
Correct: [
ueber2
|
[
kursiv
|Headline ] ] – because inline element in block element.
Incorrect: [
kursiv
|
[
ueber2
|Headline ] ] – because block element in inline element.
If an incorrect arrangement nevertheless leads to the correct result at first glance, this does not necessarily have to be the case in all browsers.
Different browsers interpret violations of the general syntax rules with different "generosity".
The content permitted for nesting can be found in the following table:
| Syntax element | Type | = May contain | | | May contain ] | |
|---|---|---|---|---|
| [ link = | ] | Inline | Text, Inline | Text | |
| [ mail = | ] | Inline | Text, Inline | Text | |
| [ seite = | ] | Inline | Text, Inline | ||
| [ kategorie = | ] | Inline | Text, Inline | ||
| [ datei = | ] | Inline | Text, Inline | ||
| [ bild = | ] | Inline | Text | ||
| [ bildlinks = | ] | Inline | Text | ||
| [ bildrechts = | ] | Inline | Text | ||
| [ absatz = | ] | Inline | Text | Text from |
|
| [ liste | ] | Block | Text, Block, Inline | ||
| [ numliste | ] | Block | Text, Block, Inline | ||
| [ tabelle = | ] | Block | class name | Text, Block, Inline | |
| [ ---- ] | Block | |||
| [ html | ] | html | |||
| [ include | ] | ||||
| [ ueber1 | ] | Block | Text, Inline | ||
| [ ueber2 | ] | Block | Text, Inline | ||
| [ ueber3 | ] | Block | Text, Inline | ||
| [ links | ] | Block | Text, Block, Inline | ||
| [ zentriert | ] | Block | Text, Block, Inline | ||
| [ block | ] | Block | Text, Block, Inline | ||
| [ rechts | ] | Block | Text, Block, Inline | ||
| [ fett | ] | Inline | Text, Inline | ||
| [ kursiv | ] | Inline | Text, Inline | ||
| [ unter | ] | Inline | Text, Inline | ||
| [ durch | ] | Inline | Text, Inline | ||
| [ fontsize = | ] | Inline | Size parameters | Text, Inline | |
| [ farbe = | ] | Inline | Color code | Text, Inline | |
Dansk
Deutsch
English
Español
Français
Hrvatski
Italiano
Nederlands
Polski
Português