Difference between revisions of "Template:Treatment/ID"

 
(2 intermediate revisions by the same user not shown)
Line 36: Line 36:
 
## Author
 
## Author
 
--><div class="treatment-author">{{Treatment/AuthorLink|{{#show: {{{accepted_name|}}}|?Author}} }}</div></ins><!--
 
--><div class="treatment-author">{{Treatment/AuthorLink|{{#show: {{{accepted_name|}}}|?Author}} }}</div></ins><!--
 
###Family illustrations
 
--><div class="family-illustrations">{{#if: {{#ask:[[Taxon rank::family]][[Taxon name::{{PAGENAME}}]]}}| [[{{PAGENAME}} Illustrations|Click to see all {{PAGENAME}} illustrations]]}}
 
</div><!--
 
  
 
##Other names
 
##Other names
Line 62: 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