Difference between revisions of "Template:Associate"

AntWiki - Where Ant Biologists Share Their Knowledge
Jump to navigation Jump to search
Line 17: Line 17:
 
|Notes=String}}
 
|Notes=String}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#cargo_store:_table=Associate|Organism={{{Organism|}}}|Taxon={{#invoke:String|replace|{{{Taxon|}}}|'|}}|Locality={{{Locality|}}}|Source={{{Source|}}}|Notes={{{Notes|}}}}}{{#if:{{{Organism|}}}|This species is a host for the {{#if:{{{Organism Link|}}}|[[{{{Organism Link|}}}{{!}}{{{Organism|}}}]]|{{{Organism|}}}}}}}{{#if:{{{Taxon|}}}|{{#if:{{{Taxon Link|}}}|&nbsp;[[{{{Taxon Link|}}}{{!}}{{{Taxon|}}}]]|&nbsp;{{{Taxon}}}}}}}{{#if:{{{Locality|}}}|&nbsp;in {{{Locality|}}}}}{{#if:{{{Source|}}}|&nbsp;({{{Source|}}})}}{{#if:{{{Notes|}}}|&nbsp;({{{Notes|}}})}}.{{#if:{{{Group|}}}|[[category:{{{Organism|}}} Associate]]}}{{#if:{{{Taxon|}}}|[[category:Host of {{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{Taxon|}}}|]|}}|[|}}|'|}}]]}}</includeonly>
+
{{#cargo_store:_table=Associate|Organism={{{Organism|}}}|Taxon={{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{Taxon|}}}|]|}}|[|}}|'|}}|Locality={{{Locality|}}}|Source={{{Source|}}}|Notes={{{Notes|}}}}}{{#if:{{{Organism|}}}|This species is a host for the {{#if:{{{Organism Link|}}}|[[{{{Organism Link|}}}{{!}}{{{Organism|}}}]]|{{{Organism|}}}}}}}{{#if:{{{Taxon|}}}|{{#if:{{{Taxon Link|}}}|&nbsp;[[{{{Taxon Link|}}}{{!}}{{{Taxon|}}}]]|&nbsp;{{{Taxon}}}}}}}{{#if:{{{Locality|}}}|&nbsp;in {{{Locality|}}}}}{{#if:{{{Source|}}}|&nbsp;({{{Source|}}})}}{{#if:{{{Notes|}}}|&nbsp;({{{Notes|}}})}}.{{#if:{{{Group|}}}|[[category:{{{Organism|}}} Associate]]}}{{#if:{{{Taxon|}}}|[[category:Host of {{#invoke:String|replace|{{#invoke:String|replace|{{#invoke:String|replace|{{{Taxon|}}}|]|}}|[|}}|'|}}]]}}</includeonly>

Revision as of 16:13, 14 June 2019

Usage

{{Associate
|Organism = fungus, insects, social parasite, generally singular
|Organism Link = Link for Organism text
|Taxon = Taxonomic name of organism (genus, species, etc)
|Taxon Link = Link for Taxon text
|Locality = Place name
|Source = Publication
|Notes = Misc. notes
}} This template defines the table "Associate". View table.