Template:Dataset: Difference between revisions
Andre Castro (talk | contribs) No edit summary |
Andre Castro (talk | contribs) m (Text replacement - "format=broadtable" to "format=datatables") |
||
(82 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 | </noinclude><includeonly>__TOC__ | ||
! style="text-align: center; | |||
{| 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|}}}]] | ||
|- | |- | ||
! | ! type {{#info: See Dataset Types' descriptions in [[Dataset type taxon descriptions]]}} | ||
| [[ | | [[type::{{{type|}}}]] | ||
|- | |||
! format | |||
| {{#arraymap:{{{format|}}}|,|x|[[format::x]]}} | |||
|- | |- | ||
! | ! served by data service | ||
| | | {{#arraymap:{{{servedBy|}}}|,|x|[[servedBy::x]]}} | ||
|- | |- | ||
! landing page | ! landing page | ||
Line 21: | Line 26: | ||
! PID | ! PID | ||
| [[identifier::{{{identifier|}}}]] | | [[identifier::{{{identifier|}}}]] | ||
|- | |||
! license | |||
| [[license::{{{license|}}}]] | |||
|- | |||
! contact person | |||
| {{#arraymap:{{{contactPoint|}}}|,|x|[[contactPoint::x]]}} | |||
|- | |||
! 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|}}}]] | |||
|- | |||
! start date | |||
| [[startDate::{{{startDate|}}}]] | |||
|- | |||
! end date | |||
| [[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=,  | |||
|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> | |||
|- | |||
|{{#ask: [[File:+]][[pertainsTo::{{PAGENAME}}]] | |||
|?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 11: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.