Template:Constellation: Difference between revisions
Jump to navigation
Jump to search
(added Day/Night handling) |
(bugfix) |
||
Line 11: | Line 11: | ||
|- |
|- |
||
| '''Time:''' || |
| '''Time:''' || |
||
{{#if:{{{tstart|}}}|{{#switch:{{{tstart}}}|day= |
{{#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:25, 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. |