Overview pages: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
Line 24: Line 24:
Special cases for derivative features:
Special cases for derivative features:
<pre>{{#semorg-list:<parent-feature>
<pre>{{#semorg-list:<parent-feature>
   category:semorg-<feature>
   |category:semorg-<feature>
  |row template=<feature>
}}</pre>
}}</pre>


Line 38: Line 39:
| <pre>{{#semorg-list:person
| <pre>{{#semorg-list:person
   |category=semorg-person-user
   |category=semorg-person-user
  |row template=person-user
}}</pre>
}}</pre>
| {{#semorg-list:person
| {{#semorg-list:person
   |category=semorg-person-user
   |category=semorg-person-user
  |row template=person-user
}}
}}
|}
|}

Revision as of 12:02, 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>
  |row template=<feature>
}}

Example:

Markup Result
{{#semorg-list:projects}}
error: no fields for list defined…
{{#semorg-list:person
  |category=semorg-person-user
  |row template=person-user
}}