Template:Photosynthesis: Difference between revisions

From Infinite Nomic Wiki
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}}'''.
}}
}}

Revision as of 20:14, 23 December 2021

{{#time: U|Template:Year-Template:Month-Template:Day

Expression error: Unexpected < operator.