User:CIA391/Timeline

From Halopedia, the Halo wiki

< User:CIA391
Revision as of 15:32, November 23, 2021 by CIA391 (talk | contribs)

Put generic start line here (this is using a layout that Memory alpha uses here

Stuff to work on

1. Finish fixing up the current timeline. 2. Do work on making the info/nav/box work better. 3. Create decade and century pages. 4. Maybe create millennium pages. 5. Make main hub easy to understand plus have interesting stuff to draw the readers attention.

Current work that is here and there

Timeline design

Decades

Years/Decades infobox

Work to get the loop working as intended

{{#vardefine:i|2470}}{{#while:
|{{#if:{{#var:i}}|{{#ifexpr:{{#var:i}}<3000|true}}}}
|{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}{{#ifexist:{{#var:i}}|[[{{#var:i}}]]{{#vardefine:i|}}}}
}}


2469


#while:

#while:

Logic

  • Start = 2470 (Page name)
  • Goal = 2473 (Next page)
  • Start = i
  • If i is not a link + 1 (loop)
  • If i is a link display

Likely need to use ifexist

  • {{#ifexist: 2473 | exists | no }}

Century/Millennium + Distant past infobox

Timeline nav version 1

Template:Appearances

Timeline versions

We can go three routes here. 1. Follow the text version we have here 2. We go a wide spanning one that Memory Alpha has. 3. We do both! :D