Template:taxnyms: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
(''{{{base}}}''): {{#if:{{{d1|}}}|{{l|{{{1}}}|{{{d1}}}|t={{{d2}}}|pos=domain}}|}}{{#if:{{{d1|}}}| — {{l|{{{1}}}|{{{k1}}}|t={{{k2}}}|pos=kingdom}}|}}
(''{{{base}}}''): {{#if:{{{d1|}}}|{{l|{{{1}}}|{{{d1}}}|t={{{d2}}}|pos=domain}}|}}{{#if:{{{k1|}}}|&nbsp;&nbsp;{{l|{{{1}}}|{{{k1}}}|t={{{k2}}}|pos=kingdom}}|}}{{#if:{{{subk1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{subk1}}}|t={{{subk2}}}|pos=subkingdom}}|}}{{#if:{{{infk1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{infk1}}}|t={{{infk2}}}|pos=infrakingdom}}|}}{{#if:{{{supp1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{supp1}}}|t={{{supp2}}}|pos=superphylum}}|}}{{#if:{{{p1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{p1}}}|t={{{p2}}}|pos=phylum}}|}}{{#if:{{{subp1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{subp1}}}|t={{{subp2}}}|pos=subphylum}}|}}{{#if:{{{infp1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{infp1}}}|t={{{infp2}}}|pos=infraphylum}}|}}{{#if:{{{supc1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{supc1}}}|t={{{supc2}}}|pos=superclass}}|}}{{#if:{{{c1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{c1}}}|t={{{c2}}}|pos=class}}|}}{{#if:{{{subc1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{subc1}}}|t={{{subc2}}}|pos=subclass}}|}}{{#if:{{{infc1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{infc1}}}|t={{{infc2}}}|pos=infraclass}}|}}{{#if:{{{parc1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{parc1}}}|t={{{parc2}}}|pos=parvclass}}|}}{{#if:{{{supo1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{supo1}}}|t={{{supo2}}}|pos=superorder}}|}}{{#if:{{{o1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{o1}}}|t={{{o2}}}|pos=order}}|}}{{#if:{{{subo1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{subo1}}}|t={{{subo2}}}|pos=suborder}}|}}{{#if:{{{info1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{info1}}}|t={{{info2}}}|pos=infraorder}}|}}{{#if:{{{paro1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{paro1}}}|t={{{paro2}}}|pos=parvorder}}|}}{{#if:{{{supf1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{supf1}}}|t={{{supf2}}}|pos=superfamily}}|}}{{#if:{{{f1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{f1}}}|t={{{f2}}}|pos=family}}|}}{{#if:{{{subf1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{subf1}}}|t={{{subf2}}}|pos=subfamily}}|}}{{#if:{{{inff1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{inff1}}}|t={{{inff2}}}|pos=infrafamily}}|}}{{#if:{{{supt1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{supt1}}}|t={{{supt2}}}|pos=supertribe}}|}}{{#if:{{{t1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{t1}}}|t={{{t2}}}|pos=tribe}}|}}{{#if:{{{subt1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{subt1}}}|t={{{subt2}}}|pos=subtribe}}|}}{{#if:{{{inft1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{inft1}}}|t={{{inft2}}}|pos=sinfratribe}}|}}{{#if:{{{supg1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{supg1}}}|t={{{supg2}}}|pos=supergenus}}|}}{{#if:{{{g1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{g1}}}|t={{{g2}}}|pos=genus}}|}}{{#if:{{{subg1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{subg1}}}|t={{{subg2}}}|pos=subgenus}}|}}{{#if:{{{infg1|}}}|&nbsp;—&nbsp;{{l|{{{1}}}|{{{infg1}}}|t={{{infg2}}}|pos=infragenus}}|}}<noinclude>{{documentation}}[[Category:Taxonomy topic by language]]</noinclude>

Latest revision as of 17:02, 2 August 2024

({{{base}}}):

TemplateDocumentation.svg Template documentation [view] [edit] [purge]

Usage

This template can be used to create a list of hypernyms for any taxonomic term.

For example,

  • {{taxnyms|lfv|base=phylum|d1=hlikuêtêljir|d2=Eukaryota|k1=irisir|k2=Animalia}}

gives

The main taxonomic ranks are abbreviated to their first initial letter (e.g. o for order), the related ranks above and below are abbreviated to their first three letters + the main rank letter, eg. suborder is subo and infraorder is info. Each rank abbreviation is followed by a number: 1 stands for the term in the target language, and 2 stands for the English translation of the term.

For proper rendering, the rank of domain must always be included.

The template currently supports the following ranks:

  • d - domain
  • k - kingdom
  • supk - subkingdom
  • infk - infrakingdom
  • supp - superphylum
  • p - phylum
  • subp - subphylum
  • infp - infraphylum
  • supc - superclass
  • c - class
  • subc - subclass
  • infc - infraclass
  • parc - parvclass
  • supo - superorder
  • o - order
  • subo - suborder
  • info - infraorder
  • paro - parvorder
  • supf - superfamily
  • f - family
  • subf - subfamily
  • inff - infrafamily
  • supt - supertribe
  • t - tribe
  • subt - subtribe
  • inft - infratribe
  • supg - supergenus
  • g - genus
  • subg - subgenus
  • infg - infragenus


Longer example:

  • {{genus|lfv|base=family|d1=hlikuêtêljir|d2=Eukaryota|k1=irisir|k2=Animalia|p1=elkwirfêljir|p2=Chordata|c1=delgêljir|c2=Mammalia|o1=þaranir|o2=Carnivora|subo1=nivimbuhtessir|subo2=Caniformia}}
  • (genus): hlikuêtêljir (“Eukaryota”, domain) — irisir (“Animalia”, kingdom) — elkwirfêljir (“Chordata”, phylum) — delgêljir (“Mammalia”, class) — þaranir (“Carnivora”, order) — nivimbuhtessir (“Caniformia”, suborder)