Template:Don't edit this line: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
(Created page with "<includeonly><!-- This template should only be called by Taxonomy template pages, where {{{machine code}}} is unspecified. Elsewhere it is redundant to the more-efficient "d...")
 
m (1 revision imported)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--  
<noinclude><!--  
 
This template should only be called by taxonomy template pages, where {{{machine code}}} is unspecified.
This template should only be called by Taxonomy template pages, where {{{machine code}}} is unspecified. Elsewhere it is redundant to the more-efficient "don't edit this line {{{machine code}}}" variants.  
Note that "link=A|B" in the taxonomy template is decomposed into "link_target=A" and "link_text=B", as B will
 
be the only unnamed parameter.
-->{{#switch:{{{1}}}|rank={{{rank|}}}|parent={{{parent|}}}|link={{{link|}}}{{#if:{{{2|{{{extinct|}}}}}}|{{!}}{{#if:{{{extinct|}}}|{{extinct}}}}{{{2|{{{link|}}}}}}}}|link_text={{#if:{{{extinct|}}}|{{extinct}}}}{{{2|{{{link|}}}}}}|link_target={{{link|}}}|always_display={{{always_display|}}}|2={{{2|{{{link|}}}}}}|{{{1}}}={{taxonomy key|parent={{{parent}}}|rank={{{rank}}}|extinct={{{extinct|}}}|always_display={{{always_display|}}}|link_target={{{link|}}}|link={{{link|}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}}}}}{{#ifeq:{{NAMESPACE}}|Template|[[Category:Taxonomy templates]]}}</includeonly><noinclude>{{documentation|template:Taxonomy/doc}}</noinclude>
--></noinclude><includeonly>{{#invoke:Autotaxobox|callTaxonomyKey|taxon={{#titleparts:{{PAGENAME}}||2}}|parent={{{parent|}}}|rank={{{rank|}}}|extinct={{{extinct|}}}|always_display={{{always_display|{{{always display|}}}}}}|link_target={{{link|}}}|link_text={{{1|}}}|refs={{{refs|}}}|same_as={{{same_as|{{{same as|}}}}}}}}<!--
-->{{#ifeq:{{NAMESPACE}}|Template
|{{#ifeq:{{lcfirst:{{{rank|}}}}}|species
|[[Category:Taxonomy templates for species|{{#titleparts:{{PAGENAME}}||2}}]]
|{{#if:{{Str endswith|{{PAGENAME}}|/?}}
  |[[Category:Taxonomy templates with query|{{#titleparts:{{PAGENAME}}||2}}]]
  |{{#if:{{#titleparts:{{PAGENAME}}||3}}
  |[[Category:Taxonomy templates with qualified names|{{#titleparts:{{PAGENAME}}||2}}]]
  |[[Category:Taxonomy templates|{{#titleparts:{{PAGENAME}}||2}}]]
  }}
  }}
}}
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 11:28, 17 January 2019

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[create]