Template:Certification: Difference between revisions

From Claremont MakerSpace
No edit summary
(Add Version and Approval Date)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="float:right; clear:both;"
<includeonly>{| class="wikitable" style="float:right; clear:both;"
! colspan="2" scope="col" | [[Name::{{ROOTPAGENAME}}]]
! colspan="2" scope="col" | [[Name::{{ROOTPAGENAME}}]]
|-
! scope="row" | Version
| [[Version::{{{version}}}
|-
! scope="row" | Approval Date
| [[Approval Date::{{{approvaldate}}}]]
|-
|-
! scope="row" | Prerequisites
! scope="row" | Prerequisites
Line 12: Line 18:
         [[Requires Certification::{{PAGENAME}}]]
         [[Requires Certification::{{PAGENAME}}]]
         |format=ul}}
         |format=ul}}
|}[[Category:Certification]]</includeonly><noinclude>
|}
[[Category:Certification]]
{{#definevar:version|{{{version}}}}}
{{#definevar:approvaldate|{{{approvaldate}}}}}
<span id="cert-data" "position: absolute; visibility: hidden;" data-name="{{PAGENAME}}" data-version="{{{version}}}" data-approvaldate="{{{approvaldate}}}"></span></includeonly><noinclude>
<templatedata>
<templatedata>
{
{
Line 28: Line 38:
"description": "The generated document with headers, footers, and sign-off form",
"description": "The generated document with headers, footers, and sign-off form",
"type": "wiki-file-name",
"type": "wiki-file-name",
"required": true
},
"version": {
"label": "Version",
"type": "line",
"required": true
},
"approvaldate": {
"label": "Approval Date",
"type": "date",
"required": true
"required": true
}
}

Revision as of 22:27, 24 July 2020

Infobox and Semantic Mediawiki stuff for a Certification

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Unknownoptional
Prerequisitesprerequisites

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

Page nameoptional
Document/Printoutdocument

The generated document with headers, footers, and sign-off form

Filerequired
Versionversion

no description

Linerequired
Approval Dateapprovaldate

no description

Daterequired