Template:Timeline/doc: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
This template works automatically. Simply place <nowiki>{{timeline}}</nowiki> on any year, date or century page. The template does the rest for you. | |||
< | |||
{{timeline | |||
}} | |||
</ | |||
'''It is completely automatic, and has no user-definable parameters.''' | |||
==Sample output== | |||
Because this template uses parser functions that manipulate the PAGENAME of pages on which it is placed, it is impossible to show sample output on '''this''' page ('''{{FULLPAGENAME}}'''). If you wish to test it, just go to any timeline-related page and use it. | |||
==Special note== | |||
This is the second version of this template. The past version required users to specifically define several variables. Thus you may occasionally encounter pages where this template has defined parameters. These are harmless, and do not impinge upon the proper operation of this version of the template. To reiterate, however, they are not required, or even used, by this template. Thus, editors should refrain from trying to define parameters such as "next", "prev", "century" and "decade". | |||
= | |||
{{ | |||
== | |||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 07:34, 31 March 2010
Usage
This template works automatically. Simply place {{timeline}} on any year, date or century page. The template does the rest for you.
It is completely automatic, and has no user-definable parameters.
Sample output
Because this template uses parser functions that manipulate the PAGENAME of pages on which it is placed, it is impossible to show sample output on this page (Template:Timeline/doc). If you wish to test it, just go to any timeline-related page and use it.
Special note
This is the second version of this template. The past version required users to specifically define several variables. Thus you may occasionally encounter pages where this template has defined parameters. These are harmless, and do not impinge upon the proper operation of this version of the template. To reiterate, however, they are not required, or even used, by this template. Thus, editors should refrain from trying to define parameters such as "next", "prev", "century" and "decade".