Template:Constellation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(40 intermediate revisions by 2 users not shown)
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" | {{{season|''Year-Round''}}}
|-
|-
| || '''Start:''' || '''End:'''
| || '''Start:''' || '''End:'''
|-
|-
| '''Date:''' || {{{dstart|''Unknown''}}} || {{{dend|''Unknown''}}}
| '''Date:''' || {{#if:{{{dstart|}}}|[[Constellation start date::{{{dstart}}}|{{numeralize|{{{dstart}}}}} day]]|[[missing::Starting date|''Unknown'']]}} || {{#if:{{{dend|}}}|[[Constellation end date::{{{dend}}}|{{numeralize|{{{dend}}}}} day]]|[[missing::Ending date|''Unknown'']]}}
|-
|-
| '''Time:''' || {{#if:{{{tstart|}}}|{{#switch:{{{tstart}}}|day= colspan=2 {{!}} All day |night= colspan=2 {{!}} All night |{{{tstart}}} {{!}}{{!}} {{#if:{{{tend|}}}|{{{tend}}}|[[missing::Ending time|''Unknown'']]}}}}|[[missing::Starting time|''Unknown'']] {{!}}{{!}}{{#if:{{{tend|}}}|{{{tend}}}|[[missing::Ending time|''Unknown'']]}}}}
| '''Time:''' || {{{tstart|''Sunset''}}} || {{{tend|''Sunrise''}}}
|}
|}


Line 17: Line 17:
! colspan="4" align="center" | '''Skillsets Affected:'''
! colspan="4" align="center" | '''Skillsets Affected:'''
|-
|-
| colspan="4" align="center" | {{#if:{{{skill|}}}|{{#arraymap:{{{skill}}}|,|x|[[x Skillset]]}}|''Unknown''}}
| colspan="4" align="center" | {{#if:{{{skill|}}}|{{#arraymap:{{{skill}}}|,|x|[[skillset affected::x Skillset]]}}|[[missing::Skillset affected|''Unknown'']]}}
|-
|-
! colspan="4" align="center" | Other Information:
! colspan="4" align="center" | Other Information:
|-
|-
| '''Circle:''' || {{{circle|''Unknown''}}} || '''Telescope:''' || {{{telescope|''Not Required''}}}
| '''Circle:''' || {{#if:{{{circle|}}}|[[circle requirement::{{{circle}}}|{{numeralize|{{{circle}}}}}]]|[[missing::Circled learned|''Unknown'']]}} || '''Telescope:''' || {{#if:{{{telescope|}}}|[[requires telescope::{{{telescope}}}]]|[[missing::Whether telescope required|''Unknown'']]}}
|-
|-
| colspan="4" align="left" | '''[[Starlight Sphere]]:'''| {{{sphere|''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}}|}}

</includeonly><noinclude>
</includeonly><noinclude>
==Usage Documentation==
==Usage Documentation==
*Any item in the description that is in ''italics'' is a default value.
{| 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 date when the constellation first appears.
|dend||<date>||The last day the constellation is visible.
|-
|-
|dend||(date)||The date when the constellation disappears.
|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)||The time when the constellation first can be seen in the sky.
|tend||<time>||The last hour when the constellation is visible in the sky.
|-
|-
|tend||(time)||The time 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.
|skill||(skillset)||The skillset that can be affected using this constellation for predictions.
|-
|-
|telescope||yes/no||If a telescope is required or not.
|circle||(circle)||Circle the constellation is learned at.
|-
|-
|sls||<description>/-||The starlight sphere's description. Use "-" if none.
|telescope||(telescope)||If a telescope is required or not.
|-
|-
|type||c/m/p||Type of body it is. Constellation, Moon, or Planet.
|sphere||(sls)||Description of starlight sphere.
|}{{Cat|Templates}}
|}
</noinclude>
</noinclude>

Latest revision as of 22: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.