Template:Photosynthesis: Difference between revisions

miraheze>Nyhilo
Update for simpler string parsing (does not account for leading zeros)
miraheze>Nyhilo
Update template with named parameters
Line 1: Line 1:
{{#ifeq:  
{{#ifeq:  
   | {{#expr | {{1}}{{2}}{{3}}000000 < {{CURRENTTIMESTAMP}}
   | {{#expr | {{year}}{{month}}{{day}}000000 < {{CURRENTTIMESTAMP}}
   | 1
   | 1
   | The plant is currently in a photosynthesis cycle.
   | The plant is currently in a photosynthesis cycle.
   | The plant is not currently in a photosynthesis cycle.
   | The plant is not currently in a photosynthesis cycle.
}}
}}