Difference between revisions of "Template:Course"

From its-wiki.no
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
__NOTITLE__
 +
<span style="font-size: 180%;" >  '''{{PAGENAME}} -  [[Title::{{{Title|}}}]]''' </span>
 
{{#set:Course_Image=[[File:{{PAGENAME}}.png|350px|right]]}}
 
{{#set:Course_Image=[[File:{{PAGENAME}}.png|350px|right]]}}
 
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
 
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
Line 28: Line 30:
 
| {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
 
| {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
 
|}
 
|}
{{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|350px]] | [[File:Course.png|330px|right]] }}
+
{{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|330px|right]] | [[File:Course.png|330px|right]] }}
 
{| style="width:28em; padding: 10px; float: right; clear: right; background: lightgray; border: 2px"
 
{| style="width:28em; padding: 10px; float: right; clear: right; background: lightgray; border: 2px"
 
! style="text-align: center; background-color:#ccccff;" colspan="1" |<big>Keywords</big>
 
! style="text-align: center; background-color:#ccccff;" colspan="1" |<big>Keywords</big>
Line 38: Line 40:
 
}}
 
}}
 
|}
 
|}
<span style="font-size: 180%;" >  '''{{PAGENAME}} - [[Title::{{{Title|}}}]]''' </span>
+
{{DISPLAYTITLE:{{PAGENAME}} - {{{Title|}}}}}
  
 
{| class="wikitable"
 
{| class="wikitable"

Latest revision as of 12:57, 2 September 2017

This is the "Course" template. It should be called in the following format:

{{Course
|Title=
|News=
|Lecturer=
|Organisation=
|Keywords
|Objective
}}

Edit the page to see the template text.