Difference between revisions of "Template:Presentation"

From Bioinformatics Core Wiki
m (Text replacement - "wikitable" to "table")
 
(24 intermediate revisions by 2 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=
 
|Summary=
Line 18: Line 18:
 
</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">
{{DISPLAYTITLE:{{{Title|}}}}}{| class="wikitable"
+
<div class="materialtable">
 +
{| class="table"
 
! Title
 
! Title
| [[Material Title::{{{Title|}}}]]
+
| [[Has Title::{{{Title|}}}]]
 
|-
 
|-
 
! Summary
 
! Summary
| [[Material Summary::{{{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|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::@@]]}}
|-
+
! Creation Date
+
| [[Creation date::{{{Creation_date|}}}]]
+
 
{{#if:{{{File|}}}|{{#!:
 
{{#if:{{{File|}}}|{{#!:
 
|-
 
|-
 
! File:
 
! File:
| [[Material File::{{{File|}}}]]
+
| [[Has File::File:{{{File|}}}| ]][[Media:{{{File|}}}|{{{File|}}}]]
}}|}}|}
+
}}
 +
}}
 +
|}
 +
{{#if:{{{Slideshare|}}}|{{#!:
 
{{#widget:SlideShare
 
{{#widget:SlideShare
 
|doc={{{Slideshare|}}}
 
|doc={{{Slideshare|}}}
 
|width=425
 
|width=425
 
|height=348
 
|height=348
}}[[Material Slideshare::{{{Slideshare|}}}|]]
+
}}[[Has Slideshare ID::{{{Slideshare|}}}|]]}}|}}
<div float="right">{{#if:{{{Geo|}}}|{{#display_point:{{{Geo}}}|service=googlemaps|width=300|height=300|controls=small|type=hybrid|autozoom=off}}[[Geo::{{{Geo}}}|]]<div class="post_map_details">[[Geo details::{{{Geo_details}}}]]</div>|}}</div>
+
</div>
[[Category:Materials]]
+
<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