Difference between revisions of "Template:Media timeline filter"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
(Created page with "<includeonly> {{#ask: {{Media gallery elements|Year::{{{3|}}};{{{1|}}}::{{{2|}}}}} |?Newspaper title |?Organization name |?Has date |?Has image |?Media category |?Map pu...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#ask: {{Media gallery elements|Year::{{{3|}}};{{{1|}}}::{{{2|}}}}}
+
{{#ask: {{Media timeline elements|Year::{{{3|}}};{{{1|}}}::{{{2|}}}}}
 
  |?Newspaper title
 
  |?Newspaper title
 
  |?Organization name
 
  |?Organization name
Line 11: Line 11:
 
  |?Years active
 
  |?Years active
 
  |?Page number
 
  |?Page number
 +
|sort=Has date
 +
|order=asc
 
  |headers=hide
 
  |headers=hide
  |limit=5000
+
  |limit=500
 
  |mainlabel=Page
 
  |mainlabel=Page
 
  |format=plainlist
 
  |format=plainlist
Line 60: Line 62:
 
|Organization name      # Property name to be searched
 
|Organization name      # Property name to be searched
 
|Eastern House          # Property value to be filtered by
 
|Eastern House          # Property value to be filtered by
|1918                   # Year
+
|1878                   # Year
 
}}
 
}}
 
</pre>
 
</pre>
Line 67: Line 69:
 
|Organization name  
 
|Organization name  
 
|Eastern House
 
|Eastern House
|1918
+
|1878
 
}}
 
}}
 
;The same with the "fixed" tiles
 
;The same with the "fixed" tiles
Line 74: Line 76:
 
|Organization name      # Property name to be searched
 
|Organization name      # Property name to be searched
 
|Eastern House          # Property value to be filtered by
 
|Eastern House          # Property value to be filtered by
|1918                   # Year
+
|1878                   # Year
 
|class=fixed
 
|class=fixed
 
}}
 
}}
Line 82: Line 84:
 
|Organization name  
 
|Organization name  
 
|Eastern House
 
|Eastern House
|1918
+
|1878
 
|class=fixed
 
|class=fixed
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:04, 24 August 2022


Selects media filtered by the given property value and a year.

Template parameters

ParameterDescriptionTypeStatus
Property name1

no description

Stringoptional
Property value2

no description

Stringoptional
Year3

no description

Stringoptional
Classclass

no description

Example
fixed
Stringoptional
Usage
{{Media timeline filter
|Organization name       # Property name to be searched
|Eastern House           # Property value to be filtered by
|1878                    # Year
}}
Result


The same with the "fixed" tiles
{{Media timeline filter
|Organization name       # Property name to be searched
|Eastern House           # Property value to be filtered by
|1878                    # Year
|class=fixed
}}
Result