Template:Get certificate/doc
Use this template to insert a button that generates and downloads a certificate.
Examples
[edit source]Minimal
[edit source]Wikitext:
{{Get certificate
| title = Photovoltaic Electrician
| signature1 = <strong>Joe Doe</strong><br>President<br>Solar Energy Promotion Society
}}
Output:
Full
[edit source]Wikitext:
{{Get certificate
| button = Get your certificate!
| logo1 = GSTC logo small.png
| logo2 = Medical Makers Logo.png
| title = Paediatric Colostomy Training Module
| skill = performing a safe colostomy in a newborn
| skills = Preparation of a newborn for surgery<br>Surgical decision-making in infants<br>Gentle tissue handling skills<br>Postoperative care of neonates
| signature1 = <strong>Emmanuel A. Ameh, MBBS, FWACS, FACS</strong><br>Chief Consultant Paediatric Surgeon<br>Team Lead, Colostomy in Newborns Project
| signature2 = <strong>John Sekabira, MBChB, MMed (Surgery), MMed</strong><br>(Pediatric Surgery), FCS (ECSA), FAAP<br>Chief Consultant Paediatric Surgeon<br>Chair, Paediatric Surgical Foundation
}}
Output:
Template data
[edit source]Use this template to insert a button that generates and downloads a certificate.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Button | button | Text of the button to download the certificate
| String | optional |
| Title | title | Title of the course
| String | required |
| Logo 1 | logo1 | Logo on the upper-left corner of the certificate
| File | suggested |
| Logo 2 | logo2 | Logo on the upper-right corner of the certificate
| File | optional |
| Skill | skill | Main skill acquired
| String | suggested |
| Skills | skills | Other skills acquired (simple HTML tags allowed)
| String | optional |
| Signature 1 | signature1 | First signature on the certificate (simple HTML tags allowed)
| String | required |
| Signature 2 | signature2 | First signature on the certificate (simple HTML tags allowed)
| String | optional |
See also
[edit source]- MediaWiki:Gadget-Certificate.js - JavaScript that implements this template