Difference between revisions of "Template:Timeline"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
 
(11 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
}}<span class="timeline-badge">Timeline</span><!--
+
}}<div>
 +
<span class="timeline-badge">Timeline</span><!--
  
 
--><div class="timeline-heading">{{{2|}}}</div>
 
--><div class="timeline-heading">{{{2|}}}</div>
Line 32: Line 36:
 
   }}
 
   }}
 
}}
 
}}
</div><div class="more-content-wrapper"></div></div>
+
</div><div class="more-content-wrapper"></div></div></div>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 43: Line 45:
 
"description": "Name of semantic property",
 
"description": "Name of semantic property",
 
"example": "Organization name",
 
"example": "Organization name",
"type": "string"
+
"type": "string",
 +
"required": true
 
},
 
},
 
"2": {
 
"2": {
Line 49: Line 52:
 
"description": "Property value",
 
"description": "Property value",
 
"example": "Eastern House",
 
"example": "Eastern House",
"type": "string"
+
"type": "string",
 +
"required": true
 
}
 
}
 
},
 
},
"description": "Collects media by years."
+
"description": "Collects media by years. Due to the data specifics, the template is designed for the use on a separate page."
 
}
 
}
 
</templatedata></noinclude>
 
</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