Difference between revisions of "Module:Sandbox/Jts1882/Biota infobox/doc"
Jump to navigation
Jump to search
blackwiki>Jts1882 (add rating) |
blackwiki>Jts1882 (update) |
||
| Line 14: | Line 14: | ||
== Usage == | == Usage == | ||
| − | <code><nowiki>{{</nowiki>#invoke: | + | <code><nowiki>{{</nowiki>#invoke:Sandbox/Jts1882/Biota_Infobox|''function_name''}}</code> |
| + | |||
| + | Several functions provide different entry points for development purposes: | ||
| + | |||
| + | * ''main'' - all the options, | ||
| + | * ''core'' - emulates the core but uses other taxobox templates to pass parameters to the core | ||
| + | * ''automatictaxobox'' - emulates {{tl|automatic taxobox}} with parameter validation, but still uses the {{tl|Taxobox/core}} template | ||
| + | * TODO add similar entry point for ''speciesbox'', ''subspeciesbox'', ''infraspeciesbox'', etc | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Revision as of 14:02, 7 December 2018
| This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
This module started out as a quick module for template {{paraphyletic group}}, but has morphed into a module to emulate the {{taxobox/core}}. Handling for templates that call the core has been added for {{taxobox}}, {{Automatic taxobox}} and {{Speciesbox}}, but is incomplete.
Examples:
- User:Jts1882/sandbox/test/taxobox (paraphyletic group version)
- User:Jts1882/sandbox/test/taxobox/manual (manual taxobox version)
- User:Jts1882/sandbox/test/taxobox/auto (automatic taxobox version)
- User:Jts1882/sandbox/test/taxobox/species (speciesbox version)
- User:Jts1882/sandbox/test/taxobox/infra (subspeciesbox and infraspeciesbox versions)
Usage
{{#invoke:Sandbox/Jts1882/Biota_Infobox|function_name}}
Several functions provide different entry points for development purposes:
- main - all the options,
- core - emulates the core but uses other taxobox templates to pass parameters to the core
- automatictaxobox - emulates {{automatic taxobox}} with parameter validation, but still uses the {{Taxobox/core}} template
- TODO add similar entry point for speciesbox, subspeciesbox, infraspeciesbox, etc