Difference between revisions of "Template:Treatment/Body"
(add introduced variants to resolve Issue #32) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
### Text distribution | ### Text distribution | ||
− | -->{{# | + | -->{{#ifeq:{{{introduced}}}|true| Introduced; |}}{{#ifeq:{{{introduced}}}|presumed| Presumed introduced; |}}{{#ifeq:{{{introduced}}}|possibly| Possibly introduced; |}}{{#arraymap: {{{distribution|}}}|;|@@@|@@@|<span>, </span>}} |
</div>}}<!-- | </div>}}<!-- | ||
Line 47: | Line 47: | ||
## References | ## References | ||
--><div class="treatment-references"> | --><div class="treatment-references"> | ||
− | <h2>References</h2> | + | <h2>Selected References</h2> |
{{#if:{{{references|}}}|{{{references}}}|None.}} | {{#if:{{{references|}}}|{{{references}}}|None.}} | ||
</div><!-- | </div><!-- | ||
Line 55: | Line 55: | ||
### If lower taxa found | ### If lower taxa found | ||
--><h2>Lower Taxa</h2> | --><h2>Lower Taxa</h2> | ||
− | <div | + | <div>{{#ask: [[Taxon parent::{{PAGENAME}} ]]|limit=999 }}</div> | <!-- |
− | |||
### If no lower taxa found | ### If no lower taxa found | ||
--> | --> | ||
<h2>Lower Taxa</h2> | <h2>Lower Taxa</h2> | ||
− | <div> | + | <div>None.</div>}} |
− | </div> | + | </div><!-- |
+ | |||
+ | ## Family Illustrations | ||
+ | -->{{#if: {{#ask:[[Taxon rank::family]][[Taxon name::{{PAGENAME}}]]}}|<div class="family-illustrations"> | ||
+ | <h2>Illustrations</h2> | ||
+ | {{:{{PAGENAME}} Illustrations}}</div> | ||
+ | }}<!-- | ||
+ | |||
</includeonly> | </includeonly> |
Latest revision as of 16:03, 10 May 2021
Used to format the main body of a treatment:
- Distribution
- Discussion
- Tables
- References
- Lower Taxa