Template:Constellation: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(bugfix)
No edit summary
Line 10: Line 10:
| '''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'']]}}
| '''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 day|{{{tstart}}} {{!}}{{!}}{{#if:{{{tend|}}}|{{{tend}}}|[[missing::Ending time|''Unknown'']]}}|[[missing::Starting time|''Unknown'']] {{!}}{{!}}{{#if:{{{tend|}}}|{{{tend}}}|[[missing::Ending time|''Unknown'']]}}}}}}
| '''Time:''' ||
{{#if:{{{tstart|}}}|{{#switch:{{{tstart}}}|day=colspan="2"{{!}}All day|night==colspan="2"{{!}}All day|{{{tstart}}} {{!}}{{!}}{{#if:{{{tend|}}}|{{{tend}}}|[[missing::Ending time|''Unknown'']]}}|[[missing::Starting time|''Unknown'']] {{!}}{{!}}{{#if:{{{tend|}}}|{{{tend}}}|[[missing::Ending time|''Unknown'']]}}}}}}
|}
|}



Revision as of 04:26, 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.
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.