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

From blackwiki
Jump to navigation Jump to search
imported>Smith609
m (Created page with '<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS...')
 
imported>Smith609
m
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
+
<includeonly><div class="notice plainlinks" id="disambig">''This [[Wikipedia:Template documentation|documentation]] is [[Wikipedia:Transclusion|transcluded]] from [[{{FULLPAGENAME}}/doc]]''. <small>([{{fullurl:{{FULLPAGENAMEE}}/doc|action=edit}} edit] | [{{fullurl:{{FULLPAGENAMEE}}/doc|action=history}} history])</small>{{#ifeq:
 +
{{#expr: {{#ifexist: {{#rel2abs: /sandbox }}|1|0}} and
 +
{{#ifexist: {{#rel2abs: /testcases}}|1|0}} }} |1 |<br />''This template has a [[/sandbox|sandbox]]'' <small>([{{fullurl:{{FULLPAGENAMEE}}/sandbox|action=edit}} edit])</small> ''and [[/testcases|testcases]]'' for editors to experiment|<!-- do nothing when either /sandbox or /testcases exists-->}}</div></includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
  
Include this template into a page when you want to create a {{tl|graphical timeline}}. Press preview to generate a link to the new timeline page; once the timeline is created the template will embed it in the article, keeping the code safely tucked away elsewhere. To include a timeline with a different name of the form <code><nowiki>{</nowiki>{'''NAME''' graphical timeline}}</code>, use <code><nowiki>{{include t</nowiki>imeline|'''NAME'''}}</code>
+
Include this template into a page when you want to create a {{tl|graphical timeline}}.  
 +
 
 +
===First use===
 +
Press preview to generate a link to the new timeline page, and brief instructions on how to create the timeline.
 +
 
 +
===Once the timeline's created...===
 +
Save the article page. The template will then automatically embed the new timeline in in the article, keeping the code safely tucked away elsewhere where it can be easily edited.
 +
 
 +
===Setting the timeline name===
 +
The template automatically created a link to a template page called <tt>PAGENAME grapical timeline</tt>, where the timeline is stored. If you want to change the name of the timeline, for example because you are including two timelines in an article, use <code><nowiki>{{include t</nowiki>imeline|'''NAME'''}}</code>, which will use the page <tt>NAME grapical timeline</tt>.

Revision as of 08:57, 18 June 2007

Template:Template doc page viewed directly

Include this template into a page when you want to create a {{graphical timeline}}.

First use

Press preview to generate a link to the new timeline page, and brief instructions on how to create the timeline.

Once the timeline's created...

Save the article page. The template will then automatically embed the new timeline in in the article, keeping the code safely tucked away elsewhere where it can be easily edited.

Setting the timeline name

The template automatically created a link to a template page called PAGENAME grapical timeline, where the timeline is stored. If you want to change the name of the timeline, for example because you are including two timelines in an article, use {{include timeline|NAME}}, which will use the page NAME grapical timeline.