Difference between revisions of "Template:Treatment/ID"

imported>Admin
 
 
(19 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
<div id="lower-taxa-body" class="lower-taxa-body collapsed collapse">{{#ask: [[Taxon parent::{{{accepted_name|}}} ]]|limit=999 }}</div>
 
<div id="lower-taxa-body" class="lower-taxa-body collapsed collapse">{{#ask: [[Taxon parent::{{{accepted_name|}}} ]]|limit=999 }}</div>
 
<!--/.lower-taxa--></div>}}</div></ins><!--
 
<!--/.lower-taxa--></div>}}</div></ins><!--
 +
 +
-->{{#set:
 +
Number of lower taxa={{#ask: [[Taxon parent::{{{accepted_name|}}} ]] |format=count }}
 +
}}<!--
  
 
## Authority, Author & Publication
 
## Authority, Author & Publication
Line 46: Line 50:
  
 
##Synonyms and basionyms
 
##Synonyms and basionyms
--><div class="treatment-id-synonyms_and_basionyms">{{#if:{{{basionyms|}}}|<div class="treatment-id-basionyms">Basionyms: {{{basionyms|}}}</div>}}{{#if:{{{synonyms|}}}|<div class="treatment-id-synonyms">Synonyms: {{{synonyms}}} </div>}}</div><!--
+
--><div class="treatment-id-synonyms_and_basionyms">{{#if:{{{basionyms|}}}|<div class="treatment-id-basionyms">Basionym: {{{basionyms|}}}</div>}}{{#if:{{{synonyms|}}}|<div class="treatment-id-synonyms">Synonyms: {{{synonyms}}} </div>}}</div><!--
  
 
### Volume and pages
 
### Volume and pages
Line 54: Line 58:
  
 
##Plate
 
##Plate
 +
-->{{#ifeq:{{#show: {{PAGENAME}}|?Taxon rank}}|genus|
 +
{{#ask: [[Plate of taxon::<q>[[Category:{{PAGENAME}}]]</q>]] | ?Plate of taxon=Taxon | ?Plate of taxon.Illustrator |  format=gallery | limit=3 }} }}<!--
 
-->{{#if: {{#ask:[[Plate of taxon::{{PAGENAME}}]]}}|<div class="treatment-plate">[[{{#ask:[[Plate of taxon::{{PAGENAME}}]]|link=none}}|300px|Please click on the illustration for a higher resolution version.]]<font size="-1"><br>Illustrator: {{#show: {{PAGENAME}}|?illustrator}}<p>Copyright: {{#show: {{PAGENAME}}|?illustration copyright}}</p></font></div>{{#set:Illustration=Present}}}}</includeonly>
 
-->{{#if: {{#ask:[[Plate of taxon::{{PAGENAME}}]]}}|<div class="treatment-plate">[[{{#ask:[[Plate of taxon::{{PAGENAME}}]]|link=none}}|300px|Please click on the illustration for a higher resolution version.]]<font size="-1"><br>Illustrator: {{#show: {{PAGENAME}}|?illustrator}}<p>Copyright: {{#show: {{PAGENAME}}|?illustration copyright}}</p></font></div>{{#set:Illustration=Present}}}}</includeonly>

Latest revision as of 12:47, 10 February 2021

Used to format the identification header which appears at the top of each treatment