Toggle menu
84
103
34
3.2K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Accession: Difference between revisions

Template page
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
- Page-type fields must be plain titles (no [[...]]), multi-values separated by ", " (comma+space).
- Page-type fields must be plain titles (no [[...]]), multi-values separated by ", " (comma+space).
</noinclude><includeonly>
</noinclude><includeonly>
{{#seo:
|title={{{descriptive_name|{{PAGENAME}}}}}
|description={{{summary|Accession {{{accession_id|{{PAGENAME}}}}}. {{{locality|}}}{{#if:{{{growing_region|}}}| · {{{growing_region}}}|}}{{#if:{{{conservation_priority|}}}| · Priority: {{{conservation_priority}}}|}}}}}
|image={{{image|}}}
|image_alt={{{image_caption|{{{descriptive_name|{{PAGENAME}}}}}}}}
|type=article
}}
{{Infobox accession
{{Infobox accession
  | descriptive_name              = {{{descriptive_name|{{PAGENAME}}}}}
  | descriptive_name              = {{{descriptive_name|{{PAGENAME}}}}}
Line 116: Line 123:
  | processing_notes              = {{{processing_notes|}}}
  | processing_notes              = {{{processing_notes|}}}
}}
}}
{{#set:
|Has accession ID={{{accession_id|}}}
|Has descriptive name={{{descriptive_name|{{PAGENAME}}}}}
|Has image={{{image|}}}
|Has image caption={{{image_caption|}}}
|Has classification={{{classification|}}}
|Has accession type={{{accession_type|}}}
|Has selection type={{{selection_type|}}}
|Has sexual characteristics={{{sexual_characteristics|}}}
|Has chemotype={{{chemotype|}}}
}}{{#arraymap:{{{primary_purpose|}}}|, |x|
{{!}}Has primary purpose=x
}}{{#set:
|Has minimum flowering time={{{minimum_flowering_time|}}}
|Has maximum flowering time={{{maximum_flowering_time|}}}
|Has minimum height={{{minimum_height|}}}
|Has maximum height={{{maximum_height|}}}
|Has photoperiod response={{{photoperiod_response|}}}
|Has growth pattern={{{growth_pattern|}}}
|Has branching={{{branching|}}}
|Has leaf shape={{{leaf_shape|}}}
|Has leaflet count={{{leaflet_count|}}}


{{#set:
{{#set:
Line 154: Line 134:
  |Has sexual characteristics={{{sexual_characteristics|}}}
  |Has sexual characteristics={{{sexual_characteristics|}}}
  |Has chemotype={{{chemotype|}}}
  |Has chemotype={{{chemotype|}}}
{{#arraymap:{{{primary_purpose|}}}|, |x|{{!}}Has primary purpose=x}}
  |Has minimum flowering time={{{minimum_flowering_time|}}}
  |Has minimum flowering time={{{minimum_flowering_time|}}}
  |Has maximum flowering time={{{maximum_flowering_time|}}}
  |Has maximum flowering time={{{maximum_flowering_time|}}}
Line 164: Line 143:
  |Has leaf shape={{{leaf_shape|}}}
  |Has leaf shape={{{leaf_shape|}}}
  |Has leaflet count={{{leaflet_count|}}}
  |Has leaflet count={{{leaflet_count|}}}
{{#arraymap:{{{leaf_color|}}}|, |x|{{!}}Has leaf color=x}}
{{#arraymap:{{{stem_color|}}}|, |x|{{!}}Has stem color=x}}
{{#arraymap:{{{stigma_color|}}}|, |x|{{!}}Has stigma color=x}}
  |Has serration={{{serration|}}}
  |Has serration={{{serration|}}}
{{#arraymap:{{{flower_structure|}}}|, |x|{{!}}Has flower structure=x}}
  |Has processing method={{{processing_method|}}}
  |Has processing method={{{processing_method|}}}
  |Has processing notes={{{processing_notes|}}}
  |Has processing notes={{{processing_notes|}}}
Line 206: Line 181:
  |Has conservation priority={{{conservation_priority|}}}
  |Has conservation priority={{{conservation_priority|}}}
  |Has cultivation status={{{cultivation_status|}}}
  |Has cultivation status={{{cultivation_status|}}}
{{#arraymap:{{{cultivation_system_type|}}}|, |x|{{!}}Has cultivation system type=x}}
  |Has cultivation scale={{{cultivation_scale|}}}
  |Has cultivation scale={{{cultivation_scale|}}}
  |Has legal enforcement threats={{{legal_enforcement_threats|}}}
  |Has legal enforcement threats={{{legal_enforcement_threats|}}}
Line 215: Line 189:
  |Has culling={{{culling|}}}
  |Has culling={{{culling|}}}
  |Has perceived introgression level={{{perceived_introgression_level|}}}
  |Has perceived introgression level={{{perceived_introgression_level|}}}
|Has seed sourcing={{{seed_sourcing|}}}
  |Has planting method={{{planting_method|}}}
  |Has planting method={{{planting_method|}}}
  |Has cycle 1 earliest planting={{{cycle_1_earliest_planting|}}}
  |Has cycle 1 earliest planting={{{cycle_1_earliest_planting|}}}
Line 236: Line 209:
  |Has same population accessions={{{same_population_accessions|}}}
  |Has same population accessions={{{same_population_accessions|}}}
}}
}}
{{#arraymap:{{{primary_purpose|}}}|, |x|{{#set:|Has primary purpose=x}}|}}
{{#arraymap:{{{flower_structure|}}}|, |x|{{#set:|Has flower structure=x}}|}}
{{#arraymap:{{{cultivation_system_type|}}}|, |x|{{#set:|Has cultivation system type=x}}|}}
{{#arraymap:{{{leaf_color|}}}|, |x|{{#set:|Has leaf color=x}}|}}
{{#arraymap:{{{stem_color|}}}|, |x|{{#set:|Has stem color=x}}|}}
{{#arraymap:{{{stigma_color|}}}|, |x|{{#set:|Has stigma color=x}}|}}
{{#arraymap:{{{seed_sourcing|}}}|, |x|{{#set:|Has seed sourcing=x}}|}}
[[Category:Accessions]]
[[Category:Accessions]]
</includeonly>
</includeonly>

Latest revision as of 15:41, 3 February 2026

Backend template for accessions on Landrace.Wiki.

  • Populated by Form:Accession (or future accession forms).
  • Renders the infobox via
Accession

.

  • Sets core SemanticMediaWiki properties via {{#set}}.

Normalization rule: - Page-type fields must be plain titles (no ...), multi-values separated by ", " (comma+space).