Difference between revisions of "Template:Infobox Sandbox"

From HPC Wiki
Jump to navigation Jump to search
m (Try wikitags)
m (Testing more <includeonly> tags)
Line 55: Line 55:
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 2. {{{part2}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 2. {{{part2}}}
}}
+
}}</includeonly>
{{#if: {{{part3|}}} |
+
<includeonly>{{#if: {{{part3|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 3. {{{part3}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 3. {{{part3}}}
}}
+
}}</includeonly>
{{#if: {{{part4|}}} |
+
<includeonly>{{#if: {{{part4|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 4. {{{part4}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 4. {{{part4}}}
}}
+
}}</includeonly>
{{#if: {{{part5|}}} |
+
<includeonly>{{#if: {{{part5|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 5. {{{part5}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 5. {{{part5}}}
}}
+
}}</includeonly>
{{#if: {{{part6|}}} |
+
<includeonly>{{#if: {{{part6|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 6. {{{part6}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 6. {{{part6}}}
}}
+
}}</includeonly>
{{#if: {{{part7|}}} |
+
<includeonly>{{#if: {{{part7|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 7. {{{part7}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 7. {{{part7}}}
}}
+
}}</includeonly>
{{#if: {{{part8|}}} |
+
<includeonly>{{#if: {{{part8|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 8. {{{part8}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 8. {{{part8}}}
}}
+
}}</includeonly>
{{#if: {{{part9|}}} |
+
<includeonly>{{#if: {{{part9|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 9. {{{part9}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 9. {{{part9}}}
}}
+
}}</includeonly>
{{#if: {{{part10|}}} |
+
<includeonly>{{#if: {{{part10|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 10. {{{part10}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 10. {{{part10}}}
}}
+
}}</includeonly>
{{#if: {{{part11|}}} |
+
<includeonly>{{#if: {{{part11|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 11. {{{part11}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 11. {{{part11}}}
}}
+
}}</includeonly>
{{#if: {{{part12|}}} |
+
<includeonly>{{#if: {{{part12|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 12. {{{part12}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 12. {{{part12}}}
}}
+
}}</includeonly>
{{#if: {{{part13|}}} |
+
<includeonly>{{#if: {{{part13|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 13. {{{part13}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 13. {{{part13}}}
}}
+
}}</includeonly>
{{#if: {{{part14|}}} |
+
<includeonly>{{#if: {{{part14|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 14. {{{part14}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 14. {{{part14}}}
}}
+
}}</includeonly>
{{#if: {{{part15|}}} |
+
<includeonly>{{#if: {{{part15|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 15. {{{part15}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 15. {{{part15}}}
}}
+
}}</includeonly>
{{#if: {{{part16|}}} |
+
<includeonly>{{#if: {{{part16|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 16. {{{part16}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 16. {{{part16}}}
}}
+
}}</includeonly>
{{#if: {{{part17|}}} |
+
<includeonly>{{#if: {{{part17|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 17. {{{part17}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 17. {{{part17}}}
}}
+
}}</includeonly>
{{#if: {{{part18|}}} |
+
<includeonly>{{#if: {{{part18|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 18. {{{part18}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 18. {{{part18}}}
}}
+
}}</includeonly>
{{#if: {{{part19|}}} |
+
<includeonly>{{#if: {{{part19|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 19. {{{part19}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 19. {{{part19}}}
}}
+
}}</includeonly>
{{#if: {{{part20|}}} |
+
<includeonly>{{#if: {{{part20|}}} |
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 20. {{{part20}}}
 
{{!}} colspan="2" style="text-align:left; font-weight: bold;" {{!}} 20. {{{part20}}}

Revision as of 11:18, 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}}
 | 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
Type: Multi-part video
Topic Area: Platform
License: CC-BY-SA
Syllabus
1. Part 1
2. Part 2