Difference between revisions of "Template:Date"
Jump to navigation
Jump to search
Mayfifteenth (talk | contribs) Tags: Manual revert Reverted |
Mayfifteenth (talk | contribs) Tag: Reverted |
||
Line 14: | Line 14: | ||
</noinclude> | </noinclude> | ||
{{#switch: {{{2|}}} | {{#switch: {{{2|}}} | ||
| #default = [[Skywatch Year|SY]] [[{{{1}}}]] | | #default = [[Skywatch Year|SY]] [[{{{1}}}]] | ||
Line 20: | Line 19: | ||
| gu = [[Grand Unification|GU]] [[{{{1}}}|{{#expr:{{{1}}}-3197}}]] {{#ifeq:{{{3}}} | true | ([[Skywatch Year|SY]] {{{1}}}) |}} | | gu = [[Grand Unification|GU]] [[{{{1}}}|{{#expr:{{{1}}}-3197}}]] {{#ifeq:{{{3}}} | true | ([[Skywatch Year|SY]] {{{1}}}) |}} | ||
}} | }} | ||
Revision as of 18:24, 13 June 2023
To use this template, utilize {{date|(int)date}}
to display the template. This will link back to the Skywatch Calendar and link to the year, standardized on the Skywatch Calendar.
Sample
{{date|(int)date|(string)calendar|(boolean)show SY}}
Parameter | Type | Options/Default | Example | |
---|---|---|---|---|
date | Integer | Required | {{date|3100}} | SY 3100 |
calendar | string | Options: fcc or gu | {{date|3100|fcc}} | FCC 480 (SY 3100) |
show | Boolean | Default: TRUE | {{date|3100|false}} | FCC 480 |
SY [[{{{1}}}]]