Template:Plant Update: Difference between revisions
Prepare Plant Update Template |
Fix order of objects to make it float correct |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <templatestyles src="Template:Plant Update/styles.css" /> | ||
{| class="wikitable plant-update" | |||
Template | |||
|- | |- | ||
| class="plant-update-date" | {{{date|Date}}} | | class="plant-update-date" | {{{date|Date}}} | ||
| Line 48: | Line 6: | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
{{#if:{{{image|}}}| | |||
<div class="plant-update-image"> | |||
[[File:{{{image}}}|frameless|upright=1.2]] | |||
</div> | |||
}} | |||
'''Observation:''' {{{observation|—}}} | '''Observation:''' {{{observation|—}}} | ||
{{{ | {{#if:{{{notes|}}}|<div class="plant-update-notes">'''Notes:''' {{{notes}}}</div>}} | ||
|} | |||
<noinclude> | |||
{{Documentation}} | |||
{{{ | <templatedata> | ||
{ | |||
"description": "Log entry for plant observations and updates over time", | |||
"params": { | |||
"date": { | |||
"label": "Date", | |||
"description": "Date of this update (YYYY-MM-DD)", | |||
"type": "date", | |||
"required": true | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "Plant status (e.g. Seedling, Growth, Flowering, Fruiting, Dormant)", | |||
"type": "string" | |||
}, | |||
"observation": { | |||
"label": "Observation", | |||
"description": "What you observed about the plant", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Photo", | |||
"type": "wiki-file-name", | |||
"example": "Example.jpg" | |||
}, | |||
"notes": { | |||
"label": "Notes", | |||
"description": "Additional care or management notes", | |||
"type": "string" | |||
} | |||
}, | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | |||