Template:Stardate: Difference between revisions
m (Added leap year calculation) |
m (added link to new stardate calculation) |
||
Line 1: | Line 1: | ||
<div style="border:1px solid #000000; border-top: none; border-right: none; background: #444444; text-align: center; padding: 2px; padding-top: 0px; float: right; position: absolute; right: 0; top: 80px; font-size: smaller; line-height: 1.4; width: 65px;"> | <includeonly><div style="border:1px solid #000000; border-top: none; border-right: none; background: #444444; text-align: center; padding: 2px; padding-top: 0px; float: right; position: absolute; right: 0; top: 80px; font-size: smaller; line-height: 1.4; width: 65px;"> | ||
<div style="background: #000000; color: #FFFFFF; padding: 1px;">'''Stardate'''</div><div style="width: 100%;"> '''<font color=white>{{#expr:{{LOCALYEAR}}-1945}}{{#expr:{{#time: z}}/365.25*1000 round 1}}</font>'''</div> | <div style="background: #000000; color: #FFFFFF; padding: 1px;">'''Stardate'''</div><div style="width: 100%;"> '''<font color=white>{{#expr:{{LOCALYEAR}}-1945}}{{#expr:{{#time: z}}/365.25*1000 round 1}}</font>'''</div> | ||
</div> | </div> | ||
<div style="border:1px solid #000000; border-top: none; border-right: none; background: #444444; text-align: center; padding: 2px; padding-top: 0px; float: right; position: absolute; right: 70px; top: 80px; font-size: smaller; line-height: 1.4; width: 65px;"> | <div style="border:1px solid #000000; border-top: none; border-right: none; background: #444444; text-align: center; padding: 2px; padding-top: 0px; float: right; position: absolute; right: 70px; top: 80px; font-size: smaller; line-height: 1.4; width: 65px;"> | ||
<div style="background: #000000; color: #FFFFFF; padding: 1px;">'''Year'''</div><div style="width: 100%;"> '''<font color=white>{{#expr:{{LOCALYEAR}}+378}}</font>'''</div> | <div style="background: #000000; color: #FFFFFF; padding: 1px;">'''Year'''</div><div style="width: 100%;"> '''<font color=white>{{#expr:{{LOCALYEAR}}+378}}</font>'''</div> | ||
</div> | </div></includeonly> | ||
<noinclude>The Stardate calculator ST:EQ uses can be found [https://startrekeq.com/stardate.php here].</noinclude> |
Revision as of 11:30, 25 July 2023
The Stardate calculator ST:EQ uses can be found here.