Difference between revisions of "Module:Taxonbar/doc"
blackwiki>Ahecht (→Usage: add link to conf) |
blackwiki>Ahecht (→Module editing — to-do list: update) |
||
| 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
| 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 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
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 tono(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 forfrom=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 forAdd documentation.wcsp=Add support forAdd documentation?namebank=aka uBioAdd support forAdd documentation.emonocot=- Add support for
others=? - Disable certain non research-grade databases by default? EOL?
Add support for grin andAdd documentation that a URL must be entered for GRIN rather than ID.grinurl=
- 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.
