User:CIA391/timeline5

From Halopedia, the Halo wiki

Lua prelim work.

Intentions

Use a Module:Timeline with /CE and /BCE stuff to implement lua into the main timeline template to make stuff easier to understand and work with in the long run. + Fix some issues I come across.

Build in a 1997 to 2050 Real world exception. IE when irl years appear it picks the in-universe version if it exists.

Build in a ignore for pre-determined number pages/redirects. IE stuff like 343, and if able pick the in-universe version if it exists.

Current work

Current fields required

  • title - This isn't a field that gets entered manually.
  • image - This is a image/images/tabber containing images of the weapon
  • caption - This is the caption of the image/images/tabber containing images of the year
  • other - This is information tied to other dating systems used in Halo.
  • previous1 - this is usually two years pages before the current. If the year is 2552, then this will be 2550
  • previous2 - this is usually one years pages before the current. If the year is 2552, then this will be 2551
  • next1 - this is usually one year after the current. If the year is 2552, then this will be 2553
  • next2 - this is usually two years after the current. If the year is 2552, then this will be 2554
  • dyear0 - Used to disable the start of a decade (example 2000)
  • dyear1 - Used to disable XXX1 of a decade (example 2001)
  • dyear2 - Used to disable XXX2 of a decade (example 2002)
  • dyear3 - Used to disable XXX3 of a decade (example 2003)
  • dyear4 - Used to disable XXX4 of a decade (example 2004)
  • dyear5 - Used to disable XXX5 of a decade (example 2005)
  • dyear6 - Used to disable XXX6 of a decade (example 2006)
  • dyear7 - Used to disable XXX7 of a decade (example 2007)
  • dyear8 - Used to disable XXX8 of a decade (example 2008)
  • dyear9 - Used to disable XXX9 of a decade (example 2009)

Chunks to work on

Header loop

#if: PAGENAME #if:

Double previous

#if:


Double next

#if:

Millennium selector

#ifeq: 1

Century selector

#ifeq: 1

Years in the decade "decade"

#ifeq:13

Years in the decade "years"

#ifeq:13