Basic Principles: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Enabling Features ===
=== Enabling Features ===


==== Users ====
Features can be enabled by simply creating an overview page containing a simple template call to <code><nowiki>{{semorg-</nowiki>''<feature>''<nowiki>-overview}}</nowiki></code>.


To enable user pages add <code>Users</code> to [[Mediawiki:Tweeki-navbar-left]].
To make this page easily accessible, you should add a link to the navigation or your main page.


Click on the new link in the navigation to create the page and add the following content:
==== Example: enabling Groups ====
 
<nowiki>{{semorg-person-user-overview}}</nowiki>
 
==== Groups ====


To enable groups add <code>Groups</code> to [[Mediawiki:Tweeki-navbar-left]].
If you want to enable groups add <code>Groups</code> to [[Mediawiki:Tweeki-navbar-left]].


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


  <nowiki>{{#semorg-forminput:group}}
  <nowiki>{{semorg-group-overview}}</nowiki>
{{#semorg-list:group}}</nowiki>
 
<!--
==== Meetings ====
 
To enable meetings add <code>Meetings</code> to [[Mediawiki:Tweeki-navbar-left]].
 
Click on the new link in the navigation to create the page and add the following content:
 
<nowiki>{{#semorg-formlink:meeting}}
 
=== {{int:semorg-list-meeting-current-heading}} ===
{{#semorg-list:meeting
  |query=[[Semorg-meeting-date::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
}}
 
=== {{int:semorg-list-meeting-past-heading}} ===
 
{{#semorg-list:meeting
  |query=[[Semorg-meeting-date::<{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]
  |order=desc
  |default={{int:semorg-list-meeting-default-past}}
}}</nowiki>
-->
 
==== GDPR Processings ====
 
To enable meetings add <code>GDPR Processings</code> to [[Mediawiki:Tweeki-navbar-left]].
 
Click on the new link in the navigation to create the page and add the following content:
 
<nowiki>{{semorg-breadcrumbs|active={{FULLPAGENAME}}}}
__TOC__
 
<h3>{{int:semorg-list-gdpr-processing-overview-heading}}</h3>
 
{{#semorg-formlink:gdpr-processing}}
 
{{#semorg-list:gdpr-processing}}
 
<h3>{{int:semorg-list-gdpr-processing-details-heading}}</h3>
 
{{#ask:[[category:semorg-gdpr-processing]]
  |mainlabel=page
  |?semorg-gdpr-processing-name=name
  |?semorg-gdpr-processing-purpose=purpose
  |?semorg-gdpr-processing-legal-basis=legal-basis
  |?semorg-gdpr-processing-application=application
  |?semorg-gdpr-processing-department=department
  |?semorg-gdpr-processing-responsible=responsible
  |?semorg-gdpr-processing-documents=documents
  |?semorg-gdpr-processing-measures=measures
  |?semorg-gdpr-processing-access=access
  |named args=yes
  |link=none
  |format=template
  |template=semorg-gdpr-processing-details
}}
</nowiki>


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

Latest revision as of 16:17, 2 March 2021

Enabling Features

Features can be enabled by simply creating an overview page containing a simple template call to {{semorg-<feature>-overview}}.

To make this page easily accessible, you should add a link to the navigation or your main page.

Example: enabling Groups

If you want 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-group-overview}}

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