Template:Constellation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 4: Line 4:
! colspan="3" align="center" | Visibility:
! colspan="3" align="center" | Visibility:
|-
|-
| colspan="3" align="center" | {{#if:{{{season|}}}|{{#arraymap:{{{season}}}|,|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:'''
Line 25: Line 25:
| '''[[Starlight Sphere]]:''' || colspan="3" align="left" | {{#if:{{{sls|}}}|{{#ifeq:{{{sls}}}|-|None|{{{sls}}}|[[missing::Starlight sphere color|''Unknown'']]}}}}
| '''[[Starlight Sphere]]:''' || colspan="3" align="left" | {{#if:{{{sls|}}}|{{#ifeq:{{{sls}}}|-|None|{{{sls}}}|[[missing::Starlight sphere color|''Unknown'']]}}}}
|}
|}
{{Cat|Heavenly Bodies}}{{#switch:{{{type}}}|p={{cat|Planets}}|m={{Cat|Moons}}|c={{cat|Constellations}}|}}
{{Cat|Heavenly bodies}}{{#switch:{{{type}}}|p={{cat|Planets}}|m={{Cat|Moons}}|c={{cat|Constellations}}|}}
</includeonly><noinclude>
</includeonly><noinclude>
==Usage Documentation==
==Usage Documentation==
Line 31: Line 31:
{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
!Variable!!Supported Values!!Usage
!Variable!!Supported Values!!Usage
|-
|season||<date>||The seasons the constellation is in the sky.
|-
|-
|dstart||<date>||The day when the constellation first appears.
|dstart||<date>||The day when the constellation first appears.
|-
|-
|dend||<date>||The day when the constellation disappears.
|dend||<date>||The last day the constellation is visible.
|-
|-
|tstart||<time>/day/night||The hour when the constellation first can be seen in the sky, or day/night for all day or all night.
|tstart||<time>/day/night||The hour when the constellation first can be seen in the sky, or day/night for all day or all night.
|-
|-
|tend||<time>||The hour when the constellation vanishes from the sky.
|tend||<time>||The last hour when the constellation is visible in the sky.
|-
|-
|skill||<skillset>||The skillset that can be affected using this constellation for predictions. Use , as separator.
|skill||<skillset>||The skillset that can be affected using this constellation for predictions. Use , as separator.
Line 51: Line 49:
|-
|-
|type||c/m/p||Type of body it is. Constellation, Moon, or Planet.
|type||c/m/p||Type of body it is. Constellation, Moon, or Planet.
|}{{Cat|Templates}}
|}
</noinclude>
</noinclude>

Latest revision as of 21:22, 24 December 2014

Usage Documentation

  • Any item in the description that is in italics is a default value.
Variable Supported Values Usage
dstart <date> The day when the constellation first appears.
dend <date> The last day the constellation is visible.
tstart The hour when the constellation first can be seen in the sky, or day/night for all day or all night.
tend The last hour when the constellation is visible in 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.