BETA webtags: Difference between revisions

m (→‎Records: copying edit lost when Wiki moved)
 
==Day/Night/Sun/Moon==
These are updated each hour to refer to current time-zone
 
{| class="wikitable" border="1"
|-
!style="width:600px" | Function
|-
|<#MoonAge>
|colspan="2"|no new tags
|Current '''approximate''' age of the Moon in days (0-29)
b3046 adds the 'dp' and 'rc' parameters
Supports an optional 'dp' parameter, if supplied the result is returned to the specified number of decimal places. E.g
<#MoonAge> gives "11"
<#MoonAge dp=3> gives "11.234"
 
If the "dp" parameter is supplied, then also supplying "rc=y" in addition will cause any decimal comma to be converted to a decimal point.
|-
|<#MoonPercent>
|Current percentage of moon visible (negative value indicates 'waning')
b3046 adds the 'dp' and 'rc' parameters as <#MoonAge> above
|-
|<#MoonPercentAbs>
|Current percentage of moon visible (always positive)
b3046 adds the 'dp' and 'rc' parameters as <#MoonAge> above
|}