Processes: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
Line 1: Line 1:
Create an attribute for the process step (datatype: date): <code>MYSTEP-process-step</code>
=== Process step definition ===
 
Create an attribute for the process step with datatype date: <code>MYSTEP-process-step</code>


Add hidden fields to your form: <code><nowiki>{{{field|MYSTEP|hidden}}}</nowiki></code>
Add hidden fields to your form: <code><nowiki>{{{field|MYSTEP|hidden}}}</nowiki></code>
Line 9: Line 11:


Create messages:
Create messages:
* <code>MediaWiki:MYSTEP-process-step-title</code>: Titel des Prozessschritts
* <code>MediaWiki:MYSTEP-process-step-title</code>: title for the process step
* <code>MediaWiki:MYSTEP-process-step-text</code>: Erklärtext für den Prozessschritt
* <code>MediaWiki:MYSTEP-process-step-text</code>: description for the process step
 
=== Process progress ===
 
Add <code><nowiki>{{semorg-process-progress}}</nowiki></code> to your template. If you use it elsewhere add an unnamed parameter with the name of the page that includes the template.

Latest revision as of 19:35, 9 May 2018

Process step definition

Create an attribute for the process step with datatype date: MYSTEP-process-step

Add hidden fields to your form: {{{field|MYSTEP|hidden}}}

Add calls to {{semorg-process-step}} to the template (it must have the same name as the form). Use the following parameters:

  • step=STEP
  • form=FORM
  • value={{{MYSTEP|}}}

Create messages:

  • MediaWiki:MYSTEP-process-step-title: title for the process step
  • MediaWiki:MYSTEP-process-step-text: description for the process step

Process progress

Add {{semorg-process-progress}} to your template. If you use it elsewhere add an unnamed parameter with the name of the page that includes the template.