Overview pages: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
(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}}
TitleProject StartProject EndTeam Members
Exciting Project
Last Update
24/06/17 25/07/16
Inactive Project
Last Update
Test
closed since 22/04/21
Last Update
Admin, 4 years ago:
and this happened lately
19/07/17 19/11/14 Johnny, Jane
Test Project
closed
Last Update
Admin, 4 years ago:
update!
18/10/01 18/11/30 Johnny, Jane
Testing numbered projects
Last Update
Admin, 4 years ago:
numbered project update
Third Project
Last Update
Admin, 4 years ago:
shoobidoo
20/12/02 20/12/29
overdue
{{#semorg-list:person
  |category=semorg-person-user
  |row template=person-user
}}