Difference between pages "Template:Ichnobox" and "Template:Ichnobox/sandbox"

From quasar
(Difference between pages)
Page 1
Page 2
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
<includeonly><div style='display:none; visibility:hidden'>{{Taxobox/taxon}}<!-- This template has to be "warmed up" before it can be used, for some reason --></div><!--
+
<noinclude><!--
 +
-==================================================================
 +
-  Template:Ichnobox - Generate right-side infobox of ichno data
 +
-==================================================================
 +
--
 +
-- OMIT peculiar "warmup" template ... <div style='display:none; visibility:hidden'>{{Taxobox/taxon|Agrestipus}}<!-- This template has to be "warmed up" before it can be used, for some reason --><!-- </div><!--
  
This template sends parameters to taxobox/core, which generates the output HTML.  Most parameters are just passed directly; interesting ones are noted with a comment.
+
--  This template sends parameters to taxobox/core, which generates
 +
--  the output HTML.  Most parameters are just passed directly;
 +
--  some are noted with a comment.
  
-->{{Taxobox/core
+
--></noinclude>{{Taxobox/core
 
| edit link = {{{edit link|e}}}
 
| edit link = {{{edit link|e}}}
 
| ichnos = true<!--  
 
| ichnos = true<!--  
Line 14: Line 21:
 
| temporal_range =  {{#if:{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{#iferror:{{geological range|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }}|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{geological range|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }} }} | {{#if:{{{oldest fossil|}}}|{{geological range|{{{oldest fossil}}}|{{{youngest fossil|Recent}}} }} }} }}<!--  
 
| temporal_range =  {{#if:{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{#iferror:{{geological range|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }}|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}}|{{geological range|{{{temporal_range|{{{temporal range|{{{fossil_range|{{{fossil range|}}} }}} }}} }}} }} }} | {{#if:{{{oldest fossil|}}}|{{geological range|{{{oldest fossil}}}|{{{youngest fossil|Recent}}} }} }} }}<!--  
 
PARENT: this parameter ought really be called "taxon", not "parent" -->
 
PARENT: this parameter ought really be called "taxon", not "parent" -->
| parent = {{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}<!--
+
| parent = {{Taxobox/taxon|{{{taxon|<includeonly>{{PAGENAME}}</includeonly><noinclude>Agrestipus</noinclude>|}}}|{{{1|}}} }}<!--
 
DISPLAY PARENTS:
 
DISPLAY PARENTS:
 
  Number of immediate parents to display. Defaults to 1 to give the taxon some context.
 
  Number of immediate parents to display. Defaults to 1 to give the taxon some context.
Line 34: Line 41:
 
This parameter is still supported (just in case), but shows up in Category:Automatic taxobox cleanup because the template ''should'' be able to italicize things itself in all cases.
 
This parameter is still supported (just in case), but shows up in Category:Automatic taxobox cleanup because the template ''should'' be able to italicize things itself in all cases.
 
-->
 
-->
| name = {{#ifeq:'|{{str rightmost|1='{{{name|}}}|2=1}}|{{#if:{{{italic name|}}}|[[Category:Automatic taxobox cleanup|&iota;]]{{DISPLAYTITLE:{{
+
| name = {{{italic name|{{{name|}}} }}}{{
 +
  #ifeq:'|{{padleft:|1|{{{italic name|{{{name|}}} }}} }}
 +
    |{{DISPLAYTITLE:{{{italic name|{{{name|}}}}}} }}
 +
  }}<!--
 +
-------------------------------------------- ( Omit this stuff... )
 +
{{#ifeq:'|{{padleft:|1|'{{{name}}} }}|{{#if:{{{italic name|}}}|[[Category:Automatic taxobox cleanup|&iota;]]{{DISPLAYTITLE:{{
 
   #if:{{NAMESPACE}}
 
   #if:{{NAMESPACE}}
 
   | {{NAMESPACE}}:
 
   | {{NAMESPACE}}:
 
   }}''{{{italic_name}}}''}}''{{{italic name}}}''|{{taxobox name
 
   }}''{{{italic_name}}}''}}''{{{italic name}}}''|{{taxobox name
 
     |1={{{binomial|}}}
 
     |1={{{binomial|}}}
     |2={{taxobox/italics|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }}
+
     |2={{taxobox/italics|{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} }}
     |3={{taxobox/italics|{{t^|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }}
+
     |3={{taxobox/italics|{{t^|{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} }} }}
     |4={{taxobox/italics|{{t^^|{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }} }} }}
+
     |4={{taxobox/italics|{{t^^|{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }} }} }}
 
   }}
 
   }}
 
  }}|{{{name}}} }}<!--
 
  }}|{{{name}}} }}<!--
Line 77: Line 89:
  
 
-->
 
-->
| subdivision = {{{subdivision|{{#if:{{{display children|{{{display_children|}}}}}}|{{Child taxa/{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}|depth={{{display children|{{{display_children}}}}}} }} }} }}}<!--
+
| subdivision = {{{subdivision|{{#if:{{{display children|}}}|{{Child taxa/{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }}|depth={{{display children|}}} }} }} }}}<!--
  
 
SUBDIVISION RANKS:
 
SUBDIVISION RANKS:
Line 83: Line 95:
  
 
-->
 
-->
| subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|{{children_rank|{{taxonomy/{{Taxobox/taxon|{{{taxon|}}}|{{{1|}}} }}|rank}} }} }}} }}}
+
| subdivision_ranks = {{{subdivision ranks|{{{subdivision_ranks|{{children_rank|{{taxonomy/{{Taxobox/taxon|{{{taxon|{{PAGENAME}}|}}}|{{{1|}}} }}|rank}} }} }}} }}}
 
| possible_subdivision = {{{possible_subdivision|{{{possible subdivision|}}}}}}
 
| possible_subdivision = {{{possible_subdivision|{{{possible subdivision|}}}}}}
 
| possible_subdivision_ranks = {{{possible_subdivision_ranks|{{{possible subdivision ranks}}}}}}<!--
 
| possible_subdivision_ranks = {{{possible_subdivision_ranks|{{{possible subdivision ranks}}}}}}<!--
Line 114: Line 126:
 
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
 
| synonyms_ref = {{{synonyms ref|{{{synonyms_ref|}}} }}}
 
| synonyms = {{{synonyms|}}}
 
| synonyms = {{{synonyms|}}}
}}</includeonly><noinclude>{{documentation}}[[Category:Biology infobox templates]]</noinclude>
+
}}<noinclude>
 +
 
 +
{{documentation}}[[Category:Biology infobox templates]]</noinclude>