Template:Yearbox: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
Rexidos (talk | contribs)
Added SE
Rexidos (talk | contribs)
Automatic era calculation
Line 1: Line 1:
<includeonly>{| class="yearbox" style="border: 1px solid #BBB; margin: auto; padding: 0.5em"
<includeonly>{| class="yearbox" style="border: 1px solid #BBB; margin: auto; padding: 0.5em"
|-
|-
| colspan="11" style="text-align:center; text-decoration: underline;" |{{ #if: {{{age|}}} | [[{{{age}}}]] }}
| colspan="11" style="text-align:center; text-decoration: underline;" |
&bull; [[World of Greyhawk Timeline]]
{{#ifexpr:                          {{{year|}}} < -5515 | &bull; [[Age Before Ages]] }}
{{#ifexpr: {{{year|}}} >= -5515 and {{{year|}}} < -484  | &bull; [[Age of Glory]] }}
{{#ifexpr: {{{year|}}} >= -484  and {{{year|}}} <  1    | &bull; [[Great Migrations]] }}
{{#ifexpr: {{{year|}}} >= 1    and {{{year|}}} <  601  | &bull; [[Common Era]] }}
{{#ifexpr: {{{year|}}} >= -213  and {{{year|}}} <  601  | &bull; [[Age of Sorrow]] }}
{{#ifexpr: {{{year|}}} >= 601                          | &bull; [[Future events]] }}
&bull;
|- style="text-align: center;"
|- style="text-align: center;"
| [[{{#invoke:Date|Add|year={{{year|}}}|delta=-5}} CY|{{#invoke:Date|Add|year={{{year|}}}|delta=-5}}]]
| [[{{#invoke:Date|Add|year={{{year|}}}|delta=-5}} CY|{{#invoke:Date|Add|year={{{year|}}}|delta=-5}}]]
Line 29: Line 37:
{{Yearbox
{{Yearbox
|year    = (Place only the number of the year the article is about here.)
|year    = (Place only the number of the year the article is about here.)
|age    = (Place the name of the Age the year belongs in here.  Such as "First Age", "Age of Mortals", "Age of Worms", etc. … or leave blank.)
}}
}}
</pre>
</pre>
Line 37: Line 44:
You can easily cut and paste them from here and delete the ones you don't use:  
You can easily cut and paste them from here and delete the ones you don't use:  


<pre>
<pre>==Events==
'''XXX CY''' is the XXXth year of the [[Common Year]] reckoning.  (Replace Xs with actual number.)
<onlyinclude>
 
==Equivalents in Other Reckonings==
*
*
 
==Events of XXX CY==
* (Briefly describe each separate, important
* (Briefly describe each separate, important
*  event in a separate bullet-point.)
*  event in a separate bullet-point.)
*
</onlyinclude>


==Greyhawk products set in XXX CY==
==Publications==


==References==
==Notes==
====Citations====
<references />
====Bibliography====
*


(Any )


[[Category:Years]] or [[Category:Years|-]] (depending if it is a year containing a negative number)
[[Category:Years]]</pre>
</pre>




[[Category:Content templates]]
[[Category:Content templates]]
</noinclude>
</noinclude>

Revision as of 16:18, 28 June 2021

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
ViewEditHistory
This template is not yet documented. Please create documentation here: Template:Yearbox/doc
  • (Briefly describe each separate, important
  • event in a separate bullet-point.)

Usage

Copy and paste this section at the top of the new article, and fill in the information areas. The year is necessary, in order to generate the other years before and after it. If "Age" is left undefined it will not appear.

{{Yearbox
|year    = (Place only the number of the year the article is about here.)
}}

Standard Sections

These are some typical section headers for an article about a year in the Common Year calendar.

You can easily cut and paste them from here and delete the ones you don't use:

==Events==
<onlyinclude>
* (Briefly describe each separate, important
*  event in a separate bullet-point.)
</onlyinclude>

==Publications==

==Notes==

(Any )

[[Category:Years]]