Difference between revisions of "Template:Timeline"
m (Text replacement - "{{template " to "{{WStemplate ") |
(update query to use semantics) |
||
Line 12: | Line 12: | ||
''All other parameters are optional.'' | ''All other parameters are optional.'' | ||
|image =Image to show in the sidebox | |image =Image to show in the sidebox | ||
− | |category =Name of the unique category and form (deprecated) | + | <s>|category =Name of the unique category and form (deprecated)</s> |
|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 | |key_events =Name of important events, which provide the images at the top | ||
Line 22: | Line 22: | ||
{{#if: {{{key_events|}}}|Key events:{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}}} | {{#if: {{{key_events|}}}|Key events:{{#arraymap: {{{key_events|}}}|,|@@@|[[@@@]]}}}} | ||
{{#if: {{{category|}}}|<hr/>[[Form:{{{category}}}|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: [[ | + | {{#ask: [[Display at:{{FULLPAGENAME}}]] |
|?Start | |?Start | ||
|?End | |?End | ||
Line 36: | Line 36: | ||
}} | }} | ||
<hr/> | <hr/> | ||
− | {{#ask: [[ | + | {{#ask: [[Display at:{{FULLPAGENAME}}]] |
|?start | |?start | ||
|?end | |?end |
Revision as of 14:15, 3 July 2015
Concept • Document • Employment • Event • Group • Person • Publication • Website |
This template is for timelines.
It should be included at the top of all timeline pages.
Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameterswere formerly available, but have been upgraded. Some may still work, but do not use these.
See timeline for a list of pages that use this 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
}}