Template:Certification: Difference between revisions

From Claremont MakerSpace
No edit summary
(Add show optional certification tool relations)
 
(17 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|-
|-
! scope="row" | Document/Printout
! scope="row" | Document/Printout
| {{#set:Document=[[:File:{{{document|{{PAGENAME}}.pdf}}}]]}} [[Media:{{{document|{{PAGENAME}}.pdf}}}|Download]] <sup>[[:File:{{{document|{{PAGENAME}}.pdf}}}|(old versions)]]</sup>
| [[Has Document::{{PAGENAME}}]]
|-
|-
! scope="row" | For Tools/Shops
{{#if: {{#ask:[[Requires Certification::{{PAGENAME}}]]|format=ul}} |
| {{#ask:[[Requires Certification::{{PAGENAME}}]]|format=ul}}
! scope="row" {{!}} Required For Tools/Shops
{{!}} {{#ask:[[Requires Certification::{{PAGENAME}}]]|format=ul}}
}}
{{#if: {{#ask:[[Has Optional Certification::{{PAGENAME}}]]|format=ul}} |
! scope="row" {{!}} Optional For Tools/Shops
{{!}} {{#ask:[[Has Optional Certification::{{PAGENAME}}]]|format=ul}}
}}
|}[[Category:Certification]]{{#vardefine:version|{{{version}}}}}{{#vardefine:approvaldate|{{{approvaldate}}}}}<span id="cert-data" "position: absolute; visibility: hidden;" data-name="{{PAGENAME}}" data-version="{{{version}}}" data-approvaldate="{{{approvaldate|Draft/NOT APPROVED: DO NOT USE}}}"></span>
|}[[Category:Certification]]{{#vardefine:version|{{{version}}}}}{{#vardefine:approvaldate|{{{approvaldate}}}}}<span id="cert-data" "position: absolute; visibility: hidden;" data-name="{{PAGENAME}}" data-version="{{{version}}}" data-approvaldate="{{{approvaldate|Draft/NOT APPROVED: DO NOT USE}}}"></span>
{| class="print-only" style="line-height: 2em;"
{| class="print-only" style="line-height: 2em;"
Line 26: Line 32:
! Date:
! Date:
| style="width:20em;height:1em;border-bottom:1px dashed black;" |
| style="width:20em;height:1em;border-bottom:1px dashed black;" |
|-
! Version:
| {{{version}}} - {{{approvaldate|Draft/NOT APPROVED: DO NOT USE}}}
|}
|}
<div class="print-only">
<div class="print-only">
{{#if: {{{prerequisites|}}} | Prerequisite Certifications: {{{prerequisites|}}}}}
{{#if: {{{prerequisites|}}} | Prerequisite Certifications: {{{prerequisites|}}}}}


Certification for: {{#ask:[[Requires Certification::{{PAGENAME}}]]|?In Shop=|format=list|link=none}}
{{#if: {{#ask:[[Requires Certification::{{PAGENAME}}]]|format=ul}} |
Certification required for: {{#ask:[[Requires Certification::{{PAGENAME}}]]|?In Shop=|format=list|link=none}}
}}
{{#if: {{#ask:[[Has Optional Certification::{{PAGENAME}}]]|format=ul}} |
Certification optional for: {{#ask:[[Has Optional Certification::{{PAGENAME}}]]|?In Shop=|format=list|link=none}}
}}
</div>
</div>
<div class="print-warning">
<div class="print-warning">
DO NOT USE THIS PAGE AS A SIGN OFF SHEET
<big>'''DO NOT USE THIS PAGE AS A SIGN OFF SHEET'''</big>
 
Please print the document from the download link in the top right of the wiki page instead!
Please print the document from the download link in the top right of the wiki page instead!
</div>
</div>
Line 45: Line 60:
"description": "What certification(s) are required prior to this one?",
"description": "What certification(s) are required prior to this one?",
"type": "wiki-page-name"
"type": "wiki-page-name"
},
"document": {
"label": "Document/Printout",
"description": "The generated document with headers, footers, and sign-off form",
"type": "wiki-file-name",
"required": true
},
},
"version": {
"version": {

Latest revision as of 16:45, 28 October 2022

Infobox and Semantic Mediawiki stuff for a Certification

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Prerequisitesprerequisites

What certification(s) are required prior to this one?

Page nameoptional
Versionversion

no description

Linerequired
Approval Dateapprovaldate

no description

Daterequired