Template:Dataset: Difference between revisions

From Ruisdael Observatory Data Catalog
No edit summary
m (Text replacement - "format=broadtable" to "format=datatables")
 
(77 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:title (property=title)|description (property=description)|contactPoint (label=contact person;property=contactPoint)|theme (property=theme) |landingPage (property=landingPage) |identifier (property=identifier)}}
{{#template_params:title (property=title)|description (property=description)|contactPoint (label=contact person;property=contactPoint)|theme (property=theme) |landingPage (property=landingPage) |identifier (property=identifier)}}
</noinclude><includeonly>{| style="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;"
</noinclude><includeonly>__TOC__
! style="text-align: center; background-color:#91c503c4;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
{| style="font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; padding: 0.2em; clear: right; text-align:left; width:100%"
! style="text-align: center; border-bottom: 1px solid black; border-top: 1px solid black;" colspan="2" |<span style="font-size: larger;">Dataset: {{PAGENAME}}</span>
|-
|-
! title
! title
Line 10: Line 12:
| [[description::{{{description|}}}]]
| [[description::{{{description|}}}]]
|-
|-
! status
! type {{#info: See Dataset Types' descriptions in [[Dataset type taxon descriptions]]}}
| [[hasStatus::{{{hasStatus|}}}]]
| [[type::{{{type|}}}]]
|-
|-
! theme
! format
| [[theme::{{{theme|}}}]]
| {{#arraymap:{{{format|}}}|,|x|[[format::x]]}}
|-
|-
! publisher
! served by data service
| [[publisher::{{{publisher|}}}]]
| {{#arraymap:{{{servedBy|}}}|,|x|[[servedBy::x]]}}
|-
|-
! landing page
! landing page
Line 26: Line 28:
|-
|-
! license
! license
| [[accessRights::{{{accessRights|}}}]]
| [[license::{{{license|}}}]]
|-
|-
! contact person
! contact person
| [[contactPoint::{{{contactPoint|}}}]]  
| {{#arraymap:{{{contactPoint|}}}|,|x|[[contactPoint::x]]}}
|-
|-
| {{#formredlink:target={{{contactPoint|}}}|form=Person|query string=Person[name]={{{contactPoint|}}}|new window}}
! creator
| {{#arraymap:{{{creator|}}}|,|x|[[creator::x]]}}
|-
! organization
| {{#formredlink:target={{{creator_organization|}}}|form=Organization|query string=Organization[name]={{{creator_organization|}}}|new window}} {{#set:creator_organization={{{creator_organization|}}} }}
|}
 
 
{| style="font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; padding: 0.2em; float: left; clear: right; text-align:left; width:100%"
! style="text-align: center; border-bottom: 1px solid black; border-top: 1px solid black;" colspan="2" |<span style="font-size: 1.2em;">Geographic and Temporal Information</span>
|-
! location
| [[atLocation::{{{atLocation|}}}]]
|-
! geographic coordinates
| [[hasGeographicCoordinates::{{{hasGeographicCoordinates|}}}]]
|-
! elevation (meters)
| [[hasElevation::{{{hasElevation|}}}]]
|-
|-
| [[contactPoint::{{#formredlink:target={{{contactPoint|}}}|form=Person|query string=Person[name]={{{contactPoint|}}}|new window}}]]  
! start date
| [[startDate::{{{startDate|}}}]]  
|-
|-
! creator
! end date
| [[creator::{{{creator|}}}]]
| [[endDate::{{{endDate|}}}]]  
|-
!
| {{#ask: [[{{PAGENAME}}]]
|?hasGeographicCoordinates
|format=leaflet
|limit=50
|offset=0
|link=all
|sort=
|order=asc
|headers=show
|searchlabel=... further results
|width=auto
|height=200
|width=600
|zoom=10
|defzoom=14
|layers=OpenStreetMap
|scrollwheelzoom=0
|clustermaxzoom=20
|clusterzoomonclick=1
|clustermaxradius=80
|clusterspiderfy=1
|showtitle=1
|hidenamespace=1
|cluster=on
}}
|}
 
 
 
{| style="width: 100%; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; padding: 0.2em; clear: right; text-align:left"
! style="text-align: center; border-bottom: 1px solid black; border-top: 1px solid black;" colspan="2" |<span style="font-size: 1.2em;">Campaigns that contribute to Dataset</span>
|-
|{{#ask: [[Category:Campaign]][[contributesTo::{{PAGENAME}}]]
|?title
|?atLocation
|?hasGeographicCoordinates
|?startDate
|?endDate
|?hasParticipant
|format=datatables
|mainlabel=Data Service
|limit=50
|offset=0
|link=all
|sort=
|order=asc
|headers=show
|searchlabel=... further results
|class=sortable wikitable smwtable
|sep=,&#32;
|prefix=none
|datatables-info=1
|datatables-lengthchange=1
|datatables-ordering=1
|datatables-paging=1
|datatables-searching=1
|datatables-pagingtype=full_numbers
|datatables-pagelength=20
|datatables-lengthmenu=10, 20, 50, 100, 200
|datatables-scroller.displaybuffer=50
|datatables-dom=lfrtip
|datatables-responsive=1
|datatables-searchpanes.collapse=1
|datatables-searchpanes.threshold=0.6
|datatables-searchpanes.mincount=1
}}
|}
 
 
{| style="width: 100%; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; padding: 0.2em; clear: right; text-align:left; width:100%;"
! style="text-align: center; border-bottom: 1px solid black; border-top: 1px solid black;" colspan="2" |<span style="font-size: 1.2em;">Related Media to ''{{PAGENAME}}''</span>
|-
|-
! institute
|{{#ask: [[File:+]][[pertainsTo::{{PAGENAME}}]]
| [[hasInstitute::{{{hasInstitute|}}}]]
|?hasDate
|?hasDescription
|format=datatables
|limit=50
|offset=0
|link=subject
|sort=
|order=asc
|headers=show
|searchlabel=... further results
|class=sortable wikitable smwtable
|theme=bootstrap
}}
|}
|}


[[Category:Dataset]]
[[Category:Dataset]]
</includeonly>
</includeonly>

Latest revision as of 12:11, 17 September 2024

This is the "Dataset" template.

It should be called in the following format:

{{Dataset
|title=
|description=
|contactPoint=
|theme=
|landingPage=
|identifier=
}}

Edit the page to see the template text.