Difference between revisions of "Template:Presentation"

From Bioinformatics Core Wiki
(autozoom out)
m (Text replacement - "wikitable" to "table")
 
(6 intermediate revisions by 2 users not shown)
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|}}}}}
+
<div class="material">
+
 
<div class="materialtable">
 
<div class="materialtable">
{| class="wikitable"
+
{| 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:{{{File|}}}| ]][[Media:{{{File|}}}|{{{File|}}}]]
+
| [[Has File::File:{{{File|}}}| ]][[Media:{{{File|}}}|{{{File|}}}]]
 
}}
 
}}
 
}}
 
}}
Line 55: Line 50:
 
|width=425
 
|width=425
 
|height=348
 
|height=348
}}[[Material Slideshare::{{{Slideshare|}}}|]]}}|}}
+
}}[[Has Slideshare ID::{{{Slideshare|}}}|]]}}|}}
 
</div>
 
</div>
<div class="materialmap">{{#if:{{{Geo|}}}|{{#display_point:{{{Geo}}}|service=googlemaps|width=300|height=300|controls=small|type=hybrid}}[[Geo::{{{Geo}}}|]]<div class="map_details">{{#if:{{{Geo_details|}}}|[[Geo details::{{{Geo_details}}}]]}}</div>|}}</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}}| ]]
 
</div>[[Has page name::{{SUBJECTPAGENAME}}| ]]
 
[[Category:Presentations]]
 
[[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