Difference between revisions of "Template:Timeline"

From Wikispooks
Jump to navigation Jump to search
(no headertabs since only the first tab works)
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|}}}]]
 
{{#ask: [[Category:{{{category|}}}]]
 
|?Start
 
|?Start
Line 35: Line 34:
 
|limit=150
 
|limit=150
 
}}
 
}}
=Timeline=
+
<hr/>
 
{{#ask: [[Category:{{{category|}}}]]
 
{{#ask: [[Category:{{{category|}}}]]
 
|?start
 
|?start
Line 49: Line 48:
 
|Xend=
 
|Xend=
 
|limit=200
 
|limit=200
}}
+
}}|{{RED|Missing required parameter: {{t|position}}}}}}[[Category:Timelines]]{{SMWDocs}}
<nowiki/>
 
= ... =
 
<headertabs/>|{{RED|Missing required parameter: {{t|position}}}}}}[[Category:Timelines]]{{SMWDocs}}
 
 
</includeonly>
 
</includeonly>

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