Difference between revisions of "Template:Timeline"

From Wikispooks
Jump to navigation Jump to search
m (testing...)
(list key events for now, image links come later)
Line 14: Line 14:
 
|category      =Name of the unique category and form (deprecated)
 
|category      =Name of the unique category and form (deprecated)
 
|events        =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
 
}}
 
}}
 
</poem>
 
</poem>
Line 19: Line 20:
 
__NOCACHE__
 
__NOCACHE__
 
{{#if: {{{position|}}}|
 
{{#if: {{{position|}}}|
 +
{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}
 
=Timeline=
 
=Timeline=
 
{{#ask: [[Category:{{{category|}}}]]
 
{{#ask: [[Category:{{{category|}}}]]

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