m (Kluka moved page Šablóna:CourseHeader/sk to Šablóna:CourseHeader: This template is language agnostic)
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:{{{title}}} <small>{{{code}}}</small>}}{{CourseCategory|{{{code}}} {{{otherprograms|}}}}}</includeonly>
 
= {{{title}}} <small style="white-space:nowrap;">{{{code}}}</small> =
 
 
<noinclude>
 
<noinclude>
 
= Template:CourseHeader =
 
= Template:CourseHeader =
 +
 +
Generates the heading, title, and categories of a course page.
 +
 
== Synopsis ==
 
== Synopsis ==
 
  <nowiki>{{</nowiki>CourseHeader
 
  <nowiki>{{</nowiki>CourseHeader
Line 11: Line 12:
 
  }}
 
  }}
  
Generates the heading, title, and categories of a course page.
+
</noinclude>
 
+
<includeonly>{{DISPLAYTITLE:{{{title}}} <small>{{{code}}}</small>}}{{CourseCategory|{{{code}}} {{{otherprograms|}}}}}</includeonly>
== Examples ==
+
= {{{title}}} <small style="white-space:nowrap;">{{{code}}}</small> =
 
+
{|
+
|-
+
| <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:17, 7 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}}}