Module:Taxonbar/doc

From blackwiki
< Module:Taxonbar
Revision as of 04:44, 29 May 2017 by blackwiki>Mellis (→‎Module editing — to-do list: Link to wikidata resolved (for now).)
Jump to navigation Jump to search

This is the documentation page for Module:Taxonbar

Template:Uses Wikidata

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 in Module:Taxonbar/conf. 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

Template:Seealso

Purge server cache

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. Can be suppressed by setting equal to no (e.g. |eol=no). Should we suppress if set to blank (e.g. |eol=)?
  • 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. Someone want to double-check Module:Taxonbar/conf that we got them all?
    • 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.
  • Add tracking for entries not on Wikidata. Suggest differences be resolved.

See also