Template:DecadeNav: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Undo revision 542421 by CzechOut (talk) undoing font change; will control font at css level)
Line 1: Line 1:
<includeonly>{| class="timeline"
<includeonly>{| class="timeline"
|-
|-
|<!--style=margin-left: 0px;margin-top:0px;line-height:110%;text-align:center; font-size:150%;"-->|<h2>[[Timeline]]</h2>
| style="margin-left: 0px;margin-top:0px;line-height:110%;text-align:center; font-size:150%;"|[[Timeline]]
|-align=center
|-align=center
|[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-50}}s]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-40}}s]]&nbsp;•[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-30}}s]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-20}}s]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-10}}s]]  
|[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-50}}s]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-40}}s]]&nbsp;•[[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-30}}s]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-20}}s]]&nbsp;• [[{{#expr:{{#sub:{{PAGENAME}}|0|4}}-10}}s]]  

Revision as of 05:57, 1 April 2011

Instructions for {{DecadeNav}}
Do not directly call this template. It is used to support other templates. Once another template decides that the topic of a page is a decade, this template will automatically provide a navigation box.

It is completely automatic, and has no user-definable parameters.

Sample output

Because this template is dependent upon detecting a PAGENAME that is a decade. its output can only be seen on a decade page. It is impossible to reproduce its results here. If you wish to test it, go to any decade and add {{timeline}} to the page.