Difference between revisions of "Template:Date"
Jump to navigation
Jump to search
Mayfifteenth (talk | contribs) Tag: Reverted |
Mayfifteenth (talk | contribs) m Tag: Reverted |
||
Line 14: | Line 14: | ||
</noinclude> | </noinclude> | ||
<onlyinclude><includeonly> | |||
{{#switch: {{{2|}}} | {{#switch: {{{2|}}} | ||
| #default = [[Skywatch Year|SY]] [[{{{1}}}]] | | #default = [[Skywatch Year|SY]] [[{{{1}}}]] | ||
Line 19: | Line 20: | ||
| 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}}}) |}} | ||
}} | }} | ||
</onlyinclude></includeonly> |
Revision as of 18:26, 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}} | |
calendar | string | Options: fcc or gu | {{date|3100|fcc}} | |
show | Boolean | Default: TRUE | {{date|3100|false}} |