Overview pages: Difference between revisions
From SemanticOrganization
No edit summary |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
| <pre>{{#semorg-forminput:group}}</pre> | | <pre>{{#semorg-forminput:group}}</pre> | ||
| {{#semorg-forminput:group}} | | {{#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 }} |