Template:Timeline: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Line 1: Line 1:
<div style="width:250px; border:1px solid #999; border-radius:.5em 0 0 .5em; padding:2px 6px 6px 6px; float:right; margin:4px 2px; margin-right:0px; background:#FFF;">{{#if:{{{previous|}}}|<div style="text-align:center; font-weight:bold;">Timeline</div><div style="border-top:1px solid #aaaaaa;">'''Previous''': [[{{{previous|}}}]]</div>|<div style="text-align:center; font-weight:bold;">Timeline</div>}}
<div style="width:250px; border:1px solid #999; border-radius:.5em 0 0 .5em; padding:2px 6px 6px 6px; float:right; margin:4px 2px; margin-right:0px; background:#FFF;">{{#if:{{{previous|}}}|<div style="text-align:center; font-weight:bold;">Timeline</div><div style="border-top:1px solid #aaaaaa;">'''Previous''': [[{{{previous|}}}]]</div>|<div style="text-align:center; font-weight:bold;">Timeline</div>}}
{{#if:{{{next|}}}|{{#if:{{{previous|}}}|'''Next''': [[{{{next|}}}]]|<div style="text-align:center; font-weight:bold;">Timeline</div><div style="border-top:1px solid #aaaaaa;">'''Next''': [[{{{next|}}}]]</div>}}}}__NOTOC__
{{#if:{{{next|}}}|{{#if:{{{previous|}}}|'''Next''': [[{{{next|}}}]]|<div style="text-align:center; font-weight:bold;">Timeline</div><div style="border-top:1px solid #aaaaaa;">'''Next''': [[{{{next|}}}]]</div>}}}}__NOTOC__
==About==
This template is for the Timeline project. To insert the previous and/or subsequent years, add in the following parameters to the template:
<pre>
|previous=
|next=
</pre>
'''Note''': if there are no previous or subsequent years, the relevant parameter need not be added to the template. See [[2610]] and [[500,000,000 BCE]] for examples.


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 22:37, August 31, 2017

Timeline