Template:Yearbox: Difference between revisions
Jump to navigation
Jump to search
Added SE |
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;" |{{ # | | colspan="11" style="text-align:center; text-decoration: underline;" | | ||
• [[World of Greyhawk Timeline]] | |||
{{#ifexpr: {{{year|}}} < -5515 | • [[Age Before Ages]] }} | |||
{{#ifexpr: {{{year|}}} >= -5515 and {{{year|}}} < -484 | • [[Age of Glory]] }} | |||
{{#ifexpr: {{{year|}}} >= -484 and {{{year|}}} < 1 | • [[Great Migrations]] }} | |||
{{#ifexpr: {{{year|}}} >= 1 and {{{year|}}} < 601 | • [[Common Era]] }} | |||
{{#ifexpr: {{{year|}}} >= -213 and {{{year|}}} < 601 | • [[Age of Sorrow]] }} | |||
{{#ifexpr: {{{year|}}} >= 601 | • [[Future events]] }} | |||
• | |||
|- 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.) | ||
}} | }} | ||
</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== | ||
<onlyinclude> | |||
== | |||
* (Briefly describe each separate, important | * (Briefly describe each separate, important | ||
* event in a separate bullet-point.) | * event in a separate bullet-point.) | ||
</onlyinclude> | |||
== | ==Publications== | ||
== | ==Notes== | ||
(Any ) | |||
[[Category:Years]] | [[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. |
| View • Edit • History |
- 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]]