Template:Post a review
From Odp
(Difference between revisions)
Current revision (14:35, 25 February 2010) (view source) |
|||
(13 intermediate revisions not shown.) | |||
Line 6: | Line 6: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
- | </noinclude><includeonly> | + | </noinclude><includeonly>{{#if:{{#urlget:pagename|}}| |
- | {{#if:{{#urlget:pagename|}}| | + | |
Please wait for redirect... | Please wait for redirect... | ||
{{#form:method=get|id=postnewrequest| | {{#form:method=get|id=postnewrequest| | ||
- | {{#input:type=hidden|name= | + | {{#input:type=hidden|name=ODP_Proposal_Open_Review_Template[SubmittedBy]|value={{CURRENTUSER}}|}} |
- | {{#input:type=hidden|name= | + | {{#input:type=hidden|name=ODP_Proposal_Open_Review_Template[CreationDate]|value={{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} }} |
- | {{#input:type=hidden|name= | + | {{#input:type=hidden|name=ODP_Proposal_Open_Review_Template[ContentOPUnderReview]|value={{#urlget:pagename|}} }} |
- | {{#input:type=hidden|name= | + | {{#input:type=hidden|name=ODP_Proposal_Open_Review_Template[RevisionID]|value={{#revisionid: Submissions:{{#urlget:pagename|0}} }} }} |
- | {{#input:type=hidden|name=title|value=Special:AddData/ | + | {{#input:type=hidden|name=title|value=Special:AddData/ODP_Proposal_Open_Review_Form }} |
{{#input:type=hidden|name=contentop|value={{#urlget:pagename|}} }} | {{#input:type=hidden|name=contentop|value={{#urlget:pagename|}} }} | ||
}} | }} | ||
{{#submit:formid=postnewrequest}} | {{#submit:formid=postnewrequest}} | ||
- | + | }}{{#if:{{#urlget:about|}}| | |
- | {{#form:method=get| | + | Please wait for redirect... |
+ | {{#form:method=get|id=makeQCreview| | ||
+ | {{#input:type=hidden|name=about|value=Submissions:{{#urlget:about|}}|}} | ||
+ | {{#input:type=hidden|name=title|value=Special:MakeReview|}} | ||
+ | }} | ||
+ | {{#submit:formid=makeQCreview}} | ||
+ | }}{{#form:method=get| | ||
{{#input:type=hidden|name=title|value={{SUBJECTPAGENAME}} }} | {{#input:type=hidden|name=title|value={{SUBJECTPAGENAME}} }} | ||
- | {{#input:type=select|name=pagename|{{#replace: {{#replace:{{#ask:[[Category: | + | {{#input:type=select|name=pagename|{{#replace: {{#replace:{{#ask:[[Category:OntologyDesignPattern]][[Submissions:+]]|format=template|template=List item|link=none}} |\[\[SMW::o[nf]{1,2}\]\]|}} | Submissions: |}} |
}} | }} | ||
- | {{#input:type=submit|value=post review|}} | + | {{#input:type=submit|value=post open review|}} |
- | + | ||
- | + | ||
}} | }} | ||
- | </includeonly> | + | |
+ | If you are member of the [[QualityCommittee|Quality Committee]] you can{{#form:method=get| | ||
+ | {{#input:type=hidden|name=title|value={{SUBJECTPAGENAME}}}} | ||
+ | {{#input:type=select|name=about|{{#replace: {{#replace:{{#ask:[[Category:OntologyDesignPattern]][[Submissions:+]]|format=template|template=List item|link=none}} |\[\[SMW::o[nf]{1,2}\]\]|}} | Submissions: |}} | ||
+ | }} | ||
+ | {{#input:type=submit|value=post QC review|}} | ||
+ | }} | ||
+ | |||
+ | ===Your pending reviews=== | ||
+ | Pending reviews for {{#username:|}}: {{#assignedlist:format=list|user=CURRENT|default=none.|pending=1|}} | ||
+ | </includeonly><noinclude> | ||
+ | |||
+ | {{#form:method=get| | ||
+ | {{#input:type=hidden|name=title|value={{SUBJECTPAGENAME}} }} | ||
+ | {{#input:type=select|name=pagename|{{#replace: {{#replace:{{#ask:[[Category:OntologyDesignPattern]][[Submissions:+]]|format=template|template=List item|link=none}} |\[\[SMW::o[nf]{1,2}\]\]|}} | Submissions: |}} | ||
+ | }} | ||
+ | {{#input:type=submit|value=post open review|}} | ||
+ | }} | ||
+ | |||
+ | If you are member of the [[QualityCommittee|Quality Committee]] you can{{#form:method=get| | ||
+ | {{#input:type=hidden|name=title|value={{SUBJECTPAGENAME}}}} | ||
+ | {{#input:type=select|name=about|{{#replace: {{#replace:{{#ask:[[Category:OntologyDesignPattern]][[Submissions:+]]|format=template|template=List item|link=none}} |\[\[SMW::o[nf]{1,2}\]\]|}} | Submissions: |}} | ||
+ | }} | ||
+ | {{#input:type=submit|value=post QC review|}} | ||
+ | }} | ||
+ | <!-- TEST | ||
+ | {{#replace: {{#replace:{{#ask:[[Category:OntologyDesignPattern]][[Submissions:+]]|format=template|template=List item|link=none}} |\[\[SMW::o[nf]{1,2}\]\]|}} | Submissions: |}}--> | ||
+ | </noinclude> |
Current revision
This is the 'Post a review' template. It should be called in the following format:
{{Post a review}}
Edit the page to see the template text.
If you are member of the Quality Committee you can