Difference between revisions of "Template:Treatment/ID"

(Set number of lower taxa as a property)
 
(5 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
-->{{#if: {{#ask:[[Plate of taxon::{{PAGENAME}}]]}}|<div class="treatment-plate">[[{{#ask:[[Plate of taxon::{{PAGENAME}}]]|link=none}}|300px|Click plate for higher resolution version.]]Test caption</div>}}</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 16:38, 6 November 2020

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