Difference between revisions of "Template:Course short"

From its-wiki.no
Jump to: navigation, search
(Created page with "<noinclude> This is the "Course" template. It should be called in the following format: <pre> {{Course |Title= |News= |Lecturer= |Keywords }} </pre> Edit the page to see the t...")
 
 
(10 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>
 +
__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>}} --->
 +
<big> [[News::{{{News|}}}]]</big> by  {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
 
{{#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>}}
+
{{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|350px|right]] | [[File:Course.png|330px|right]] }}
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
+
|-
+
! News
+
| [[News::{{{News|}}}]]
+
|-
+
! Organisation
+
| [[Organisation::{{{Organisation|}}}]]
+
|-
+
! by
+
| {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}}
+
|}
+
{{#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"
 
! style="text-align: center; background-color:#ccccff;" colspan="1" |<big>Keywords</big>
 
! style="text-align: center; background-color:#ccccff;" colspan="1" |<big>Keywords</big>
 
|-
 
|-
 
| {{#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"

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.