Template:Timeline: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Forgot to fix that extra whitespace.)
Line 1: Line 1:
<div style="width:250px; border:1px solid #999; border-radius:6px 0 0 5px; padding:2px 6px 6px 6px; float:right; margin:4px 2px; margin-right:0px; background:#FFF;"><div style="text-align:center; font-weight:bold;">Timeline</div>
<div style="width:250px; border:1px solid #999; border-radius:6px 0 0 5px; 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:{{{previous|}}}|<div style="border-top:1px solid #aaaaaa;">'''Previous''': [[{{{previous|}}}]]</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>}}|}}
{{#if:{{{next|}}}|{{#if:{{{previous|}}}|'''Next''': [[{{{next|}}}]]|<div style="border-top:1px solid #aaaaaa;">'''Next''': [[{{{next|}}}]]</div>}}|}}
----
----
{{scroll box|style=border-radius:4px 0 0 4px; border:1px solid #777; background:transparent; padding-left:0.5em; text-align:left;
{{scroll box|style=border-radius:4px 0 0 4px; border:1px solid #777; background:transparent; padding-left:0.5em; text-align:left;

Revision as of 13:20, August 28, 2016

About

This template is for the Timeline project. To insert the previous and/or subsequent years, add in the following parameters to the template:

|previous=
|next=

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.