Template:Constellation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(65 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|-
|-
! 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'']]}}
|-
|-
| || '''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|''Unknown''}}} || {{{tend|''Unknown''}}}
|}

{| class="wikitable" style="width:500px"
|-
|-
! colspan="3" align="center" | '''Skillsets Affected:'''
! colspan="4" align="center" | '''Skillsets Affected:'''
|-
|-
| colspan="3" 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="3" align="center" | Other Information:
! colspan="4" align="center" | Other Information:
|-
|-
| '''Circle:''' || {{#if:{{{circle|}}}|[[circle requirement::{{{circle}}}|{{numeralize|{{{circle}}}}}]]|[[missing::Circled learned|''Unknown'']]}} || '''Telescope:''' || {{#if:{{{telescope|}}}|[[requires telescope::{{{telescope}}}]]|[[missing::Whether telescope required|''Unknown'']]}}
| '''Circle:''' || {{{circle|''Unknown''}}}
|-
|-
| '''[[Starlight Sphere]]:''' || colspan="3" align="left" | {{#if:{{{sls|}}}|{{#ifeq:{{{sls}}}|-|None|{{{sls}}}|[[missing::Starlight sphere color|''Unknown'']]}}}}
| '''Telescope:''' || {{{telescope|''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
|-
|-
|dstart||(date)||The date when the constellation first appears.
|dstart||<date>||The day when the constellation first appears.
|-
|-
|dend||(date)||The date when the constellation disappears.
|dend||<date>||The last day the constellation is visible.
|-
|-
|tstart||(time)||The time when the constellation first can be seen in the sky.
|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 time 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.
|skill||<skillset>||The skillset that can be affected using this constellation for predictions. Use , as separator.
|-
|-
|circle||(circle)||Circle the constellation is learned at.
|circle||<circle>||Circle the constellation is learned at.
|-
|-
|telescope||(telescope)||If a telescope is required or not.
|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.
|}{{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.