Template:Constellation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(test for auto-seasons)
(bugfix)
Line 4: Line 4:
! colspan="3" align="center" | Visibility:
! colspan="3" align="center" | Visibility:
|-
|-
| colspan="3" align="center" | {{#if:{{ifAND:{{{dstart|}}}|{{{dend}}}}}|{{#arraymap:{{ConstellationSeasons|start={{{dstart|}}}|end={{{dend|}}}}}|,|x|[[seasons available::x]]}}|[[missing::Seasons visible|''Unknown'']]}}
| colspan="3" align="center" | {{#if:{{ifAND:{{{dstart|}}}|{{{dend|}}}}}|{{#arraymap:{{ConstellationSeasons|start={{{dstart|}}}|end={{{dend|}}}}}|,|x|[[seasons available::x]]}}|[[missing::Seasons visible|''Unknown'']]}}
|-
|-
| || '''Start:''' || '''End:'''
| || '''Start:''' || '''End:'''

Revision as of 21:59, 20 November 2010

Usage Documentation

  • Any item in the description that is in italics is a default value.
Variable Supported Values Usage
season <date> The seasons the constellation is in the sky.
dstart <date> The day when the constellation first appears.
dend <date> The day when the constellation disappears.
tstart The hour when the constellation first can be seen in the sky, or day/night for all day or all night.
tend The hour when the constellation vanishes from the sky.
skill <skillset> The skillset that can be affected using this constellation for predictions. Use , as separator.
circle <circle> Circle the constellation is learned at.
telescope yes/no If a telescope is required or not.
sls <description>/- The starlight sphere's description. Use "-" if none.
type c/m/p Type of body it is. Constellation, Moon, or Planet.