Template:Yearbox: Difference between revisions
Jump to navigation
Jump to search
Abra Saghast (talk | contribs) m Changing Category:Common Years to Category:Years; including note on sorting for "negative" years |
Abra Saghast (talk | contribs) Changing box border color to black instead of red |
||
| Line 13: | Line 13: | ||
| {{ #if: {{{yp2|}}} | [[{{{yp2}}} CY|{{#replace:{{{yp2}}}|-|−}}]] | [[{{#expr: {{{year|2}}}-2 }} CY|{{#replace:{{#expr: {{{year|2}}}-2 }}|-|−}}]] }} | | {{ #if: {{{yp2|}}} | [[{{{yp2}}} CY|{{#replace:{{{yp2}}}|-|−}}]] | [[{{#expr: {{{year|2}}}-2 }} CY|{{#replace:{{#expr: {{{year|2}}}-2 }}|-|−}}]] }} | ||
| {{ #if: {{{yp1|}}} | [[{{{yp1}}} CY|{{#replace:{{{yp1}}}|-|−}}]] | [[{{#expr: {{{year|1}}}-1 }} CY|{{#replace:{{#expr: {{{year|1}}}-1 }}|-|−}}]] }} | | {{ #if: {{{yp1|}}} | [[{{{yp1}}} CY|{{#replace:{{{yp1}}}|-|−}}]] | [[{{#expr: {{{year|1}}}-1 }} CY|{{#replace:{{#expr: {{{year|1}}}-1 }}|-|−}}]] }} | ||
| style="border:1px | | style="border:1px black solid;" | '''{{#replace:{{{year|0}}}|-|−}} CY''' | ||
| {{ #if: {{{yf1|}}} | [[{{{yf1}}} CY|{{#replace:{{{yf1}}}|-|−}}]] | [[{{#expr: {{{year|-1}}}+1 }} CY|{{#replace:{{#expr: {{{year|-1}}}+1 }}|-|−}}]] }} | | {{ #if: {{{yf1|}}} | [[{{{yf1}}} CY|{{#replace:{{{yf1}}}|-|−}}]] | [[{{#expr: {{{year|-1}}}+1 }} CY|{{#replace:{{#expr: {{{year|-1}}}+1 }}|-|−}}]] }} | ||
| {{ #if: {{{yf2|}}} | [[{{{yf2}}} CY|{{#replace:{{{yf2}}}|-|−}}]] | [[{{#expr: {{{year|-2}}}+2 }} CY|{{#replace:{{#expr: {{{year|-2}}}+2 }}|-|−}}]] }} | | {{ #if: {{{yf2|}}} | [[{{{yf2}}} CY|{{#replace:{{{yf2}}}|-|−}}]] | [[{{#expr: {{{year|-2}}}+2 }} CY|{{#replace:{{#expr: {{{year|-2}}}+2 }}|-|−}}]] }} | ||
| {{ #if: {{{yf3|}}} | [[{{{yf3}}} CY|{{#replace:{{{yf3}}}|-|−}}]] | [[{{#expr: {{{year|-3}}}+3 }} CY|{{#replace:{{#expr: {{{year|-3}}}+3 }}|-|−}}]] }} | | {{ #if: {{{yf3|}}} | [[{{{yf3}}} CY|{{#replace:{{{yf3}}}|-|−}}]] | [[{{#expr: {{{year|-3}}}+3 }} CY|{{#replace:{{#expr: {{{year|-3}}}+3 }}|-|−}}]] }} | ||
| {{ #if: {{{yf4|}}} | [[{{{yf4}}} | | {{ #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 }}|-|−}}]] }} | ||
|} | |} | ||
Revision as of 09:44, 7 September 2019
| 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
| ||||||||||||||||||||||
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 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.)
}}
Standard Sections
These are some typical section headers for an article about a Non-Player Character anywhere on Oerik.
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 585 CY== * (Briefly describe each separate, important * event in a separate bullet-point.) * ==Greyhawk products set in 585 CY== ==References== ====Citations==== <references /> ====Bibliography==== * [[Category:Years]] or [[Category:Years|-]] (depending if it is a year containing a negative number)