Template:BotanyBox: Difference between revisions
>PJosepherum Created page with "<table ID="BotanyTable" style="max-width: {{{BotanyTable_MaxWidth}}};"> <!-- Header --> <tr> <th class="Header" colspan="2">{{{BotanyTable_Title}}}</th> <..." |
>White RowValues class added to rows |
||
(41 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<table ID=" | <table ID="InfoTable" style="max-width: {{{BotanyTable_MaxWidth|300}}};"> | ||
<!-- Header --> | <!-- Header --> | ||
Line 6: | Line 6: | ||
</tr> | </tr> | ||
<!-- | <!-- Source --> | ||
{{#ifeq: {{{ | {{#ifeq: {{{ModuleSource}}} | true | | ||
{{#if: {{{PhotoImageFile|}}} | | |||
<tr> | |||
<td class="Image" colspan="2">[[ {{{PhotoImageFile}}} | frameless | center | {{{PhotoImageWidth}}} ]] | |||
{{#if: {{{PhotoImageCaption|}}} | | |||
<div>{{{PhotoImageCaption}}}</div> }}</td> | |||
<!-- <td class="Image" colspan="2">[[ {{{PhotoImageFile}}} | thumb | center | {{{PhotoImageWidth}}} {{#if: {{{PhotoImageCaption}}} | {{!}} {{{PhotoImageCaption}}} |}} ]] | |||
</td> --> | |||
</tr> | |||
|}} | |||
|}} | |||
<!-- Taxonomical naming Convention --> | |||
{{#ifeq: {{{ModuleTaxonomicalNomenclature}}} | true | | |||
<tr> | <tr> | ||
<th id=" | <th id="TaxonomicalNomenclature" class="SubHeader1" colspan="2">Taxonomical nomenclature</th> | ||
</tr> | </tr> | ||
{{#if: {{{ | {{#if: {{{NameTaxonomy̜Kingdom|}}} | | ||
<tr> | <tr> | ||
<th class="RowHeader">Kingdom</th> | <th class="RowHeader">Kingdom</th> | ||
<td>''{{{ | <td class="RowValues">''{{{NameTaxonomy̜Kingdom}}}''</td> | ||
</ | </tr> | ||
| | |}} | ||
<th class="RowHeader"> | {{#if: {{{NameTaxonomyPhylum|}}} | | ||
<th class="RowHeader"> | <tr> | ||
<th class="RowHeader"> | <th class="RowHeader">Phylum</th> | ||
<td class="RowValues">''{{{NameTaxonomyPhylum}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyClass|}}} | | |||
<tr> | |||
<th class="RowHeader">Class</th> | |||
<td class="RowValues">''{{{NameTaxonomyClass}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyUnranked1|}}} | | |||
<tr> | |||
<th class="RowHeader">Unranked</th> | |||
<td class="RowValues">''{{{NameTaxonomyUnranked1}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyUnranked2|}}} | | |||
<tr> | |||
<th class="RowHeader">Unranked</th> | |||
<td class="RowValues">''{{{NameTaxonomyUnranked2}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyUnranked3|}}} | | |||
<tr> | |||
<th class="RowHeader">Unranked</th> | |||
<td class="RowValues">''{{{NameTaxonomyUnranked3}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyUnranked4|}}} | | |||
<tr> | |||
<th class="RowHeader">Unranked</th> | |||
<td class="RowValues">''{{{NameTaxonomyUnranked4}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyOrder|}}} | | |||
<tr> | |||
<th class="RowHeader">Order</th> | <th class="RowHeader">Order</th> | ||
<td class="RowValues">''{{{NameTaxonomyOrder}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyFamily|}}} | | |||
<tr> | |||
<th class="RowHeader">Family</th> | <th class="RowHeader">Family</th> | ||
<td class="RowValues">''{{{NameTaxonomyFamily}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomyGenus|}}} | | |||
<tr> | |||
<th class="RowHeader">Genus</th> | <th class="RowHeader">Genus</th> | ||
<td class="RowValues">''{{{NameTaxonomyGenus}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NameTaxonomySpecies|}}} | | |||
<tr> | |||
<th class="RowHeader">Species</th> | <th class="RowHeader">Species</th> | ||
<td class="RowValues">''{{{NameTaxonomySpecies}}}''</td> | |||
</tr> | |||
|}} | |||
|}} | |||
<!-- Common naming Convention --> | |||
{{#ifeq: {{{ModuleCommonNomenclature}}} | true | | |||
<tr> | |||
<th id="CommonNomenclature" class="SubHeader1" colspan="2">Common nomenclature</th> | |||
</tr> | |||
{{#if: {{{Synonyms|}}} | | |||
<tr> | |||
<th class="RowHeader">Synonyms</th> | |||
<td class="RowValues">''{{{Synonyms}}}''</td> | |||
</tr> | |||
|}} | |||
{{#if: {{{NamesCommon|}}} | | |||
<tr> | |||
<th class="RowHeader">Common names</th> | |||
<td class="RowValues">''{{{NamesCommon}}}''</td> | |||
</tr> | |||
|}} | |||
|}} | |||
<!-- Constituents --> | |||
{{#ifeq: {{{ModuleActiveConstituents}}} | true | | |||
<tr> | |||
<th id="Constituents" class="SubHeader1" colspan="2">Constituents</th> | |||
</tr> | |||
{{#if: {{{ | {{#if: {{{ActiveConstituents|}}} | | ||
<tr> | <tr> | ||
<th class=" | <th id="AtiveConstituents" class="SubHeader1">Active constituents</th> | ||
<td>''{{{ | <td class="RowValues">''{{{ActiveConstituents}}}''</td> | ||
</tr> | </tr> | ||
|}} | |}} | ||
|}} | |||
{{#ifeq: {{{ModuleInactiveConstituents}}} | true | | |||
{{#if: {{{ | {{#if: {{{InactiveConstituents|}}} | | ||
<tr> | <tr> | ||
<th class=" | <th id="InactiveConstituents" class="SubHeader1">Inactive constituents</th> | ||
<td>''{{{ | <td class="RowValues">''{{{InactiveConstituents}}}''</td> | ||
</tr> | </tr> | ||
|}} | |}} |