Template:Template Main Process: Difference between revisions
From Aeroraft
Jump to navigationJump to search
(Created page with "<noinclude> {{#template_params:}} </noinclude><includeonly>{| class="wikitable" |- ! |{{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}} |} </includeonly>") |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{# | {| class="wikitable" | ||
</noinclude><includeonly>{| class="wikitable" | ! Approval Status | ||
| [[Has approval status::{{#if:{{{ApprovalStatus|}}}|{{{ApprovalStatus}}}|draft}}]] | |||
|} | |||
{{#set: | |||
Has approval status=draft | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"Scope of Validity": { | |||
"aliases": [ | |||
"Global", | |||
"Local" | |||
], | |||
"type": "content", | |||
"autovalue": "Global" | |||
}, | |||
"Title": { | |||
"type": "wiki-page-name" | |||
}, | |||
"Document Type": { | |||
"aliases": [ | |||
"Has document type" | |||
], | |||
"type": "string", | |||
"autovalue": "Main Process" | |||
}, | |||
"Approval Status": { | |||
"aliases": [ | |||
"Has approval status" | |||
], | |||
"type": "string", | |||
"autovalue": "draft" | |||
}, | |||
"Version": { | |||
"type": "string", | |||
"autovalue": "0" | |||
}, | |||
"Due Date": { | |||
"type": "string" | |||
}, | |||
"Created On": { | |||
"type": "string", | |||
"autovalue": "{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}" | |||
}, | |||
"Approval On": { | |||
"type": "string", | |||
"autovalue": "{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}" | |||
}, | |||
"Validated On": { | |||
"type": "string", | |||
"autovalue": "{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}" | |||
}, | |||
"editor": { | |||
"aliases": [ | |||
"Has editor" | |||
], | |||
"label": "Author", | |||
"type": "wiki-user-name", | |||
"autovalue": "{{CURRENTUSER}}" | |||
}, | |||
"reviewer": { | |||
"label": "Process Owner", | |||
"type": "wiki-user-name" | |||
}, | |||
"approver": { | |||
"label": "Quality Manager", | |||
"type": "wiki-user-name" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"Scope of Validity", | |||
"Title", | |||
"Version", | |||
"editor", | |||
"reviewer", | |||
"approver", | |||
"Created On", | |||
"Validated On", | |||
"Approval On", | |||
"Document Type", | |||
"Approval Status", | |||
"Due Date" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude><includeonly>{| class="wikitable"style="width: 100%; text-align: center;" | |||
! Scope of Validity !! Title !! Version | |||
|- | |||
| {{{Scope of Validity|Global}}} | |||
|| {{PAGENAME}} | |||
|| 0 | |||
|- | |||
! Author !! Process Owner !! Quality Manager | |||
|- | |||
| {{REVISIONUSER}} | |||
|| {{{reviewer|}}} | |||
|| {{{approver|}}} | |||
|- | |||
! Created on !! Validated on !! Approval on | |||
|- | |||
| {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} | |||
|| {{{Validated On|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}} | |||
|| {{{Approval On|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}} | |||
|- | |||
! Document Type !! Approval Status !! Due Date | |||
|- | |- | ||
| {{{Document Type|Main Process}}} | |||
|{{# | || {{{Approval Status|draft}}} | ||
|| {{#time:{{{Approval On|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}}|+2 years}} | |||
|} | |} | ||
---- | |||
{{#set:Has Scope of Validity={{{Scope of Validity|Global}}}}} | |||
{{#set:Has Title={{PAGENAME}}}} | |||
{{#set:Has version=0}} | |||
{{#set:Has editor=User:{{REVISIONUSER}}}} | |||
{{#if:{{{reviewer|}}}|{{#set:Has process owner=User:{{{reviewer}}}}}}} | |||
{{#if:{{{approver|}}}|{{#set:Has approver=User:{{{approver}}}}}}} | |||
{{#set:Has edited on={{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}} | |||
{{#set:Has validated on={{{Validated On|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}}}} | |||
{{#set:Has approval on={{{Approval On|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}}}} | |||
{{#set:Has document type={{{Document Type|Documented Information}}}}} | |||
{{#set:Has approval status={{{Approval Status|draft}}}}} | |||
{{#set:Has due date={{#time:{{{Approval On|{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}}}}}}}} | |||
</includeonly> | </includeonly> | ||
[[Category:Main Process]] | |||
Latest revision as of 16:08, 3 February 2025
| Approval Status | draft |
|---|
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Scope of Validity | Scope of Validity Global Local | no description
| Content | optional |
| Title | Title | no description | Page name | optional |
| Version | Version | no description
| String | optional |
| Author | editor Has editor | no description
| User | optional |
| Process Owner | reviewer | no description | User | optional |
| Quality Manager | approver | no description | User | optional |
| Created On | Created On | no description
| String | optional |
| Validated On | Validated On | no description
| String | optional |
| Approval On | Approval On | no description
| String | optional |
| Document Type | Document Type Has document type | no description
| String | optional |
| Approval Status | Approval Status Has approval status | no description
| String | optional |
| Due Date | Due Date | no description | String | optional |