Overview pages: Difference between revisions
From SemanticOrganization
(Created page with "=== Building Blocks === ==== Creating new instances ==== If the page names are automatically created it's <code><nowiki>{{#semorg-forminput:<feature>}}</nowiki></code>") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
==== Creating new instances ==== | ==== Creating new instances ==== | ||
If the page names are automatically created it's <code><nowiki>{{#semorg-forminput:<feature>}}</nowiki></code> | If the page names are automatically created it's <code><nowiki>{{#semorg-formlink:<feature>}}</nowiki></code>, otherwise it's <code><nowiki>{{#semorg-forminput:<feature>}}</nowiki></code>. | ||
Examples: | |||
{| class="table table-bordered table-sm" | |||
! Markup | |||
! Result | |||
|- | |||
| <pre>{{#semorg-formlink:meeting-group}}</pre> | |||
| {{#semorg-formlink:meeting-group}} | |||
|- | |||
| <pre>{{#semorg-forminput:group}}</pre> | |||
| {{#semorg-forminput:group}} | |||
|} | |||
==== Listing existing instances ==== | |||
Using <code><nowiki>{{#semorg-list:<feature>}}</nowiki></code>. | |||
Special cases for derivative features: | |||
<pre>{{#semorg-list:<parent-feature> | |||
|category=semorg-<feature> | |||
|row template=<feature> | |||
}}</pre> | |||
Example: | |||
{| class="table table-bordered table-sm" | |||
! Markup | |||
! Result | |||
|- | |||
| <pre>{{#semorg-list:project}}</pre> | |||
| {{#semorg-list:project}} | |||
|- | |||
| <pre>{{#semorg-list:person | |||
|category=semorg-person-user | |||
|row template=person-user | |||
}}</pre> | |||
| {{#semorg-list:person | |||
|category=semorg-person-user | |||
|row template=person-user | |||
}} | |||
|} |
Latest revision as of 08:12, 11 March 2021
Building Blocks
Creating new instances
If the page names are automatically created it's {{#semorg-formlink:<feature>}}
, otherwise it's {{#semorg-forminput:<feature>}}
.
Examples:
Markup | Result |
---|---|
{{#semorg-formlink:meeting-group}} |
Create Meeting |
{{#semorg-forminput:group}} |
Listing existing instances
Using {{#semorg-list:<feature>}}
.
Special cases for derivative features:
{{#semorg-list:<parent-feature> |category=semorg-<feature> |row template=<feature> }}
Example:
Markup | Result | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{#semorg-list:project}} |
| |||||||||||||||||||||||||||||||||||
{{#semorg-list:person |category=semorg-person-user |row template=person-user }} |