Template:Infobox/Timeline/CE: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{pagetitle\|{{{pagetitle\|{{{pagename\|{{PAGENAME}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
mNo edit summary
 
Line 47: Line 47:
{{#if:{{{dyear0|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0 {{*}} }}}} {{#if:{{{dyear1|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1 {{*}} }}}} {{#if:{{{dyear2|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2 {{*}} }}}} {{#if:{{{dyear3|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3 {{*}} }}}} {{#if:{{{dyear4|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4|{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4]]|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4}}}}<br>{{#if:{{{dyear5|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5 {{*}} }}}} {{#if:{{{dyear6|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6 {{*}} }}}} {{#if:{{{dyear7|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7 {{*}} }}}} {{#if:{{{dyear8|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8 {{*}} }}}} {{#if:{{{dyear9|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9|{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9]] |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9}}}}}}</div>
{{#if:{{{dyear0|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}0 {{*}} }}}} {{#if:{{{dyear1|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}1 {{*}} }}}} {{#if:{{{dyear2|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}2 {{*}} }}}} {{#if:{{{dyear3|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}3 {{*}} }}}} {{#if:{{{dyear4|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4|{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4]]|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}4}}}}<br>{{#if:{{{dyear5|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}5 {{*}} }}}} {{#if:{{{dyear6|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}6 {{*}} }}}} {{#if:{{{dyear7|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}7 {{*}} }}}} {{#if:{{{dyear8|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8 {{*}} |{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8]] {{*}} |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}8 {{*}} }}}} {{#if:{{{dyear9|}}}|{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9|{{#ifexist:{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9|[[{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9]] |{{#sub:{{PAGENAME}}|0|{{#expr:{{#len:{{PAGENAME}}}}-1}}}}9}}}}}}</div>
-----
-----
<center>''For a complete list, see our [[:Category:Timeline|timeline category]].''</center></div>
<center>''For a complete list, see our [[:Category:Timeline|timeline category]].''</center>
{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Year}}}}}</includeonly><noinclude>{{Doc/Template}} __NOTOC__ [[Category:Infobox templates]]</noinclude>
</div>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Year}}}}}</includeonly><noinclude>{{Doc/Template}} __NOTOC__ [[Category:Infobox templates]]</noinclude>

Latest revision as of 14:24, March 22, 2024

vde
Template Documentation

Usage

This info/navigation box is for use on the top page of a year page without BCE at the end of it. So any year starting at hypothetical 1 to 2610.

Instructions

Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.

General

These are fields that will appear regardless.

  • 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)

Dates in other dating systems

This is information tied to other dating systems used in Halo. If a species or group uses a dating system; for example the Covenant Ages, we can put it in.

  • other

Previous and Next

These allow manual control over what the previous and next display. Mostly used if the template is unable to process too many features; and to connect to the BCE years. If these fields are not entered, the relevant fields will fill automatically unless an error occurs.

  • 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)

All the years in the

These fields are here to disable year links in a decade. Mostly these are used if the link leads to a real life page instead of a fictional one.

  • 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)

Layout

Please use this layout

{{Infobox/Timeline/CE
|image=
|caption=
|other=
}}