For guidance on categorizing articles on plants by rank, see Wikipedia:WikiProject Plants/Categorization#Taxonomic rank categories.
![]() | This is the template sandbox page for Template:Plant taxa category ( diff). |
This template adds a header and categories to categories containing articles about plant taxa at the rank of genus and above, ensuring consistency. It is designed to be placed on categories whose titles are of the form "Category:taxon ranks" where taxon = the taxon to which the members of the category belong, and ranks = genera, families, etc. Examples are Category:Orchidoideae genera and Category:Asparagales families.
{{Plant taxa category|parent=parentTaxon}}
to the category page, where parentTaxon gives the next level above. For example,
Category:Asparagaceae genera is placed in
Category:Asparagales genera, so |parent=Asparagales
is used.|main=
is needed. So for
Category:Orchid genera, add {{Plant taxa category|main=orchids|parent=Asparagales}}
. Lower case is used, so that in this case the descriptive text appears as "genera of orchids".|description=
can be used to create a custom wikitext description of the taxon, e.g. |description=[[Arecaceae]] (palms)
, which used at
Category:Arecaceae genera produces the description of the category "genera of
Arecaceae (palms)".|subcategories=no
or |subcats=no
.{{Plant taxa category
|parent = parent taxon ranks category (required)
|main = main category for the taxon (optional)
|description = custom wikitext to describe the taxon (optional, only exceptionally needed)
|subcategories = yes OR no (optional; the default is "yes", specify "no" to say that there should be no subcategories other than one for corresponding monotypic taxon ranks)
}}
For guidance on categorizing articles on plants by rank, see Wikipedia:WikiProject Plants/Categorization#Taxonomic rank categories.
![]() | This is the template sandbox page for Template:Plant taxa category ( diff). |
This template adds a header and categories to categories containing articles about plant taxa at the rank of genus and above, ensuring consistency. It is designed to be placed on categories whose titles are of the form "Category:taxon ranks" where taxon = the taxon to which the members of the category belong, and ranks = genera, families, etc. Examples are Category:Orchidoideae genera and Category:Asparagales families.
{{Plant taxa category|parent=parentTaxon}}
to the category page, where parentTaxon gives the next level above. For example,
Category:Asparagaceae genera is placed in
Category:Asparagales genera, so |parent=Asparagales
is used.|main=
is needed. So for
Category:Orchid genera, add {{Plant taxa category|main=orchids|parent=Asparagales}}
. Lower case is used, so that in this case the descriptive text appears as "genera of orchids".|description=
can be used to create a custom wikitext description of the taxon, e.g. |description=[[Arecaceae]] (palms)
, which used at
Category:Arecaceae genera produces the description of the category "genera of
Arecaceae (palms)".|subcategories=no
or |subcats=no
.{{Plant taxa category
|parent = parent taxon ranks category (required)
|main = main category for the taxon (optional)
|description = custom wikitext to describe the taxon (optional, only exceptionally needed)
|subcategories = yes OR no (optional; the default is "yes", specify "no" to say that there should be no subcategories other than one for corresponding monotypic taxon ranks)
}}