Template:Constellation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(New page: {| class="wikitable" |- ! colspan="3" align="center" | Visibility: |- ! !! Start !! End |- | '''Date:''' || {{{dstart|''Unknown''}}} || {{{dend|''Unknown''}}} |- | '''Time:''' || {{{tstar...)
 
No edit summary
 
(71 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
{| class="wikitable"
{| class="wikitable" style="width:500px"
|-
|-
! 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
|-
|-
| '''Date:''' || {{{dstart|''Unknown''}}} || {{{dend|''Unknown''}}}
| || '''Start:''' || '''End:'''
|-
|-
| '''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:''' || {{{tstart|''Unknown''}}} || {{{tend|''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'']]}}}}
! colspan="3" align="center" | '''Skills:'''
|-
|}
| {{#if:{{{skills|}}}|


{| class="wikitable" style="width:500px"
{{#arraymap:{{{skill}}}|,|x|[[x Skill]]}}
|-

! colspan="4" align="center" | '''Skillsets Affected:'''
|''Unknown''}}
|-
| colspan="4" align="center" | {{#if:{{{skill|}}}|{{#arraymap:{{{skill}}}|,|x|[[skillset affected::x Skillset]]}}|[[missing::Skillset affected|''Unknown'']]}}
|-
! 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'']]}}
|-
| '''[[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>
==Usage Documentation==
*Any item in the description that is in ''italics'' is a default value.
{| border="1" cellpadding="3"
!Variable!!Supported Values!!Usage
|-
|dstart||<date>||The day when the constellation first appears.
|-
|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.
|-
|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.
|-
|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.
|}{{Cat|Templates}}
</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.