Template:Yearbox

From PathfinderWiki
Information icon.jpg

This template employs some extremely complicated or esoteric features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the sandbox or your user space.

Template documentation (for the above template, sometimes hidden or invisible)

Use {{Yearbox}} on any page representing a year in Golarion history. It is designed to provide quick links to five years in the immediate past and future. In the case where there are entries for every year, it will automatically provide these links, but for situations where there are not entries for each year (such as long in the past when nothing notable happened in many individual years), manual overrides can be provided to give the five closest past and future years with events to note.

Basic Usage

You must include the year on the template, despite the year number being in the article title. You should provide the year in Absalom Reckoning. Don't include the "AR" in the year—only the number is necessary.

{{Yearbox
|age  = Age of Lost Omens
|year = 4707
}}

This will produce:

Age of Lost Omens
4702 4703 4704 4705 4706 4707 AR 4708 4709 4710 4711 4712


In the above example, the 'age' parameter is optional. If it is omitted, it will simply not be displayed. Please see the Ages category for a list of suitable age names. It is important to give a valid age name if one is provided, because the template will provide a link to the article about that age.

Overriding Years

When the five immediate past or future years with notable events are not consecutive, you will need to provide manual overrides. Luckily this is not complicated, as in this example.

{{Yearbox
|age=Crown Wars
|year=-11400
|yp1=-11500
|yp2=-11600
|yp3=-11700
|yp4=-11800
|yp5=-12000
|yf1=-11300
|yf2=-11200
|yf3=-11003
|yf4=-11000
|yf5=-10900
}}

This will produce:

Crown Wars
-12000 -11800 -11700 -11600 -11500 -11400 AR -11300 -11200 -11003 -11000 -10900