Difference between revisions of "Template:Treatment/ID"

(Change hover verbiage)
(Set number of lower taxa as a property)
 
(2 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

Latest revision as of 16:38, 6 November 2020

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