Difference between revisions of "Template:Presentation"

From Bioinformatics Core Wiki
m (Text replacement - "wikitable" to "table")
 
(35 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Material
+
{{Presentation
 
|Title=
 
|Title=
 +
|Summary=
 
|Description=
 
|Description=
 
|URL=
 
|URL=
 
|Authors=
 
|Authors=
|Presentation_Dates=
+
|Presentation_dates=
|Creation Date=
+
|Creation_date=
 +
|Geo=
 +
|Geo_details=
 
|Slideshare=
 
|Slideshare=
 +
|File=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>
+
</noinclude><includeonly>{{DISPLAYTITLE:{{{Title|}}}}}<div class="material">
{| class="wikitable"
+
<div class="materialtable">
 +
{| class="table"
 
! Title
 
! Title
| [[Material Title::{{{Title|}}}]]
+
| [[Has Title::{{{Title|}}}]]
 +
|-
 +
! Summary
 +
| [[Has Summary::{{{Summary|}}}]]
 
|-
 
|-
 
! Description
 
! Description
| [[Material Description::{{{Description|}}}]]
+
| [[Has Description::{{{Description|}}}]]
 
|-
 
|-
 
! URL
 
! URL
| [[Material URL::{{{URL|}}}]]
+
| [[Has URL::{{{URL|}}}]]
 
|-
 
|-
 
! Author(s)
 
! Author(s)
| {{#arraymap:{{{Authors|}}}|,|x|[[Material Author::User:x]]}}
+
| {{#arraymap:{{{Authors|}}}|,|@@|[[Has Author::User:@@|@@]]}}
 
|-
 
|-
 
! Presentation Date(s)
 
! Presentation Date(s)
| {{#arraymap:{{{Presentation_Dates|}}}|,|x|[[Material Presentation Dates::x]]}}
+
| {{#arraymap:{{{Presentation_dates|}}}|,|@@|[[Has Presentation Date::@@]]}}
 +
{{#if:{{{File|}}}|{{#!:
 
|-
 
|-
! Creation Date
+
! File:
| [[Creation date::{{{Creation Date|}}}]]
+
| [[Has File::File:{{{File|}}}| ]][[Media:{{{File|}}}|{{{File|}}}]]
|-
+
}}
! Slideshare ID
+
}}
| [[Material Slideshare::{{{Slideshare|}}}]]
+
 
|}
 
|}
 
+
{{#if:{{{Slideshare|}}}|{{#!:
[[Category:Materials]]
+
{{#widget:SlideShare
 +
|doc={{{Slideshare|}}}
 +
|width=425
 +
|height=348
 +
}}[[Has Slideshare ID::{{{Slideshare|}}}|]]}}|}}
 +
</div>
 +
<div class="materialmap">{{#if:{{{Geo|}}}|{{#display_point:{{{Geo}}}|service=googlemaps|width=300|height=300|type=hybrid}}[[Geo::{{{Geo}}}|]]<div class="map_details">{{#if:{{{Geo_details|}}}|[[Geo details::{{{Geo_details}}}]]}}</div>|}}</div>
 +
</div>[[Has page name::{{SUBJECTPAGENAME}}| ]]
 +
[[Category:Presentations]]
 
</includeonly>
 
</includeonly>

Latest revision as of 11:15, 28 June 2016

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

{{Presentation
|Title=
|Summary=
|Description=
|URL=
|Authors=
|Presentation_dates=
|Creation_date=
|Geo=
|Geo_details=
|Slideshare=
|File=
}}

Edit the page to see the template text.

Bioinformatics Core Facility @ CRG — 2011-2024