Difference between revisions of "Template:Tutorial Syllabus"

From HPC Wiki
Jump to navigation Jump to search
m (Add parameter for main_page)
m (Tweak and rename 'main_page' to 'intro')
Line 10: Line 10:
 
  | topic = Platform
 
  | topic = Platform
 
  | license = {{License_CCBYSA}}
 
  | license = {{License_CCBYSA}}
  | main_page = [[Tutorial | Main Page ]]
+
  | intro = Tutorial
 
  | part1 = [[Tutorial/Part1 | Part 1 ]]
 
  | part1 = [[Tutorial/Part1 | Part 1 ]]
 
  | part2 = [[Tutorial/Part2 | Part 2 ]]
 
  | part2 = [[Tutorial/Part2 | Part 2 ]]
Line 23: Line 23:
 
| topic = Platform
 
| topic = Platform
 
| license = {{License_CCBYSA}}
 
| license = {{License_CCBYSA}}
 +
| intro = Tutorial
 
| part1 = [[Tutorial/Part1 | Part 1 ]]
 
| part1 = [[Tutorial/Part1 | Part 1 ]]
 
| part2 = [[Tutorial/Part2 | Part 2 ]]
 
| part2 = [[Tutorial/Part2 | Part 2 ]]
Line 33: Line 34:
 
|-  
 
|-  
 
| style="font-weight: bold;" | Title:
 
| style="font-weight: bold;" | Title:
| {{#if: {{{title|}}} | {{#if: {{{main_page|}}} | [{{{main_page}}} {{{title}}}] | {{{title}}} }} | Unknown }}  
+
| {{#if: {{{title|}}} | {{#if: {{{intro|}}} | [[{{{intro}}} {{{title}}}]] | {{{title}}} }} | Unknown }}  
 
|-  
 
|-  
 
| style="font-weight: bold;" | Provider:
 
| style="font-weight: bold;" | Provider:

Revision as of 07:43, 19 November 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]
 | 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: Tutorial Introduction to HPC
Provider: Some Institution
Type: Multi-part video
Topic Area: Platform
License: CC-BY-SA
Syllabus
1. Part 1
2. Part 2