Difference between revisions of "Module:Taxonbar/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ahecht
(→‎Usage: add link to conf)
blackwiki>Ahecht
Line 41: Line 41:
 
==Module editing — to-do list==
 
==Module editing — to-do list==
 
* Improve documentation
 
* Improve documentation
* Add parameters to remove individual identifiers from taxonbar. This could help the box from becoming two lines when one line is desired.
+
* <s>Add parameters to remove individual identifiers from taxonbar. This could help the box from becoming two lines when one line is desired.</s> ''Can be suppressed by setting equal to <code>no</code> (e.g. {{para|eol|no}}). Should we suppress if set to blank (e.g. {{para|eol}})?''
* Pull the formatter URLs from Wikidata.
+
* <s>Pull the formatter URLs from Wikidata.</s>
* Add ability to add identifiers not listed on Wikidata.
+
* <s>Add ability to add identifiers not listed on Wikidata.</s>
* Add support for <code>from=</code> to show taxonbox as an example on pages without data, such as template documentation and userpages.
+
* <s>Add support for <code>from=</code> to show taxonbox as an example on pages without data, such as template documentation and userpages.</s>
 
* <s>Hide taxonbar if empty.</s>
 
* <s>Hide taxonbar if empty.</s>
* Add support for parameters currently supported by {{T|Taxonbar}}.
+
* <s>Add support for parameters currently supported by {{T|Taxonbar}}.</s> ''Someone want to double-check [[:Module:Taxonbar/conf]] that we got them all?''
 
** See {{Tl|Taxonbar/testcases}}.
 
** See {{Tl|Taxonbar/testcases}}.
*** Add support for entering missing data with listed parameters above. Add documentation.
+
*** <s>Add support for entering missing data with listed parameters above.</s> Add documentation.
*** Add support for <code>wcsp=</code> Add documentation.
+
*** <s>Add support for <code>wcsp=</code></s> Add documentation.
*** Add support for <code>namebank=</code> aka uBio Add documentation?
+
*** <s>Add support for <code>namebank=</code> aka uBio</s> Add documentation?
*** Add support for <code>emonocot=</code> Add documentation.
+
*** <s>Add support for <code>emonocot=</code></s> Add documentation.
 
*** Add support for <code>others=</code>?
 
*** Add support for <code>others=</code>?
 
*** Disable certain non research-grade databases by default? EOL?
 
*** Disable certain non research-grade databases by default? EOL?
*** Add support for grin and <code>grinurl=</code> Add documentation that a URL must be entered for GRIN rather than ID.
+
*** <s>Add support for grin and <code>grinurl=</code></s> Add documentation that a URL must be entered for GRIN rather than ID.
 
* 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.  
 
* 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.
 
* Add tracking for entries not on Wikidata. Suggest differences be resolved.

Revision as of 21:43, 28 May 2017

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.
  • 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