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

From blackwiki
Jump to navigation Jump to search
blackwiki>Jts1882
(update)
m (10 revisions imported)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{tl|Module rating |<!-- Values:  pre-alpha • alpha • beta • release • protected  --  If a rating not needed/relevant, delete this template call -->}}
+
{{Module rating |alpha|<!-- Values:  pre-alpha • alpha • beta • release • protected  --  If a rating not needed/relevant, delete this template call -->}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
  
 
This module started out as a quick module for template {{tl|paraphyletic group}}, but has morphed into a module to emulate the {{tl|taxobox/core}}. Handling for templates that call the core has been added for {{tl|taxobox}}, {{tl|Automatic taxobox}} and {{tl|Speciesbox}}, but is incomplete.
 
This module started out as a quick module for template {{tl|paraphyletic group}}, but has morphed into a module to emulate the {{tl|taxobox/core}}. Handling for templates that call the core has been added for {{tl|taxobox}}, {{tl|Automatic taxobox}} and {{tl|Speciesbox}}, but is incomplete.
 +
 +
'''Data subpages'''
 +
 +
{{div col}}
 +
<ul class="listify">{{Special:Prefixindex/Module:Sandbox/Jts1882/Biota infobox |hideredirects=1 |stripprefix=0}}</ul>
 +
{{Div col end}}
  
 
'''Examples:'''
 
'''Examples:'''
Line 14: Line 20:
 
== 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 | |

Latest revision as of 10:01, 27 September 2020

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.

Data subpages

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