Difference between revisions of "Template:Timeline"
Jump to navigation
Jump to search
(test) |
|||
Line 21: | Line 21: | ||
{{#if: {{{position|}}}| | {{#if: {{{position|}}}| | ||
{{#if: {{{key_events|}}}|{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}}} | {{#if: {{{key_events|}}}|{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}}} | ||
+ | =Chap-Timeline= | ||
+ | {{#ask: [[Category:{{{category|}}}]] | ||
+ | |?Start | ||
+ | |?End | ||
+ | |sort=Start | ||
+ | |order=ascending | ||
+ | |height=300px | ||
+ | |format=chap-timeline | ||
+ | |template=ChapTLBox | ||
+ | |startproperty=Start | ||
+ | |endproperty=End | ||
+ | |cluster=true | ||
+ | |limit=150 | ||
+ | }} | ||
=Timeline= | =Timeline= | ||
{{#ask: [[Category:{{{category|}}}]] | {{#ask: [[Category:{{{category|}}}]] | ||
Line 35: | Line 49: | ||
|Xend= | |Xend= | ||
|limit=200 | |limit=200 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
<headertabs/>|{{RED|Missing required parameter: {{t|position}}}}}}[[Category:Timelines]]{{SMWDocs}} | <headertabs/>|{{RED|Missing required parameter: {{t|position}}}}}}[[Category:Timelines]]{{SMWDocs}} | ||
</includeonly> | </includeonly> |
Revision as of 19:31, 16 November 2014
Template:Template Usage:
{{Timeline
Required parameter:
|position =When the timeline is centered
All other parameters are optional.
|image =Image to show in the sidebox
|category =Name of the unique category and form (deprecated)
|events =Name of the unique category and form (deprecated)
|key_events =Name of important events, which provide the images at the top
}}