Difference between revisions of "Template:Course short"

From its-wiki.no
Jump to: navigation, search
Line 12: Line 12:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#set:Course_Image=[[File:{{PAGENAME}}.png|350px|right]]}}
+
<span style="font-size: 180%;" >  '''{{PAGENAME}} -  [[Title::{{{Title|}}}]]''' </span>
 
<!--- {{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>}} --->
 
{|  
 
{|  
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
<big>{{News}}</big>
|-
+
! News
+
| [[News::{{{News|}}}]]
+
 
|-
 
|-
 
! by
 
! by
 
| {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
 
| {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
 
|}
 
|}
 +
{{#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]] | [[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"
Line 28: Line 26:
 
|-
 
|-
 
| {{#ask: [[Category:{{SUBJECTPAGENAME}}]] OR [[Category:Course]][[{{SUBJECTPAGENAME}}]]
 
| {{#ask: [[Category:{{SUBJECTPAGENAME}}]] OR [[Category:Course]][[{{SUBJECTPAGENAME}}]]
| ?Keywords
+
| ?Keywords | format=tagcloud | maxtags=40}}
| format=tagcloud
+
| maxtags=40
+
}}
+
 
|}
 
|}
<span style="font-size: 180%;" >  '''{{PAGENAME}} -  [[Title::{{{Title|}}}]]''' </span>
 
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 11:43, 2 September 2017

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

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

Edit the page to see the template text.