Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Usage

Single-row template called from format=template SMW queries on browse facet sub-pages (e.g. Browse by classification/Landrace).

Outputs one wikitext table row (|- separator + five pipe-delimited cells) for use inside a {| ... |} wikitable on the calling page. Wikitext table syntax avoids HTML/sanitiser issues that bite when mixing bare <table>/<tbody> with {{#ask}}.

Image cell falls back to placeholder colour when no image is set, keeping row heights uniform. Defensive #if guards prevent malformed accession data from rendering as raw wikitext.

Required parameters from the calling query

Parameter Source Notes
accessionid ?Has accession ID#-=accessionid Bare string. Used as link target and fallback name. #- strips SMW's auto-link.
name ?Has descriptive name=name Falls back to accessionid; both empty falls to em-dash.
country ?Has country=country SMW auto-links.
region ?Has growing region=region SMW auto-links.
collected ?Has collection date=collected Date, SMW-formatted.
image ?Has image#-=image Bare filename. #- required so the value can be wrapped in [[File:...]].