Module:Taxonbar/doc
This is the documentation page for Module:Taxonbar
| This module is rated as pre-alpha. It is unfinished, and may or may not be in active development. It should not be used from article namespace pages. Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure. |
Usage
At this time we request this module/template not be implemented on taxon pages until links are cleaned up and the module fulfills the needs of the community. Parameters will be added with time. The goal is to eventually update and implement this Lua code to replace the existing Template:T template.
For testcases use: {{Taxonbar/sandbox2 | from=QID}} View testcases at Template:Taxonbar/testcases2
Taxon Example:
{{Taxonbar/sandbox2 | from=Q243761}}
Result: Template:Taxonbar/sandbox2
Testcases
Rhododendron maximum Template:Taxonbar/sandbox2 Asclepias syriaca Template:Taxonbar/sandbox2 Peach (Prunus persica) Template:Taxonbar/sandbox2 Puma_(genus) Template:Taxonbar/sandbox2 Dog (Canis lupus familiaris) Template:Taxonbar/sandbox2 Eastern bluebird (Sialia sialis) Template:Taxonbar/sandbox2 Honey bee (Apis) Template:Taxonbar/sandbox2 Western honey bee (Apis mellifera) Template:Taxonbar/sandbox2 Clipper butterfly (Parthenos sylvia) Template:Taxonbar/sandbox2 Turkey tail (Trametes versicolor) Template:Taxonbar/sandbox2 Button/portobello mushroom (Agaricus bisporus) Template:Taxonbar/sandbox2
Module editing — to-do list
- Improve documentation
- Add parameters to remove individual identifiers from taxonbar. This could help the box from becoming two lines when one line is desired.
- Pull the formatter URLs from Wikidata.
- Add ability to add identifiers not listed on Wikidata.
- Add support for
from=to show taxonbox as an example on pages without data, such as template documentation and userpages. Hide taxonbar if empty.- Add support for parameters currently supported by Template:T.
- See {{Taxonbar/testcases}}.
- Add support for entering missing data with listed parameters above. Add documentation.
- Add support for
wcsp=Add documentation. - Add support for
namebank=aka uBio Add documentation? - Add support for
emonocot=Add documentation. - Add support for
others=? - Disable certain non research-grade databases by default? EOL?
- Add support for grin and
grinurl=Add documentation that a URL must be entered for GRIN rather than ID.
- See {{Taxonbar/testcases}}.
- Change "Taxon identifiers" link to the Wikidata entry link? - This may need community consensus. The Wikidata link is useful because it will show identifiers that were not shown in Taxonbar.
- Add tracking for entries not on Wikidata. Suggest differences be resolved.
See also
- Template:T the original template.
- Template_talk:Taxonbar, Taxonbar discussion.
- Module:Authority_control.
- gl:Módulo:Taxonbar, original code source for this template.
