Template:Dataset: Difference between revisions

From Ruisdael Observatory Data Catalog
No edit summary
m (Text replacement - "format=broadtable" to "format=datatables")
 
(29 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="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>
! style="text-align: center; border-bottom: 1px solid black; border-top: 1px solid black;" colspan="2" |<span style="font-size: larger;">Dataset: {{PAGENAME}}</span>
|-
|-
Line 10: Line 12:
| [[description::{{{description|}}}]]
| [[description::{{{description|}}}]]
|-
|-
! type
! type {{#info: See Dataset Types' descriptions in [[Dataset type taxon descriptions]]}}
| [[type::{{{type|}}}]]
| [[type::{{{type|}}}]]
|-
! theme
| [[theme::{{{theme|}}}]]
|-
|-
! format
! format
Line 20: Line 19:
|-
|-
! served by data service
! served by data service
| {{#formredlink:target={{{servedBy|}}}|form=DataService|query string=DataService[name]={{{servedBy|}}}|new window}} {{#set:servedBy={{{servedBy|}}} }}  
| {{#arraymap:{{{servedBy|}}}|,|x|[[servedBy::x]]}}
|-
|-
! landing page
! landing page
Line 32: Line 31:
|-
|-
! contact person
! contact person
| {{#formredlink:target={{{contactPoint|}}}|form=Person|query string=Person[name]={{{contactPoint|}}}|new window}} {{#set:contactPoint={{{contactPoint|}}} }}
| {{#arraymap:{{{contactPoint|}}}|,|x|[[contactPoint::x]]}}
|-
|-
! creator
! creator
| {{#formredlink:target={{{creator|}}}|form=Person|query string=Person[name]={{{creator|}}}|new window}} {{#set: creator={{{creator|}}} }} {{#set:creator={{{creator|}}} }}
| {{#arraymap:{{{creator|}}}|,|x|[[creator::x]]}}
|-
|-
! organization
! organization
Line 41: Line 40:
|}
|}


<div id="geoAndtime">
 
{| style="font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: left; clear: right; text-align:left; width:90%"
{| 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>
! 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>
|-
|-
Line 87: Line 86:
}}
}}
|}
|}
</div>


<div id="campainsInDs">
==Campaigns that contribute to Dataset==


{{#ask: [[Category:Campaign]][[contributesTo::{{PAGENAME}}]]
 
{| 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
  |?title
  |?atLocation
  |?atLocation
Line 99: Line 99:
  |?endDate
  |?endDate
  |?hasParticipant
  |?hasParticipant
  |format=broadtable
  |format=datatables
  |mainlabel=Data Service
  |mainlabel=Data Service
  |limit=50
  |limit=50
Line 126: Line 126:
  |datatables-searchpanes.mincount=1
  |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
}}
|}


</div>


[[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.