Template:Plant Infobox: Difference between revisions

Use the wikipedia template instead
Fix accidentially used doc page content
 
(One intermediate revision by the same user not shown)
Line 40: Line 40:


}}<noinclude>
}}<noinclude>
{{TemplateData
{{Documentation}}
|description=Plant information infobox for documenting garden plants
 
|params=
<templatedata>
{
{
   "name": {
   "description": "Infobox for plant cultivars and garden documentation",
    "label": "Plant Name",
  "params": {
    "description": "Common name of the plant",
    "name": {
     "type": "string",
      "label": "Plant Name",
     "required": true
      "description": "Common name of the plant",
      "type": "string",
      "required": true
    },
    "image": {
      "label": "Image",
      "description": "Image filename (without File: prefix)",
      "type": "wiki-file-name",
      "suggested": true
    },
    "image_caption": {
      "label": "Image Caption",
      "description": "Caption for the image",
      "type": "string"
    },
    "species": {
      "label": "Scientific Name",
      "description": "Botanical/scientific name",
      "type": "string"
    },
    "common_names": {
      "label": "Common Names",
      "description": "Other common names",
      "type": "string"
    },
    "type": {
      "label": "Plant Type",
      "description": "perennial, annual, herb, shrub, etc.",
      "type": "string"
    },
    "location": {
      "label": "Location",
      "description": "Garden location (e.g. Main Bed - North side)",
      "type": "string"
    },
    "date_planted": {
      "label": "Planted Date",
      "description": "Date planted or 'Unknown'",
      "type": "date"
    },
    "sunlight": {
      "label": "Sunlight",
      "description": "Full sun, partial shade, etc.",
      "type": "string"
    },
     "water_needs": {
      "label": "Water Needs",
      "description": "Regular, drought-tolerant, etc.",
      "type": "string"
    },
     "hardiness_zone": {
      "label": "Hardiness Zone",
      "description": "USDA zone or climate info",
      "type": "string"
    },
    "notes": {
      "label": "Care Notes",
      "description": "Additional care information",
      "type": "string"
    }
   },
   },
   "common_names": {
   "format": "block"
    "label": "Common Names",
    "description": "Other common names",
    "type": "string"
  },
  "image": {
    "label": "Image",
    "description": "Image filename or full file syntax",
    "type": "wiki-file-name"
  },
  "image_caption": {
    "label": "Image Caption",
    "type": "string"
  },
  "species": {
    "label": "Scientific Name",
    "description": "Botanical/scientific name",
    "type": "string"
  },
  "type": {
    "label": "Type",
    "description": "perennial, annual, herb, shrub, etc.",
    "type": "string"
  },
  "location": {
    "label": "Location",
    "description": "Garden location (e.g. Main Bed - North side)",
    "type": "string"
  },
  "date_planted": {
    "label": "Planted Date",
    "description": "Date planted or 'Unknown'",
    "type": "date",
    "default": "Unknown"
  },
  "sunlight": {
    "label": "Sunlight",
    "description": "Full sun, partial shade, etc.",
    "type": "string"
  },
  "water_needs": {
    "label": "Water Needs",
    "description": "Regular, drought-tolerant, etc.",
    "type": "string"
  },
  "hardiness_zone": {
    "label": "Hardiness Zone",
    "description": "USDA zone or climate info",
    "type": "string"
  },
  "notes": {
    "label": "Care Notes",
    "description": "Additional care information",
    "type": "string"
  }
}
}
}}
</templatedata>
</noinclude>
</noinclude>