Difference between revisions of "Template:Treatment/ID"

(Set a new property called "Number of lower taxa")
 
(18 intermediate revisions by the same user not shown)
Line 23: Line 23:
 
<!--/.lower-taxa--></div>}}</div></ins><!--
 
<!--/.lower-taxa--></div>}}</div></ins><!--
  
{{#set:
+
-->{{#set:
 
Number of lower taxa={{#ask: [[Taxon parent::{{{accepted_name|}}} ]] |format=count }}
 
Number of lower taxa={{#ask: [[Taxon parent::{{{accepted_name|}}} ]] |format=count }}
}}
+
}}<!--
  
 
## Authority, Author & Publication
 
## Authority, Author & Publication
Line 50: 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 58: 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 13:47, 10 February 2021

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