Line 11: Line 11:
 
                       ''featuring this course (e.g., 2-IKV)''
 
                       ''featuring this course (e.g., 2-IKV)''
 
  }}
 
  }}
 
+
</noinclude><includeonly>{{CourseCategory|{{{code}}} {{{otherprograms|}}}}}</includeonly>
</noinclude><includeonly>{{CourseCategory|{{{code}}} {{{otherprograms|}}}}}</includeonly>{{Heading|title={{{title}}} <small>{{{code}}}</small>{{{title}}} <small style="white-space:nowrap;">{{{code}}}</small>}}
+
{{Heading
 +
  | title={{{title}}} <small>{{{code}}}</small>
 +
  |  {{{title}}} <small style{{=}}"white-space:nowrap;">{{{code}}}</small>
 +
}}

Revision as of 22:20, 22 September 2017

Template:CourseHeader

Generates the heading, title, and categories of a course page.

Synopsis

{{CourseHeader
    | code = Course code (e.g., 1-AIN-304)
    | title = Full course title (e.g., Úvod do umelej inteligencie)
    | otherprograms = (optional) codes of other study programs
                      featuring this course (e.g., 2-IKV)
}}

{{{title}}} {{{code}}}