Template:ConstellationSeasons: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>This is a plugin for the [[Template:Constellation|Constellation Template]]. It should not ever need to be manually used.{{cat|Templates,Templates for Templates}}</noinclude><includeonly>{{#switch: |
|||
season check: |
|||
{{#switch:{{#expr:{{{start}}}>=50}}{{#expr:{{{start}}}>=150}}{{#expr:{{{start}}}>=250}}{{#expr:{{{start}}}>=350}}|0000|1111=Winter|1000=Spring|1100=Summer|1110=Fall}}{{#ifeq:{{#expr:{{{end}}}-{{{start}}}>0}}|1| |
|||
{{#expr:{{{end}}}-{{{start}}}>=100}} One season |
|||
{{#expr:{{{end}}}-{{{start}}}>=200}} |
{{#switch:{{#expr:{{{end}}}-{{{start}}}>=100}}{{#expr:{{{end}}}-{{{start}}}>=200}}{{#expr:{{{end}}}-{{{start}}}>=300}}|000=1|100=2|110=3|111=4}} |
||
| |
|||
{{#expr:{{{end}}}-{{{start}}}>=300}} Three season |
|||
{{#switch:{{#expr:{{{end}}}-{{{start}}}+400>=100}}{{#expr:{{{end}}}-{{{start}}}+400>=200}}{{#expr:{{{end}}}-{{{start}}}+400>=300}}|000=1|100=2|110=3|111=4}} |
|||
Four season not needed |
|||
}}|Winter1=Winter|Winter2=Winter,Spring|Winter3=Winter,Spring,Summer|Spring1=Spring|Spring2=Spring,Summer|Spring3=Spring,Summer,Fall|Summer1=Summer|Summer2=Summer,Fall|Summer3=Summer,Fall,Winter|Fall1=Fall|Fall2=Fall,Winter|Fall3=Fall,Winter,Spring|Winter4|Spring4|Summer4|Fall4=Winter,Fall,Spring,Summer}}</includeonly> |
Latest revision as of 20:57, 20 November 2010
This is a plugin for the Constellation Template. It should not ever need to be manually used.