Processes: Difference between revisions
From SemanticOrganization
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Process step definition === | |||
Add hidden fields to your form: <code>{{{field|MYSTEP|hidden}}}</code> | 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 calls to <code><nowiki>{{semorg-process-step}}</nowiki></code> to the template (it must have the same name as the form). Use the following parameters: | Add calls to <code><nowiki>{{semorg-process-step}}</nowiki></code> to the template (it must have the same name as the form). Use the following parameters: | ||
Line 9: | Line 11: | ||
Create messages: | Create messages: | ||
* <code>MediaWiki:MYSTEP-process-step-text</code> | * <code>MediaWiki:MYSTEP-process-step-title</code>: title for the process step | ||
* <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 stepMediaWiki: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.