Sjabloon:Taxobox name/doc

Uit WikiMeneer
Ga naar: navigatie, zoeken

Generates the "name" parameter for {{Taxobox}}es, if unspecified.

Pass the following parameters: {{Taxobox name|genus|species|binomial}}

Rationale
If any of the "genus", "species", or "binomial" parameters specified in the template EXACTLY MATCH the name of the page (with any bracketed appendices removed), AND the "name" parameter is unspecified, the page's name in italicised form will be adopted as the name for the taxobox and set as the displayed page title.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Taxobox name/doc

<templatedata> {

   "description": "Generates the 'name' parameter for Taxoboxes. Styles the page title in italics if one of the parameters match the pagename.",
   "params": {
       "1": {
           "label": "genus",
           "description": "",
           "type": "string",
           "required": true
       },
       "2": {
           "label": "species",
           "description": "",
           "type": "string",
           "required": true
       },
       "3": {
           "label": "3",
           "description": "binomial",
           "type": "string",
           "required": true
       },
       "4": {
           "label": "4",
           "description": "",
           "type": "string",
           "required": false
       }
   }

} </templatedata>