Template:DatasetSearch: Difference between revisions

From Ruisdael Observatory Data Catalog
No edit summary
No edit summary
Line 9: Line 9:
{{#if:{{{format|}}}|[[format::{{{format|}}}]]}}
{{#if:{{{format|}}}|[[format::{{{format|}}}]]}}
{{#if:{{{license|}}}|[[license::{{{license|}}}]]}}
{{#if:{{{license|}}}|[[license::{{{license|}}}]]}}
{{#if:{{{location|}}}|[[location::{{{location|}}}]]}}
{{#if:{{{atLocation|}}}|[[atLocation::{{{atLocation|}}}]]}}
{{#switch: {{{startDateOp|}}}|before={{#if:{{{startDate|}}}|[[startDate::<={{{startDate|}}}]]}}|after={{#if:{{{startDate|}}}|[[startDate::>={{{startDate|}}}]]}} }}
{{#switch: {{{startDateOp|}}}|before={{#if:{{{startDate|}}}|[[startDate::<={{{startDate|}}}]]}}|after={{#if:{{{startDate|}}}|[[startDate::>={{{startDate|}}}]]}} }}
{{#switch: {{{endDateOp|}}}|before={{#if:{{{endDate|}}}|[[endDate::<={{{endDate|}}}]]}}|after={{#if:{{{endDate|}}}|[[endDate::>={{{endDate|}}}]]}} }}
{{#switch: {{{endDateOp|}}}|before={{#if:{{{endDate|}}}|[[endDate::<={{{endDate|}}}]]}}|after={{#if:{{{endDate|}}}|[[endDate::>={{{endDate|}}}]]}} }}

Revision as of 11:30, 5 August 2024

This is the DatasetSearch template, called via Form:DatasetSearch