Overview pages: Difference between revisions
From SemanticOrganization
No edit summary |
|||
Line 21: | Line 21: | ||
Using <code><nowiki>{{#semorg-list:<feature>}}</nowiki></code>. | Using <code><nowiki>{{#semorg-list:<feature>}}</nowiki></code>. | ||
Special cases for derivative features: | |||
<pre>{{#semorg-list:<parent-feature> | |||
category:semorg-<feature> | |||
}}</pre> | |||
Example: | Example: | ||
Line 28: | Line 33: | ||
! Result | ! Result | ||
|- | |- | ||
| <pre>{{#semorg-list:person-user}}</pre> | | <pre>{{#semorg-list:projects}}</pre> | ||
| {{#semorg-list:person-user}} | | {{#semorg-list:projects}} | ||
|- | |||
| <pre>{{#semorg-list:person | |||
|category=semorg-person-user | |||
}}</pre> | |||
| {{#semorg-list:person | |||
|category=semorg-person-user | |||
}} | |||
|} | |} |
Revision as of 12:01, 16 May 2019
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> }}
Example:
Markup | Result | ||
---|---|---|---|
{{#semorg-list:projects}} |
error: no fields for list defined… | ||
{{#semorg-list:person |category=semorg-person-user }} |
Template:Semorg-person-rowTemplate:Semorg-person-rowTemplate:Semorg-person-row
|