Difference between revisions of "Template:Presentation"

From its-wiki.no
Jump to: navigation, search
 
(46 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Presentation" template.
+
This is the "Presentation" template. It is called from the "add presentation" form the main menu
It should be called in the following format:
+
</noinclude><includeonly>
<pre>
+
[[File:{{{Presentation_view|}}}|450px|right|link=Media:{{{File|}}}]]
{{Presentation
+
Presented by {{#arraymap:{{{Presenter|}}}|,|xx|{{#formredlink:target=xx|form=Presenter}}{{#set:Presenter=xx}}}} on {{#time:d F Y|{{{Date|}}}}}  
|Title=
+
|Presenter=
+
|Date=
+
|Project=
+
|Keywords=
+
|File=
+
}}
+
</pre>
+
Edit the page to see the template text.
+
</noinclude><includeonly>{| class="wikitable"
+
|Presentation: [[Titel:{{{Title|}}}]]  
+
|-
+
|by Presenter: {{#arraymap:{{{Presenter|}}}|,|x|{{#formredlink:target=x|form=Presenter}}{{#set:Presenter=x}}}} on {{{Date|}}}
+
|-
+
|related to project: [[Project:{{{Project|}}}]]
+
|-
+
|Keywords: {{#arraymap:{{{Keywords|}}}|,|x|[[Keywords::x]]}}
+
|-
+
|Presentation File: [[File:File{{{File|}}}]]
+
|}
+
  
 +
 +
related to project {{#arraymap:{{{Project|}}}|,|xxx|[[Project::xxx]]}}{{#if:{{{Keywords|}}}|{{#!:, with Keywords: {{#arraymap:{{{Keywords|}}}|,|xx|[[Keywords::xx]]}}}}}}
 +
 +
Presentation: [[Media:{{{File|}}}|(click to open presentation)]]
 +
 +
<!---{{#if:{{{Meeting|}}}|{{#!:, presented at: {{{Meeting|}}}}}}} --->
 +
presented at: [[{{{Event|}}}]]
 +
 +
{{#set:Title={{{Title}}}}} {{#set:Event={{{Event}}}}} {{#set:Presentation File=[[Media:{{{File|}}}|Click to Open]]}} {{#set:Date={{{Date|}}}}}
 +
<!--- {{#set:Presentation_thumb={{{Presentation_view|}}}}} --->
 +
{{#set:Presentation_view=[[File:{{{Presentation_view|}}}|frameless|150px]]}} {{#arraymap:{{{Project|}}}|,|xx|{{#set:Project=xx}}}} 
 +
<!---{{#set:Meeting={{{Meeting}}}}} --->
 
[[Category:Presentation]]
 
[[Category:Presentation]]
 
</includeonly>
 
</includeonly>

Latest revision as of 22:05, 24 February 2020

This is the "Presentation" template. It is called from the "add presentation" form the main menu