Changes
m
Peter coxhead moved page Template:Taxobox/taxonomy cell/display to Template:Taxobox/displayed cell: immediate parent is no longer used, so move up one level and rename
<!-- We are passed the *parent* of the taxon in question, as a string "{{{1}}}".
If the taxon in question doesn't have a taxonomy/ page, {{{1}}} will be "[[:Template:Taxonomy/taxon-in-question]]". (Return X)
Otherwise, it should be an English string (so start with a letter). (Return A)
If we've hit a top level taxon (e.g. "Life"), the string will begin with a non-letter character (e.g. {). (Return 0)
-->{{#ifeq:{{ucfirst:{{{1}}} }}|{{lcfirst:{{{1}}} }}|{{#ifeq:{{padleft:|1|{{{1|}}}}}<!--this'll return the first char of the string-->|[|X|0}}|<!--
If ucfirst != lcfirst, the string must start with a letter. Return A.
-->A}}
<noinclude>{{documentation}}</noinclude>
If the taxon in question doesn't have a taxonomy/ page, {{{1}}} will be "[[:Template:Taxonomy/taxon-in-question]]". (Return X)
Otherwise, it should be an English string (so start with a letter). (Return A)
If we've hit a top level taxon (e.g. "Life"), the string will begin with a non-letter character (e.g. {). (Return 0)
-->{{#ifeq:{{ucfirst:{{{1}}} }}|{{lcfirst:{{{1}}} }}|{{#ifeq:{{padleft:|1|{{{1|}}}}}<!--this'll return the first char of the string-->|[|X|0}}|<!--
If ucfirst != lcfirst, the string must start with a letter. Return A.
-->A}}
<noinclude>{{documentation}}</noinclude>