Template:Yearbox: Difference between revisions

From Greyhawk Wiki
Jump to navigation Jump to search
m Minor details of Template ... canging actual dates for "XX CY", etc
Rexidos (talk | contribs)
Tidy HTML
Line 1: Line 1:
<includeonly>
<includeonly>
<table style="border:1px solid #BBB; margin:auto ">
{| class="yearbox" style="border: 1px solid #BBB; margin: auto; padding: 0.5em"
<tr><td style=" -webkit-flex:auto; -ms-flex:auto; flex:auto;"><!--Empty--></td></tr>
<tr><td class="yearbox">
{|
|-
|-
| 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}}}|-|&minus;}}]] | [[{{#expr: {{{year|-4}}}+4 }} CY|{{#replace:{{#expr: {{{year|-4}}}+4 }}|-|&minus;}}]] }}
| {{ #if: {{{yf4|}}} | [[{{{yf4}}} CY|{{#replace:{{{yf4}}}|-|&minus;}}]] | [[{{#expr: {{{year|-4}}}+4 }} CY|{{#replace:{{#expr: {{{year|-4}}}+4 }}|-|&minus;}}]] }}
| {{ #if: {{{yf5|}}} | [[{{{yf5}}} CY|{{#replace:{{{yf5}}}|-|&minus;}}]] | [[{{#expr: {{{year|-5}}}+5 }} CY|{{#replace:{{#expr: {{{year|-5}}}+5 }}|-|&minus;}}]] }}
| {{ #if: {{{yf5|}}} | [[{{{yf5}}} CY|{{#replace:{{{yf5}}}|-|&minus;}}]] | [[{{#expr: {{{year|-5}}}+5 }} CY|{{#replace:{{#expr: {{{year|-5}}}+5 }}|-|&minus;}}]] }}
|-
|}
|}
</tr></td>
</includeonly><noinclude>
<tr><td  style="-webkit-flex:auto; -ms-flex:auto; flex:auto;"><!--Empty--></tr></td>
<tr></td></table></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 Non-Player Character anywhere on Oerik.  
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.
ViewEditHistory
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)