created: 20230817233039500 creator: Octt modified: 20231105111737387 modifier: Octt tags: Markup WIP title: BBCode <<^wikipediaframe BBCode>> * [[BBCode tags reference|https://www.bbcode.org/reference.php]] !!! ''Creation'' * Simple tag, without arguments: `[example]{TEXT}[/example]` * Medium tag, with a standard argument: `[example={SIMPLETEXT}]{TEXT}[/example]` * Complex tag, with (multiple) named arguments: `[example first={SIMPLETEXT} second={NUMBER}]{TEXT}[/example]` !!!! ''Advanced'' * Specifying multiple fields of the same type is done by prefixing the type with a number (e.g. `{TEXT1}`). * Prefixing a field with `?` or `;optional` makes it optional on the user input side. * To make optional fields actually useful, and not jeopardizing safety of functionality of the generated HTML, [[XSLT]] can be used (version 1.0?).