Difference between revisions of "Template:Course short"

From its-wiki.no
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Course
+
{{Course_short
 
|Title=
 
|Title=
 
|News=
 
|News=
Line 12: Line 12:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<span style="font-size: 180%;" >  '''{{PAGENAME}} -  [[Title::{{{Title|}}}]]''' </span>
+
__NOTITLE__
 +
{{DISPLAYTITLE:{{PAGENAME}} - {{{Title|}}}}}
 +
<span style="font-size: 180%;" >  '''{{PAGENAME}} -  [[Title::{{{Title|}}}]]''' </span> <br/>
 
<!--- {{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>}} --->
{|
+
<big> [[News::{{{News|}}}]]</big> by {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
<big>{{News}}</big>
+
|-
+
! by
+
| {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
+
|}
+
 
{{#set:Course_Image=[[File:{{PAGENAME}}.png|350px|right]]}}
 
{{#set:Course_Image=[[File:{{PAGENAME}}.png|350px|right]]}}
{{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|350px]] | [[File:Course.png|330px|right]] }}
+
{{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|350px|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>

Latest revision as of 12:55, 2 September 2017

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

{{Course_short
|Title=
|News=
|Lecturer=
|Keywords
}}

Edit the page to see the template text.