Basic Principles: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
Line 9: Line 9:
  <nowiki>{{semorg-forminput|person-user}}
  <nowiki>{{semorg-forminput|person-user}}
   
   
{{#semorg-list|person-user}}</nowiki>
{{#semorg-list:person
  |category=semorg-person-user
  |row template=person-user
}}</nowiki>


==== Groups ====
==== Groups ====
Line 19: Line 22:
  <nowiki>{{semorg-forminput|group}}
  <nowiki>{{semorg-forminput|group}}
   
   
{{#semorg-list|group}}</nowiki>
{{#semorg-list:group
  |?semorg-group-host.semorg-person-name=host.name
}}</nowiki>


==== Meetings ====
==== Meetings ====
Line 29: Line 34:
  <nowiki>{{semorg-formlink|meeting}}
  <nowiki>{{semorg-formlink|meeting}}
   
   
{{#semorg-list|meeting}}</nowiki>
{{#semorg-list:meeting}}</nowiki>


=== Connecting Templates, Forms, Categories ===
=== Connecting Templates, Forms, Categories ===

Revision as of 05:53, 15 August 2018

Enabling Features

Users

To enable user pages add Users to Mediawiki:Tweeki-navbar-left.

Click on the new link in the navigation to create the page and add the following content:

{{semorg-forminput|person-user}}
 
{{#semorg-list:person
  |category=semorg-person-user
  |row template=person-user
}}

Groups

To enable groups add Groups to Mediawiki:Tweeki-navbar-left.

Click on the new link in the navigation to create the page and add the following content:

{{semorg-forminput|group}}
 
{{#semorg-list:group
  |?semorg-group-host.semorg-person-name=host.name
}}

Meetings

To enable meetings add Meetings to Mediawiki:Tweeki-navbar-left.

Click on the new link in the navigation to create the page and add the following content:

{{semorg-formlink|meeting}}
 
{{#semorg-list:meeting}}

Connecting Templates, Forms, Categories

  • the form defines the templates that should be created/edited with it:
    {{{for template|semorg-meeting}}} … {{{end template}}}
  • the template sets the corresponding category:
    [[Category:semorg-meeting]]
  • the category sets the form for the pages in the category:
    {{#default_form:semorg-meeting}}

Customization

Use system messages to alter the appearance of forms and templates, e.g.

Your custom form

Your custom template

Your custom category