Note: This is a project under development. The articles on this wiki are just being initiated and broadly incomplete. You can Help creating new pages.

Changes

Jump to: navigation, search

Template:Taxobox/taxonomy check

1,880 bytes added, 12 years ago
created, as a subtemplate of Template:Taxobox, to check for taxon templates at higher levels, for {Template:Taxobox/taxonomy}.
<noinclude><!--
-=============================================================================
- Taxobox/taxonomy_check: Check for taxon templates at higher levels
-=============================================================================
--
-- For parameter 1 taxon, returns either: "found" or "error".
--
--></noinclude>{{#ifeq:{{{level|12}}}|12
|{{
#ifeq:{<!--left brace-->|{{padleft:|1|{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{{1|Allosaurus}}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}} }}<!--end-padleft-->
|<!--then this taxon beyond top of tree, indicate as "error" -->error
|<!--else found template result rather than unprocessed "{" -->found
}}<!--endifeq-else {taxonomy..nested 12 deep}-->
}}<!--endif level=12 --
-->{{#ifeq:{{{level|12}}}|13
|{{
#ifeq:{<!--left brace-->|{{padleft:|1|{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{taxonomy/{{{1}}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}}|machine code=parent}} }}<!--end-padleft-->
|<!--then this taxon beyond top of tree, indicate as "error" -->error
|<!--else found template result rather than unprocessed "{" -->found
}}<!--endifeq-else {taxonomy..nested 13 deep}-->
}}<!--endif level=13--><noinclude>

{{documentation}}
[[Category:Taxobox]]
</noinclude>
Anonymous user

Navigation menu