Difference between revisions of "Template:Timeline"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
   |{{#ask: {{Media timeline elements|{{{1|}}}::{{{2|}}}}}
 
   |{{#ask: {{Media timeline elements|{{{1|}}}::{{{2|}}}}}
 
     |?Year
 
     |?Year
     |limit=5000
+
    |sort=Year
 +
     |limit=500
 +
    |format=array
 
     |searchlabel=
 
     |searchlabel=
 
     |mainlabel=-
 
     |mainlabel=-
 
     |headers=hide
 
     |headers=hide
 
     |sep=;
 
     |sep=;
 +
    |manysep=;
 
   }}
 
   }}
 
   |;
 
   |;
 
   |unique, sort=asc
 
   |unique, sort=asc
}}<!--
+
}}<div>
 +
<span class="timeline-badge">Timeline</span><!--
  
--><div class="d-flex"><div class="media-gallery media-timeline-cover {{{class|}}}"><!--
+
--><div class="timeline-heading">{{{2|}}}</div>
 +
<div id="timeline-wrapper" class="d-flex"><div class="media-gallery media-timeline-cover"><!--
  
 
-->{{#arrayprint:years
 
-->{{#arrayprint:years
Line 31: Line 36:
 
   }}
 
   }}
 
}}
 
}}
</div><div class="more-content-wrapper"></div></div>
+
</div><div class="more-content-wrapper"></div></div></div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
+
<templatedata>
{{Timeline|Organization name|Eastern House}}
+
{
</noinclude>
+
"params": {
 +
"1": {
 +
"label": "Property",
 +
"description": "Name of semantic property",
 +
"example": "Organization name",
 +
"type": "string",
 +
"required": true
 +
},
 +
"2": {
 +
"label": "Value",
 +
"description": "Property value",
 +
"example": "Eastern House",
 +
"type": "string",
 +
"required": true
 +
}
 +
},
 +
"description": "Collects media by years. Due to the data specifics, the template is designed for the use on a separate page."
 +
}
 +
</templatedata></noinclude>

Latest revision as of 19:38, 27 August 2022

Collects media by years. Due to the data specifics, the template is designed for the use on a separate page.

Template parameters

ParameterDescriptionTypeStatus
Property1

Name of semantic property

Example
Organization name
Stringrequired
Value2

Property value

Example
Eastern House
Stringrequired