Difference between revisions of "Template:Timeline"

From Wikispooks
Jump to navigation Jump to search
(list key events for now, image links come later)
Line 20: Line 20:
 
__NOCACHE__
 
__NOCACHE__
 
{{#if: {{{position|}}}|
 
{{#if: {{{position|}}}|
{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}
+
{{#if: {{{key_events|}}}|{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}}}
 
=Timeline=
 
=Timeline=
 
{{#ask: [[Category:{{{category|}}}]]
 
{{#ask: [[Category:{{{category|}}}]]

Revision as of 19:28, 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
}}