"ഫലകം:Taxobox/taxonomy cell" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Content deleted Content added
(ചെ.) Protected Template:Taxobox/taxonomy cell: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite))
(വ്യത്യാസം ഇല്ല)

15:14, 20 ജൂൺ 2011-നു നിലവിലുണ്ടായിരുന്ന രൂപം

[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

Usage

Input

  • |1=Taxon name - mandatory
  • |force=true - force display, see below

Output

This template will produce a cell to appear in an Automatic taxobox. The cell will be displayed if:

  • The parameter |force=true
  • The taxon is at a major taxonomic level (kingdom, phylum, class ... genus, species)
  • The page at Template:Taxonomy/TAXONNAME contains |always_display=true (verbatim).

The cell itself is produced using Template:Taxonomy.

Template logic

if the taxon does not exist, or has no parent listed (i.e. taxonomy/TAXON|parent does not start with [A-z]) :

If there's no parent listed :
: return null;
Else, if the page doesn't exist
: return an error message (generated by Template:Create taxonomy);

Else (i.e. taxon exists and has parent listed)

if force parameter is sent,
or if taxonomy/TAXON|always_display is set to true,
or if taxonomy/TAXON|rank is a major rank worthy of display
: return a taxobox cell.

See also

"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Taxobox/taxonomy_cell&oldid=1144625" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്