Difference between revisions of "Template:Course"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) |
||
(16 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|Lecturer= | |Lecturer= | ||
|Organisation= | |Organisation= | ||
− | |Keywords | + | |Keywords |
− | | | + | |Objective |
}} | }} | ||
</pre> | </pre> | ||
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]]}} | ||
{{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="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="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;" | ||
Line 19: | Line 22: | ||
|- | |- | ||
! News | ! News | ||
− | | [[ | + | | [[News::{{{News|}}}]] |
|- | |- | ||
! Organisation | ! Organisation | ||
Line 27: | Line 30: | ||
| {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}} | | {{#arraymap:{{{Lecturer|}}}|,|x|[[Lecturer::x]]}} | ||
|} | |} | ||
− | {{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png| | + | {{#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 37: | Line 40: | ||
}} | }} | ||
|} | |} | ||
− | + | {{DISPLAYTITLE:{{PAGENAME}} - {{{Title|}}}}} | |
{| class="wikitable" | {| class="wikitable" | ||
Line 55: | Line 58: | ||
| [[Type of course::{{{Type of course|}}}]] | | [[Type of course::{{{Type of course|}}}]] | ||
|} | |} | ||
− | {{#ifexist: File:{{PAGENAME}}.png | | ''Upload {{PAGENAME}}. | + | {{#ifexist: File:{{PAGENAME}}.png | | ''Upload {{PAGENAME}}.png to see a course picture instead of the banner picture. ''}} |
''Edit the page by [[Special:FormEdit/Course/{{SUBJECTPAGENAME}}]]''. | ''Edit the page by [[Special:FormEdit/Course/{{SUBJECTPAGENAME}}]]''. | ||
+ | |||
+ | {{#ask: [[Category:{{SUBJECTPAGENAME}}]][[Date::>{{CURRENTYEAR}}]] | ||
+ | | ?Date | ||
+ | | sort=Date | ||
+ | | order=desc | ||
+ | | format=table | ||
+ | | intro= '''Lecture overview''' | ||
+ | }} | ||
+ | |||
+ | To add new lectures, use: [[Special:FormEdit/Lecture|Add a lecture]] | ||
+ | |||
[[Category:Course]] | [[Category:Course]] | ||
</includeonly> | </includeonly> |
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.