Line 2: Line 2:
 
= {{{title}}} <small style="white-space:nowrap;">{{{code}}}</small> =
 
= {{{title}}} <small style="white-space:nowrap;">{{{code}}}</small> =
 
<noinclude>
 
<noinclude>
== Template:CourseHeader ==
+
= Template:CourseHeader =
 +
== Synopsis ==
 
  <nowiki>{{</nowiki>CourseHeader
 
  <nowiki>{{</nowiki>CourseHeader
 +
    | code = ''Course code (e.g., 1-AIN-304)''
 
     | title = ''Full course title (e.g., Úvod do umelej inteligencie)''
 
     | title = ''Full course title (e.g., Úvod do umelej inteligencie)''
    | code = ''Course code (e.g., 1-AIN-304/15)''
 
 
     | otherprograms = ''(optional) codes of other study programs''
 
     | otherprograms = ''(optional) codes of other study programs''
 
                       ''featuring this course (e.g., 2-IKV)''
 
                       ''featuring this course (e.g., 2-IKV)''
Line 11: Line 12:
  
 
Generates the heading, title, and categories of a course page.
 
Generates the heading, title, and categories of a course page.
 +
 +
== Examples ==
 +
 +
{|
 +
|-
 +
| <code><nowiki>{{CourseHeader | code = 1-AIN-304 | title = Úvod do umelej inteligencie | otherprograms = 2-IKV }}</nowiki></code>
 +
| {{CourseHeader | code = 1-AIN-304 | title = Úvod do umelej inteligencie | otherprograms = 2-IKV }}
 +
|-
 +
| <code><nowiki>{{CourseHeader | code = 1-AIN-304 | title = Úvod do umelej inteligencie | otherprograms = 2-IKV }}</nowiki></code>
 +
| {{CourseHeader | code = 1-AIN-221 | title = Databázy (1) }}
 +
|}

Revision as of 15:13, 7 September 2017

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

Template:CourseHeader

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)
}}

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

Examples

{{CourseHeader | code = 1-AIN-304 | title = Úvod do umelej inteligencie | otherprograms = 2-IKV }}

Úvod do umelej inteligencie 1-AIN-304

{{CourseHeader | code = 1-AIN-304 | title = Úvod do umelej inteligencie | otherprograms = 2-IKV }} Warning: Display title "Databázy (1) <small>1-AIN-221</small>" overrides earlier display title "Úvod do umelej inteligencie <small>1-AIN-304</small>".

Databázy (1) 1-AIN-221