Template:Taxasource
Jump to navigation
Jump to search
This documentation is transcluded from Template:Taxasource/doc.
- Usage
- This template takes a web site short name as parameter and returns a link to this web site.
- This template is called by:
- {{TaxasourceAndDate}} which in turn is called by {{Subspecies}}, {{Species}}, {{Species2}}, {{Genera}}, {{Genera2}}, {{Taxa}}, {{Moty}}, {{Tysp}}, {{Moty}}, {{Tysp}}, {{Typegenus}}
- directly by {{Syn}} (displays no date), {{Single}} and {{Taxoconflict}} ( display one date for multiple sources)
- The websites managed by this template should be limited to well known sites for species classification.
- The purpose is to centralize those links here, to simplify future maintenance and to limit url duplication.
- Each entry of this template should correspond to a template of Category:Biology external link templates
- Note: Now this template support all combination of these WebSiteShortName, like "ADW & ITIS & ZorapteraSF"
- Note: if you want to edit this template, first try your modifications on {{Taxasource/sandbox}}.You can then test your edits in {{Taxasource/testcases}}.
When the new version is ready, you can move it to the main template.
- Samples
- {{taxasource | FishBase }}
- {{taxasource | IUCN | FishBase }}
- {{taxasource | IUCN & FishBase }} new usage, very important for calling templates
- {{taxasource | something else }} bad usage, please prefer:
- {{taxasource | ref=something else }}
- {{taxasource | IUCN | FishBase | ref=something else }}
- {{taxasource | CatalogueOfLife | name=Panthera }}
- will generate
- FishBase
- FishBase & IUCN
- FishBase & IUCN
- something else + error (cat Pages with incorrect biology template usage is added)
- something else
- FishBase & IUCN & something else
- Catalogue of Life
- Syntax
{{taxasource | WebSiteShortName | name=<TaxonName> }}
- Parameters
-
- name=<TaxonName> (optional)
- To specify the taxon name if the current category/gallery name is not exactly the taxon name.
- It is mostly needed only for subgenus (Where taxonName really contains a (xx) part), because by default the (xx) is considered as disambiguation and suppressed
- This parameter is needed only when using a WebSiteShortName qualified as clever link
- WebSiteShortName
- The web site Short Name.
- If the short name is not recognized, this template returns the text passed as parameter.
- To construct this list you can look at Category:Biology external link templates.
- Predefined WebSiteShortName:
- Note: Clever links are links redirecting directly to a web page describing the taxon (using {{PAGENAME}}).
Note: These clever links may need the name=<TaxonName> parameter - Note: All combination of multiple sources are now accepted (like ITIS & MSW)
- Note: Some deprecated WebSiteShortName add Category:Pages with incorrect biology template usage to the article
- Note: Unknown WebSiteShortName add Category:Pages with incorrect biology template usage to the article. You perhaps should use |ref=
- ref=<reference> (optional)
- ref2=<reference> (optional)
- Use it if your source is not one of the preceding
- Note: Clever links are links redirecting directly to a web page describing the taxon (using {{PAGENAME}}).
- Used by
- {{Single}}
- {{Syn}}
- {{Taxoconflict}} - to display conflicts of classification
- {{TaxasourceAndDate}} - a template using current template, used by:
- {{Taxa}} - to list higher ranks taxa (families, orders...).
- {{Genera}} - to list genera.
- {{Genera2}} - to list more than 200 genera.
- {{Species}} - to list species in the format G. species.
- {{Species2}} - to list more than 300 species.
- {{Subspecies}} - to list subspecies.
- {{Moty}}, {{Tysp}}, {{Typegenus}}
- See also
- {{Taxonavigation/classification}} - the same kind of template but used by {{Taxonavigation}}
- sub-templates
- Module:BiologyList - contains the real links
- Usage sample
- Category:Botaurinae for adw through {{Genera}}
- Category:Toxodonta for en through {{Taxa}}
- Category:Narella for catalogueoflife through {{Species}}
- Category:Scorpaenidae for fishbase through {{Genera}}
- Category:Neoglyphidodon for fishbase & itis through {{Species}}
- Category:Eurypygidae for itis through {{Genera}} & {{Species}}
- Category:Cryptoprocta for itis & msw through {{Species}}
- Category:Acanthasteridae for itis & worms through {{Genera}}
- Category:Odontoglossum for kew through {{Species}}
- Category:Felis manul for msw through {{Subspecies}}
- Category:Faucheaceae for ncbi through {{Genera}}
- Category:Botaurinae for species through {{Genera}}
- Category:Hiodontiformes for tolweb through {{Genera}}
- Category:Toxodonta for tpdb through {{Taxa}}
- Category:Rhodactis for worms through {{Species}}