Template:Photosynthesis: Difference between revisions

miraheze>Nyhilo
Add some formatting, remove defaults from date stuff
miraheze>Nyhilo
Testing the time formatter, which stopped working when the defaults were taken away
Line 1: Line 1:
{{#time: U|{{year}}-{{month}}-{{day}}
{{#ifexpr: {{#time: U|now}} < {{#time: U|{{year}}-{{month}}-{{day}} }}
{{#ifexpr: {{#time: U|now}} < {{#time: U|{{year}}-{{month}}-{{day}} }}
   | '''The plant is currently in a photosynthesis cycle.''' It will end on '''{{year}}-{{month}}-{{day}}'''
   | '''The plant is currently in a photosynthesis cycle.''' It will end on '''{{year}}-{{month}}-{{day}}'''
   | The plant is '''not''' currently in a photosynthesis cycle. The last cycle ended on '''{{year}}-{{month}}-{{day}}'''.
   | The plant is '''not''' currently in a photosynthesis cycle. The last cycle ended on '''{{year}}-{{month}}-{{day}}'''.
}}
}}