Difference between revisions of "Template:Tutorial Syllabus"

From HPC Wiki
Jump to navigation Jump to search
m (Fix optional contact field)
m (Add <nowiki /> to suppress linebreak)
 
(One intermediate revision by the same user not shown)
Line 40: Line 40:
 
| style="font-weight: bold;" | Provider:
 
| style="font-weight: bold;" | Provider:
 
| {{#if: {{{provider|}}} | {{{provider}}} | Unknown }}  
 
| {{#if: {{{provider|}}} | {{{provider}}} | Unknown }}  
{{#if: {{{contact|}}} |
+
{{#if: {{{contact|}}} | <nowiki />
 
   {{!}}-  
 
   {{!}}-  
 
   {{!}} style="font-weight: bold;" {{!}} Contact:
 
   {{!}} style="font-weight: bold;" {{!}} Contact:
 
   {{!}} [mailto:{{{contact}}} {{{contact}}}]
 
   {{!}} [mailto:{{{contact}}} {{{contact}}}]
 
}}
 
}}
 
 
|-  
 
|-  
 
| style="font-weight: bold;" | Type:
 
| style="font-weight: bold;" | Type:

Latest revision as of 17:06, 21 December 2020

This template can be used to typeset the specific syllabus of an online tutorial including some meta information.

As the syllabus should be on the page of every part, one should create a specific template with the details of the tutorial as shown below.

 {{Tutorial Syllabus
 | title = Introduction to HPC
 | provider = [https://institute.org/ Some Institution]
 | contact = contact@provider.org
 | type = Multi-part video
 | topic = Platform
 | license = {{License_CCBYSA}}
 | intro = Tutorial
 | part1 = [[Tutorial/Part1 | Part 1 ]]
 | part2 = [[Tutorial/Part2 | Part 2 ]]
 }}

Then, the specific template can be included on each part of the tutorial, without having to repeat the arguments on each part.


Tutorial
Title: Introduction to HPC
Provider: Some Institution

Contact: contact@provider.org
Type: Multi-part video
Topic Area: Platform
License: CC-BY-SA
Syllabus

1. Part 1
2. Part 2