Teamplaid:Speciesbox/trim/documentation
Coltas
This is a documentation subpage for Teamplaid:Speciesbox/trim. It contains usage information, categories and other content that is not part of the original teamplaid page. |
This template is currently protected from editing. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may submit an edit request to ask an administrator to make an edit if it is uncontroversial or supported by consensus. You may also request that this page be unprotected. |
This page is not a sandbox. It should not be used for test editing. To experiment, please use the Wikipedia sandbox, your user sandbox, or the other sandboxes. |
Uses Lua: |
Ùsaid - Usage
This template is designed to be used only from {{Speciesbox}} and its subtemplates to extract the 'bare' genus name from a longer string. It behaves like {{Str letter/trim}}, but treats hyphen as a letter (the International Code of Nomenclature for algae, fungi, and plants allows hyphens in genus names) and handles the "×" at the start of nothogenus names.
Eisimpleirean - Examples
- {{Speciesbox/trim|Bellis}} → Bellis
- {{Speciesbox/trim|Bellis perennis}} → Bellis
- {{Speciesbox/trim|Pseudo-nitzschia sp.}} → Pseudo-nitzschia
- {{Speciesbox/trim|Alsophila (plant)}} → Alsophila
- {{Speciesbox/trim|Bubo/?}} → Bubo
- {{Speciesbox/trim|× Astrolista bicarinata}} → × Astrolista
- {{Speciesbox/trim|×Astrolista bicarinata}} → ×Astrolista
Nòta - Note
- {{Speciesbox/trim|x Astrolista bicarinata}} → x
- {{Speciesbox/trim|xAstrolista bicarinata}} → xAstrolista
- {{Speciesbox/trim|X Astrolista bicarinata}} → X
- {{Speciesbox/trim|XAstrolista bicarinata}} → XAstrolista