Template:Yearbox: Difference between revisions
Jump to navigation
Jump to search
Abra Saghast (talk | contribs) m Minor details of Template ... canging actual dates for "XX CY", etc |
Tidy HTML |
||
| Line 1: | Line 1: | ||
<includeonly> | <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;" |{{ #if: {{{age|}}} | [[{{{age}}}]] }} | ||
| Line 19: | Line 15: | ||
| {{ #if: {{{yf4|}}} | [[{{{yf4}}} CY|{{#replace:{{{yf4}}}|-|−}}]] | [[{{#expr: {{{year|-4}}}+4 }} CY|{{#replace:{{#expr: {{{year|-4}}}+4 }}|-|−}}]] }} | | {{ #if: {{{yf4|}}} | [[{{{yf4}}} CY|{{#replace:{{{yf4}}}|-|−}}]] | [[{{#expr: {{{year|-4}}}+4 }} CY|{{#replace:{{#expr: {{{year|-4}}}+4 }}|-|−}}]] }} | ||
| {{ #if: {{{yf5|}}} | [[{{{yf5}}} CY|{{#replace:{{{yf5}}}|-|−}}]] | [[{{#expr: {{{year|-5}}}+5 }} CY|{{#replace:{{#expr: {{{year|-5}}}+5 }}|-|−}}]] }} | | {{ #if: {{{yf5|}}} | [[{{{yf5}}} CY|{{#replace:{{{yf5}}}|-|−}}]] | [[{{#expr: {{{year|-5}}}+5 }} CY|{{#replace:{{#expr: {{{year|-5}}}+5 }}|-|−}}]] }} | ||
|- | |||
|} | |} | ||
</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
{{Yearbox | {{Yearbox | ||
| Line 38: | Line 33: | ||
</pre> | </pre> | ||
==Standard Sections== | ==Standard Sections== | ||
These are some typical section headers for an article about a | 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: | You can easily cut and paste them from here and delete the ones you don't use: | ||
Revision as of 17:22, 15 May 2020
| 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
| Age of Men | ||||||||||
| 586 | 587 | 588 | 589 | 590 | 591 CY | 592 | 593 | 594 | 595 | 596 |
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.)
|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.)
}}
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:
'''XXX CY''' is the XXXth year of the [[Common Year]] reckoning. (Replace Xs with actual number.) ==Equivalents in Other Reckonings== * * ==Events of XXX CY== * (Briefly describe each separate, important * event in a separate bullet-point.) * ==Greyhawk products set in XXX CY== ==References== ====Citations==== <references /> ====Bibliography==== * [[Category:Years]] or [[Category:Years|-]] (depending if it is a year containing a negative number)