Template:Certification: Difference between revisions
From Claremont MakerSpace
(Only allow editing of this page and including pages by admins) Tag: Reverted |
(Add show optional certification tool relations) |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#css:CertificatePrint.css}}{| class="wikitable no-print" style="float:right; clear:both;" | |||
! colspan="2" scope="col" | [[Name::{{ROOTPAGENAME}}]] | ! colspan="2" scope="col" | [[Name::{{ROOTPAGENAME}}]] | ||
|- | |- | ||
Line 12: | Line 12: | ||
|- | |- | ||
! scope="row" | Document/Printout | ! scope="row" | Document/Printout | ||
| | | [[Has Document::{{PAGENAME}}]] | ||
|- | |- | ||
! scope="row" | For Tools/Shops | {{#if: {{#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"> | ||
Line 46: | 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" | ||
}, | }, | ||
"version": { | "version": { |
Latest revision as of 16:45, 28 October 2022
Infobox and Semantic Mediawiki stuff for a Certification
Parameter | Description | Type | Status | |
---|---|---|---|---|
Prerequisites | prerequisites | What certification(s) are required prior to this one? | Page name | optional |
Version | version | no description | Line | required |
Approval Date | approvaldate | no description | Date | required |