Difference between revisions of "Template:Timeline"

From Wikispooks
Jump to navigation Jump to search
(<hr>)
(fix)
Line 21: Line 21:
 
{{#if: {{{position|}}}|
 
{{#if: {{{position|}}}|
 
{{#if: {{{key_events|}}}|Key events:{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}}}
 
{{#if: {{{key_events|}}}|Key events:{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}}}
{{#if: {{{events|}}}|<hr/>[[Form:{{{events}}}|Add an event]] - [[Category:{{{events|}}}|Browse all events]] - [[WikiSpooks:Timelines|Help/information]] }}
+
{{#if: {{{category|}}}|<hr/>[[Form:{{{category}}}|Add an event]] - [[Category:{{{events|}}}|Browse all events]] - [[WikiSpooks:Timelines|Help/information]] }}
 
{{#ask: [[Category:{{{category|}}}]]
 
{{#ask: [[Category:{{{category|}}}]]
 
|?Start
 
|?Start

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