Difference between revisions of "Template:Ichnobox/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
(different handling of italicizing the title)
imported>Peter coxhead
(move processing of value of name para to separate template)
Line 30: Line 30:
 
| grandparent_authority = {{{grandparent_authority|{{{grandparent authority|}}}}}}
 
| grandparent_authority = {{{grandparent_authority|{{{grandparent authority|}}}}}}
 
| greatgrandparent_authority = {{{greatgrandparent_authority|{{{greatgrandparent authority|}}}}}}<noinclude><!--
 
| greatgrandparent_authority = {{{greatgrandparent_authority|{{{greatgrandparent authority|}}}}}}<noinclude><!--
--  name:  Works out whether the name should be italicized (as
+
--  name:   
--  genera, species, etc); if so, passes the italicized result.
 
--  There should be no punctuation in the "name" parameter, which
 
--  is intended only for cases where the taxobox name does not
 
--  match that displayed or linked to by the taxon in question.
 
--  Italics are generated automatically.
 
--
 
--  italic_name:  This parameter is still supported (just in case),
 
--  but links to Category:Automatic_taxobox_cleanup because the
 
--  template should be able to italicize for all cases.
 
 
--></noinclude>
 
--></noinclude>
| name = {{{italic_name|{{{italic name|{{{name|}}}}}}}}}{{
+
| name = {{Ichnobox/name|name={{{italic_name|{{{italic name|{{{name|}}}}}}}}}|taxon={{{taxon|<includeonly>{{{{PAGENAMEBASE}}}}</includeonly><noinclude>Agrestipus</noinclude>|}}}}}
  #ifeq:'|{{padleft:|1|{{{italic_name|{{{italic name|{{{name|}}}}}}}}} }}
 
    |{{#ifeq:{{FULLPAGENAME}}|Template:Ichnobox/testcases||{{Italic title}}}}
 
  }}
 
 
| colour = {{Taxobox colour|ichnos}}
 
| colour = {{Taxobox colour|ichnos}}
 
| image = {{{image|}}}
 
| image = {{{image|}}}

Revision as of 11:13, 30 September 2020

Template:Taxobox/core/sandbox

Template documentation[view] [edit] [history] [purge]

This template is used to create infoboxes for trace fossil taxa (ichnotaxa). See Trace fossil classification for more information.

Documentation for the automated taxobox system

Taxonomy templates

Taxobox templates

Usage

This template operates in a similar manner to Template:Automatic taxobox. Please see that template for general usage instructions.

There is no equivalent of {{Speciesbox}} for ichnospecies; almost all articles are about ichnogenera and ichnofamilies.

The top-level taxon for ichnotaxa - i.e. the parent for ichnotaxa that have no higher classification - is "Ichnos".

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Ichnobox

An infobox for ichnotaxa (trace fossils)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringoptional
Fossil_rangefossil_range

no description

Stringsuggested
Imageimage

no description

Fileoptional
Image_captionimage_caption

no description

Stringoptional
Image2image2

no description

Fileoptional
Image2_captionimage2_caption

no description

Stringoptional
Parent_authorityparent_authority

no description

Stringoptional
Taxontaxon

no description

Stringrequired
Authorityauthority

no description

Stringsuggested
Type_ichnospeciestype_ichnospecies

no description

Stringoptional
Type_ichnospecies_authoritytype_ichnospecies_authority

no description

Stringoptional
Subdivision_rankssubdivision_ranks

no description

Stringoptional
Subdivisionsubdivision

no description

Unknownoptional
Synonymssynonyms

no description

Stringoptional