Jump to content

Template:Plant Update: Difference between revisions

From MTRNord's Wiki
Load css
Fix order of objects to make it float correct
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
|-
|-
| colspan="2" |  
| colspan="2" |  
{{#if:{{{image|}}}|
<div class="plant-update-image">
[[File:{{{image}}}|frameless|upright=1.2]]
</div>
}}
'''Observation:''' {{{observation|—}}}
'''Observation:''' {{{observation|—}}}
{{{image|}}}


{{#if:{{{notes|}}}|<div class="plant-update-notes">'''Notes:''' {{{notes}}}</div>}}
{{#if:{{{notes|}}}|<div class="plant-update-notes">'''Notes:''' {{{notes}}}</div>}}
Line 18: Line 21:
<templatedata>
<templatedata>
{
{
  "description": "Log entry for plant observations and updates over time",
"description": "Log entry for plant observations and updates over time",
  "params": {
"params": {
    "date": {
"date": {
      "label": "Date",
"label": "Date",
      "description": "Date of this update (YYYY-MM-DD)",
"description": "Date of this update (YYYY-MM-DD)",
      "type": "date",
"type": "date",
      "required": true
"required": true
    },
},
    "status": {
"status": {
      "label": "Status",
"label": "Status",
      "description": "Plant status (e.g. Seedling, Growth, Flowering, Fruiting, Dormant)",
"description": "Plant status (e.g. Seedling, Growth, Flowering, Fruiting, Dormant)",
      "type": "string"
"type": "string"
    },
},
    "observation": {
"observation": {
      "label": "Observation",
"label": "Observation",
      "description": "What you observed about the plant",
"description": "What you observed about the plant",
      "type": "string",
"type": "string",
      "required": true
"required": true
    },
},
    "image": {
"image": {
      "label": "Image",
"label": "Image",
      "description": "Photo - use [[File:name.jpg|150px]]",
"description": "Photo",
      "type": "wiki-file-name"
"type": "wiki-file-name",
    },
"example": "Example.jpg"
    "notes": {
},
      "label": "Notes",
"notes": {
      "description": "Additional care or management notes",
"label": "Notes",
      "type": "string"
"description": "Additional care or management notes",
    }
"type": "string"
  },
}
  "format": "block"
},
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 16:00, 22 April 2026

Date Status: —

Observation:



Log entry for plant observations and updates over time

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Datedate

Date of this update (YYYY-MM-DD)

Daterequired
Statusstatus

Plant status (e.g. Seedling, Growth, Flowering, Fruiting, Dormant)

Stringoptional
Observationobservation

What you observed about the plant

Stringrequired
Imageimage

Photo

Example
Example.jpg
Fileoptional
Notesnotes

Additional care or management notes

Stringoptional