Processes: Difference between revisions
From SemanticOrganization
(Created page with "Create an attribute for the process step (datatype: date): <code>semorg-MYSTEP-process-step</code> Add hidden fields to your form: <code>{{{field|MYSTEP|input type=hidden}}}<...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Process step definition === | |||
Create an attribute for the process step with datatype date: <code>MYSTEP-process-step</code> | |||
Add calls to <code><nowiki>{{semorg-process-step}}</nowiki></code> to | 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: | |||
* <code>step=STEP</code> | * <code>step=STEP</code> | ||
* <code>form=FORM</code> | * <code>form=FORM</code> | ||
* <code><nowiki>value={{{MYSTEP|}}}</nowiki></code> | * <code><nowiki>value={{{MYSTEP|}}}</nowiki></code> | ||
Create messages: | |||
* <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.