Difference between revisions of "Template:Slideshow"

From its-wiki.no
Jump to: navigation, search
(Created page with "<noinclude> This is the "Slideshow" template. It should be called in the following format: <pre> {{Slideshow |Abstract= |Project= }} </pre> Edit the page to see the template t...")
 
 
(10 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
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]]}}
+
{{#set:Course_Image=[[File:{{PAGENAME}}.jpg|500px|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 21: Line 21:
 
| [[Project::{{{Project|}}}]]
 
| [[Project::{{{Project|}}}]]
 
|}
 
|}
{{#ifexist: File:{{PAGENAME}}.png | [[File:{{PAGENAME}}.png|350px]] | [[File:Course.png|330px|right]] }}
+
[[File:{{PAGENAME}}.jpg|500px]]  
  
<span style="font-size: 180%;" >  '''{{PAGENAME}} -  [[Title::{{{Title|}}}]]''' </span>
+
<span style="font-size: 180%;" >  '''{{PAGENAME}}''' </span>
  
{{#ifexist: File:{{PAGENAME}}.png | | ''Upload {{PAGENAME}}.jpg to see a course picture instead of the banner picture. ''}}
+
[[Abstract::{{{Abstract|}}}]]
''Edit the page by  [[Special:FormEdit/Course/{{SUBJECTPAGENAME}}]]''.
+
 
 +
{{#ifexist: File:{{PAGENAME}}.jpg | | ''Upload {{PAGENAME}}.jpg to see a course picture instead of the banner picture. ''}}
 +
''Edit the page by  [[Special:FormEdit/Slideshow/{{SUBJECTPAGENAME}}]]''.

Latest revision as of 15:03, 20 November 2015

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

{{Slideshow
|Abstract=
|Project=
}}

Edit the page to see the template text.