Difference between revisions of "Template:Date"
Jump to navigation
Jump to search
Mayfifteenth (talk | contribs) Tag: Reverted |
Mayfifteenth (talk | contribs) m Tag: Reverted |
||
Line 5: | Line 5: | ||
<code>{{date|<em>(int)date</em>|<em>(string)calendar</em>|<em>(boolean)show SY</em>}}</code> | <code>{{date|<em>(int)date</em>|<em>(string)calendar</em>|<em>(boolean)show SY</em>}}</code> | ||
<table style="width: | <table style="width:75%;" border=1px> | ||
<tr><th width=" | <tr><th width="15%" style="text-align:left;">Parameter</th><th width="15%" style="text-align:left;">Type</th><th width="20%" style="text-align:left;">Options/Default</th><th colspan="2" width="50%">Example</th></tr> | ||
<tr><td>date</td><td><code>Integer</code></td><td><span class="color:red">Required</span></td><td>{{date|3100}}</td><td>{{date|2300}}</td></tr> | <tr><td>date</td><td><code>Integer</code></td><td><span class="color:red">Required</span></td><td style="text-align:center;"><code>{{date|3100}}</code></td><td style="text-align:center;">{{date|2300}}</td></tr> | ||
<tr><td>calendar</td><td><code>string</code></td><td>Options: fcc or gu</td><td>{{date|3100|fcc}}</td><td>{{date|2300|fcc}}</td></tr> | <tr><td>calendar</td><td><code>string</code></td><td>Options: fcc or gu</td><td style="text-align:center;"><code>{{date|3100|fcc}}</code></td><td style="text-align:center;">{{date|2300|fcc}}</td></tr> | ||
<tr><td>show</td><td><code>Boolean</code></td><td>Default: TRUE</td><td>{{date|3100|false}}</td><td>{{date|2300|fcc|false}}</td></tr> | <tr><td>show</td><td><code>Boolean</code></td><td>Default: TRUE</td><td style="text-align:center;"><code>{{date|3100|false}}</code></td><td style="text-align:center;">{{date|2300|fcc|false}}</td></tr> | ||
</table> | </table> | ||
Revision as of 18:15, 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}} |