Difference between revisions of "Template:Include timeline/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Gonnym
m (fix link)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
{{Lua|Module:Include timeline}}
 
{{Lua|Module:Include timeline}}
 
<includeonly>{{subst only|auto=no}}</includeonly>
 
<includeonly>{{subst only|auto=no}}</includeonly>
 +
 
==Usage==
 
==Usage==
 
You can use this template to include a timeline in an article page.
 
You can use this template to include a timeline in an article page.
Line 22: Line 23:
  
 
Default messages which appear when links are followed can be found here:
 
Default messages which appear when links are followed can be found here:
*[[Template:Include_timeline/horizontal_template]]
+
* [[Template:Include timeline/horizontal template]]
*[[Template:Include_timeline/horizontal_instructions]]
+
* [[Template:Include timeline/horizontal instructions]]
*[[Template:Include_timeline/vertical_template]]
+
* [[Template:Include timeline/vertical template]]
*[[Template:Include_timeline/vertical_instructions]]
+
* [[Template:Include timeline/vertical instructions]]
  
 
The two templates which are employed by this template are:
 
The two templates which are employed by this template are:
*[[Template:Graphical timeline]]
+
* [[Template:Graphical timeline]]
*[[Template:Simple Horizontal timeline]]
+
* [[Template:Horizontal timeline]]
**[[Template:Horizontal timeline]] (Old template)
 
  
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
 
[[Category:Generic timeline templates]]
 
[[Category:Generic timeline templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:36, 4 October 2020


Usage

You can use this template to include a timeline in an article page.

  1. Type {{subst:Include timeline}} where you want the timeline to appear.
  2. Click "Preview"
  3. In the box that appears, follow the link to create a timeline
  4. Fill in the blanks using the instructions that appear
  5. Once you've saved your timeline, return to the article page and press "save". The timeline will appear wherever {{subst:Include timeline}} lies.

Advanced usage

If you wish to include more than one timeline in an article, or use a timeline in lots of different articles, just type {{subst:Include timeline|timeline name}}.

If you've made a timeline on the page "Abbey Road (album)", and now want to include it on the page "Beatles" too, just enter {{subst:Include timeline|Abbey Road (album)}} on the "Beatles" page.

Why use it?

Many editors feel that large amounts of template code in an article makes it harder to read and edit, both scaring off new editors and deterring others from making edits. It also makes it easier to use templates that appear on one page, from another.

See also

Default messages which appear when links are followed can be found here:

The two templates which are employed by this template are: