Template:Object query: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
[[:Category:Object|Objects]] dating between "{{{date_a|}}}" and "{{{date_b|}}}":
[[:Category:Object|Objects]] dating between "{{{date_a|}}}" and "{{{date_b|}}}":


{{#vardefine: query | [[sortdate::>{{{date_a|}}}]][[sortdate::<{{{date_b|}}}]] }}
{{#vardefine: query | }}
{{#if: {{{name|}}}|{{#vardefine: query | {{#var: query}}[[name::{{{name|}}}]] }} }}
{{#if: {{{type_object|}}}|{{#vardefine: query | {{#var: query}}[[type_object::{{{type_object|}}}]] }} }}
{{#if: {{{type|}}}|{{#vardefine: query | {{#var: query}}[[type::{{{type|}}}]] }} }}
{{#if: {{{material|}}}|{{#vardefine: query | {{#var: query}}[[material::{{{material|}}}]] }} }}
{{#if: {{{dimension_max|}}}|{{#vardefine: query | {{#var: query}}[[dimension::{{{dimension_max|}}}]] }} }}
{{#if: {{{condition|}}}|{{#vardefine: query | {{#var: query}}[[condition::{{{condition|}}}]] }} }}
{{#if: {{{culture_archaeological|}}}|{{#vardefine: query | {{#var: query}}[[culture_archaeological::{{{culture_archaeological|}}}]] }} }}
{{#if: {{{sortdate|}}}|{{#vardefine: query | {{#var: query}}[[sortdate::{{{sortdate|}}}]] }} }}


{{#ask:[[Category:Object]]{{#var: query}}
{{#ask:[[Category:Object]]{{#var: query}}
Line 9: Line 17:
|?date=Date
|?date=Date
|link=all
|link=all
|sort=sortdate, sortform
|sort=sortform
|format=table
|format=table
|class=table_lines
|class=table_lines

Revision as of 05:57, 23 September 2015

This is the "object query" template. It should be called via the Form:Object query.