Template:SpeciesForImage

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

[[{{{1}}} {{{2}}}|{{{1}}} {{{2}}}]] [See also [[:Category:{{{1}}} {{{2}}}|species category]] link=Category:{{{1}}} {{{2}}} and [[:category:{{{1}}} |genus category]]link=Category:{{{1}}}]

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:SpeciesForImage/doc.


Usage
Use this template to add a reference to a species in a multi-species drawing
This template is useful for contributors that want to create all the species categories involved in a drawing:
They need to have access to the species category (that they want to create) and the genus category (best place to start if you want to create the species category).
If the species category does not exist, the genus category is displayed + Species category does not exist
Note: if you want to edit this template, first try your modifications on {{SpeciesForImage/sandbox}}.You can then test your edits in {{SpeciesForImage/testcases}}.
When the new version is ready, you can move it to the main template.


Samples
{{SpeciesForImage | Glyptophysa | gibbosa | (Gould, 1846) }}
{{SpeciesForImage | Glyptophysa | gibbosa }}
{{SpeciesForImage | Glyptophysa | strange }}         (The species category does not exist, so the genus category is displayed to help the contributor)
{{SpeciesForImage | Strange | strange }}         (The species and genus category does not exist, so the species and genus categories are displayed to help the contributor)
Results
Glyptophysa gibbosa (Gould, 1846) [See also species category]
Glyptophysa gibbosa [See also species category]
Glyptophysa strange [See also species category Species category does not exist and genus category]
Strange strange [See also species category Species category does not exist and genus categoryGenus category does not exist]


Syntax
{{SpeciesForImage | genus | genus-disambig=<genus-disambig> | subgenus=<subgenus> | speciesEpithet | authority }}


Parameters
  • genus
the genus name
Sample (for Glyptophysa gibbosa): Glyptophysa
  • subgenus=<subgenus> (optional)
the sub genus name without parentheses. I will impact only the display
  • speciesEpithet
the species epithet (without the genus name)
Sample (for Glyptophysa gibbosa): gibbosa
  • authority (optional)
the species authority
Sample (for Glyptophysa gibbosa): (Gould, 1846)
  • genus-disambig=<genus-disambig> (optional
the disambiguation part of the genus category name (including the parentheses).
Sample |genus-disambig=(gasteropod)


Use sample