Àdàkọ:Get regnum()/1

Lát'ọwọ́ Wikipedia, ìwé ìmọ̀ ọ̀fẹ́
Jump to navigation Jump to search
Ìwé-alàyé àdàkọ[ìwò] [àtúnṣe] [ìtàn] [ìfọnù]

Usage[àtúnṣe àmìọ̀rọ̀]

Input: |1=Taxon name

Output:

  • If Taxon is a regnum (or equivalent higher category),
    [[{{{1}}}]]
  • Else: Null.

Intended use: Call repeatedly for each taxon in a taxobox (using {{Get regnum()}}). Because a null string is returned for all non-regna, all that remains will be the regnum. Pass this output to {{Taxobox colour}} to generate colours for a taxobox.

Examples[àtúnṣe àmìọ̀rọ̀]

See also[àtúnṣe àmìọ̀rọ̀]