Difference between revisions of "Template:Tutorial Syllabus"

From HPC Wiki
Jump to navigation Jump to search
m (Use wikipedia's approach to avoid line breaks)
(Add optional contact field)
Line 7: Line 7:
 
  | title = Introduction to HPC
 
  | title = Introduction to HPC
 
  | provider = [https://institute.org/ Some Institution]
 
  | provider = [https://institute.org/ Some Institution]
 +
| contact = contact@provider.org
 
  | type = Multi-part video
 
  | type = Multi-part video
 
  | topic = Platform
 
  | topic = Platform
Line 20: Line 21:
 
| title = Introduction to HPC
 
| title = Introduction to HPC
 
| provider = [https://institute.org/ Some Institution]
 
| provider = [https://institute.org/ Some Institution]
 +
| contact = contact@provider.org
 
| type = Multi-part video
 
| type = Multi-part video
 
| topic = Platform
 
| topic = Platform
Line 38: Line 40:
 
| style="font-weight: bold;" | Provider:
 
| style="font-weight: bold;" | Provider:
 
| {{#if: {{{provider|}}} | {{{provider}}} | Unknown }}  
 
| {{#if: {{{provider|}}} | {{{provider}}} | Unknown }}  
 +
{{#if {{{contact|}}} |
 +
  {{!}}-
 +
  {{!}} style="font-weight: bold;" {{!}} Contact: {{!}} [[mailto:{{{contact}}} {{contact}}]] }}
 +
}}
 
|-  
 
|-  
 
| style="font-weight: bold;" | Type:
 
| style="font-weight: bold;" | Type:

Revision as of 16:18, 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

{{#if contact@provider.org |

Contact: | [Template:Contact] }}

}}

Type: Multi-part video
Topic Area: Platform
License: CC-BY-SA
Syllabus

1. Part 1
2. Part 2