Template:Incorrect biology template usage
Jump to navigation
Jump to search
This documentation is transcluded from Template:Incorrect biology template usage/doc.
- Usage
- Called when errors are detected in biology templates.
- As a result it adds Category:Pages with incorrect biology template usage to the calling category/article/file.
- Mostly called by templates to ensure that a certain part of the code is not reached (like a default in a switch).
- Syntax
{{Incorrect biology template usage|sortkey=<YourSortKey>|doc=<docPage>|text=<TheErrorToDisplay> | namespace=<namespace> }}
- Parameters
-
- sortkey=<YourSortKey>
- the sortkey under which the calling category/article/file will be placed in Category:Pages with incorrect biology template usage.
- Sample (Inside {{APWebsite}}): sortkey=Genera
- text=<TheErrorToDisplay> (optional)
- the error message to be displayed in red.
- the text should not contain links (as it will be incorporated in a link)
- Sample (Inside {{APWebsite}}): text=Parameter genera= has an unmanaged value '{{{genera|}}}'
- doc=<docPage> (optional)
- the page to which the red error message will link
- Sample (Inside {{APWebsite}}): doc=Template:APWebsite
- namespace=<namespaceIndex> (optional)
- the namespace index (-2 to 15, see possible values) for which this template will add the category (Default: 0 for articles + 14 for categories + 6 for files).
- (Except if you did not provide sortkey, in which case an error is displayed in template namespace only)
- Used by
-
- {{APWebsite}}
- {{AudioBiology}}
- {{CheckSingularLatinRank}} used by {{SimpleTaxa}}, {{Taxoconflict}}, {{Syn}}, {{Placement}}, {{Single}}...
- {{Genera/text}} used by {{Genera}}, {{Genera2}}
- {{IUCN/Risk level}} used by {{IUCN}}
- {{Lepidoptera}}
- {{SimpleTaxa}}
- {{Syn/type}}
- {{Species/text}} used by {{Species}}, {{Species2}}
- {{SpeciesFile/check}} used by {{SpeciesFile}}
- {{Subspecies/text}} used by {{Subspecies}}
- {{Taxa/text}} used by {{Taxa}}
- {{Taxolang}} used by {{Subspecies}}, {{Species}}, {{Species2}}, {{Genera}}, {{Genera2}}, {{Taxa}}
- {{Taxonavigation/classification}} used by {{Taxonavigation}}, {{TaxonavigationIncluded}}, {{TaxonavigationIncluded2}}
- {{TaxonavigationAutoCategory/}} used by {{TaxonavigationAutoCategory}}
- {{TaxonavigationAutoCategory}}
- {{TaxonavigationIncluded2}} used by {{Taxonavigation}}
- {{Taxonavigation}}
- {{VNIncluded}}
- {{Incorrect biology template usage/AssertEmpty}}
- {{Incorrect biology template usage/AssertIsNumber}}
- {{Incorrect biology template usage/AssertNotEmpty}}
- {{Incorrect biology template usage/AssertNotNumber}}