BETA webtags: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
777 bytes added ,  11:37, 10 February 2019
m (→‎Records: copying edit lost when Wiki moved)
 
(2 intermediate revisions by the same user not shown)
Line 395: Line 395:


==Day/Night/Sun/Moon==
==Day/Night/Sun/Moon==
 
These are updated each hour (b3047 or later = every 10 minutes) to refer to current time-zone
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 401: Line 401:
!style="width:600px" | Function
!style="width:600px" | Function
|-
|-
|colspan="2"|no new tags
|<#MoonAge>
|Current '''approximate''' age of the Moon in days (0-29)
b3047 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')
b3047 adds the 'dp' and 'rc' parameters as <#MoonAge> above
|-
|<#MoonPercentAbs>
|Current percentage of moon visible (always positive)
b3047 adds the 'dp' and 'rc' parameters as <#MoonAge> above
|}
|}


Navigation menu