Difference between revisions of "Module:Sandbox/Jts1882/Biota infobox/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jts1882
(add rating)
blackwiki>Jts1882
(update)
Line 14: Line 14:
 
== Usage ==
 
== Usage ==
  
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''function_name''}}</code>
+
<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 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:

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