Difference between revisions of "Template:Timeline"
Jump to navigation
Jump to search
(Another object template) |
(Required parameter) |
||
Line 6: | Line 6: | ||
}} | }} | ||
'''Usage:''' | '''Usage:''' | ||
− | |||
<poem> | <poem> | ||
{{Timeline | {{Timeline | ||
+ | ''Required parameter:'' | ||
|position =When the timeline is centered | |position =When the timeline is centered | ||
+ | ''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) | |category =Name of the unique category and form (deprecated) | ||
Line 17: | Line 18: | ||
</noinclude><includeonly>{{SMWObjectHeader|Timeline}} | </noinclude><includeonly>{{SMWObjectHeader|Timeline}} | ||
__NOCACHE__ | __NOCACHE__ | ||
− | { | + | {{#if: {{{position|}}}|{{#ask: [[Category:{{{category|}}}]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|?start | |?start | ||
|?end | |?end | ||
Line 41: | Line 31: | ||
|Xend= | |Xend= | ||
|limit=200 | |limit=200 | ||
− | }}[[Category:Timelines]]{{SMWDocs}} | + | }}|{{RED|Missing required parameter: {{t|position}}}}}}[[Category:Timelines]]{{SMWDocs}} |
</includeonly> | </includeonly> |
Revision as of 15:24, 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)
}}