User:CIA391/Timeline: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
|||
Line 21: | Line 21: | ||
*[https://cdn.discordapp.com/attachments/253093882911260672/886982616719425536/EXr9C5PXQAMN2bZ.png Hopeful design] | *[https://cdn.discordapp.com/attachments/253093882911260672/886982616719425536/EXr9C5PXQAMN2bZ.png Hopeful design] | ||
*[[User:CIA391/timeline|Timeline box work]] | *[[User:CIA391/timeline|Timeline box work]] | ||
====Fixes needed before template can be used==== | |||
*Add a overwrite clause to avoid the following issues. | |||
**Real world years | |||
***1998, 2000, 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 | |||
**Redirects = Fix remove the ones that are useless. Then add a "ignore caveat". | |||
***7, 360, 343, 4096 | |||
*Fix 1 to 9 adding a "0s" to the years and decades. | |||
*Lower decades to 1 next and 1 previous. | |||
*Automate decades | |||
*Add the ability to connect to the first BCE year automatically. | |||
====Work to get the loop working as intended==== | ====Work to get the loop working as intended==== |
Revision as of 16:06, November 23, 2021
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
- User:CIA391/2500s: This is a wip of 1 possible decade layout. Version 0.1
Years/Decades infobox
Fixes needed before template can be used
- Add a overwrite clause to avoid the following issues.
- Real world years
- 1998, 2000, 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020
- Redirects = Fix remove the ones that are useless. Then add a "ignore caveat".
- 7, 360, 343, 4096
- Real world years
- Fix 1 to 9 adding a "0s" to the years and decades.
- Lower decades to 1 next and 1 previous.
- Automate decades
- Add the ability to connect to the first BCE year automatically.
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|}}}} }}
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
- Timenav current.
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