Vorlage:Decision Horizontal: Unterschied zwischen den Versionen

Aus Offene Naturführer BiolFlor
Wechseln zu: Navigation, Suche
Zeile 1: Zeile 1:
<noinclude>Version 0.5: Supporting "hide id", "common names" and "result text". Older: if only 2 or 3 alternatives are present, the columns will be formatted to have equal width!
+
<noinclude>Version 0.6: support for expandable detail text and images (see also Template:Decision Horizontal/Result). Older: Supporting "hide id", "common names" and "result text"; if only 2 or 3 alternatives are present, the columns will be formatted to have equal width!
  
 
{{Documentation}}
 
{{Documentation}}
Zeile 5: Zeile 5:
 
[[Category:Single-access key templates]]
 
[[Category:Single-access key templates]]
  
</noinclude><includeonly>{{
+
</noinclude><includeonly>
 +
{{
 
#if: {{{subheading|}}}|<tr class="dt-hspacer"><td></td></tr>
 
#if: {{{subheading|}}}|<tr class="dt-hspacer"><td></td></tr>
 
<tr class="dt-subheading"><td colspan="6" style="font-weight:bold;padding:0.5em 0.75em 0.3em 0.75em; {{
 
<tr class="dt-subheading"><td colspan="6" style="font-weight:bold;padding:0.5em 0.75em 0.3em 0.75em; {{
Zeile 40: Zeile 41:
 
-->{{#if: {{{image 1d|}}}|{{Lead/GalleryItemNoCaption|image={{{image 1d}}}|caption={{{caption 1d|}}}|label={{{label 1d|}}}|width={{{image 1d width|{{{images 1 width|200}}}}}}|height={{{image 1d height|{{{images 1 height|200}}}}}}|resize={{{images 1 resize|0}}} }} }}<!--
 
-->{{#if: {{{image 1d|}}}|{{Lead/GalleryItemNoCaption|image={{{image 1d}}}|caption={{{caption 1d|}}}|label={{{label 1d|}}}|width={{{image 1d width|{{{images 1 width|200}}}}}}|height={{{image 1d height|{{{images 1 height|200}}}}}}|resize={{{images 1 resize|0}}} }} }}<!--
 
-->{{#if: {{{image 1e|}}}|{{Lead/GalleryItemNoCaption|image={{{image 1e}}}|caption={{{caption 1e|}}}|label={{{label 1e|}}}|width={{{image 1e width|{{{images 1 width|200}}}}}}|height={{{image 1e height|{{{images 1 height|200}}}}}}|resize={{{images 1 resize|0}}} }} }}<!--
 
-->{{#if: {{{image 1e|}}}|{{Lead/GalleryItemNoCaption|image={{{image 1e}}}|caption={{{caption 1e|}}}|label={{{label 1e|}}}|width={{{image 1e width|{{{images 1 width|200}}}}}}|height={{{image 1e height|{{{images 1 height|200}}}}}}|resize={{{images 1 resize|0}}} }} }}<!--
--></tr></table>|<!--else--><td>}}</td><!--LEAD 2: Set of up to five images for a single decision option ("lead"):
+
--></tr>  
 +
 
 +
</table>|<!--else--><td>}}</td><!--LEAD 2: Set of up to five images for a single decision option ("lead"):
 
-->{{#if: {{{image 2a|}}}|<td class="leadimgs leadimgs-hor1"><table align="center" class="nested"><tr><!--
 
-->{{#if: {{{image 2a|}}}|<td class="leadimgs leadimgs-hor1"><table align="center" class="nested"><tr><!--
 
   --><td>&nbsp;&nbsp;</td>{{Lead/GalleryItemNoCaption|image={{{image 2a}}}|caption={{{caption 2a|}}}|label={{{label 2a|}}}|width={{{image 2a width|{{{images 2 width|200}}}}}}|height={{{image 2a height|{{{images 2 height|200}}}}}}|resize={{{images 2 resize|0}}} }} <!-- HERE 2 braces LESS!
 
   --><td>&nbsp;&nbsp;</td>{{Lead/GalleryItemNoCaption|image={{{image 2a}}}|caption={{{caption 2a|}}}|label={{{label 2a|}}}|width={{{image 2a width|{{{images 2 width|200}}}}}}|height={{{image 2a height|{{{images 2 height|200}}}}}}|resize={{{images 2 resize|0}}} }} <!-- HERE 2 braces LESS!
Zeile 112: Zeile 115:
 
// START Results (always creating a td, which may be empty however)
 
// START Results (always creating a td, which may be empty however)
 
--></tr><tr><!--
 
--></tr><tr><!--
-->{{Decision Horizontal/Result| result={{{result 1|}}}| result text={{{result text 1|}}}| result qualifier={{{resultqualifier 1|}}}{{{result qualifier 1|}}}| common names={{{common names 1|}}}| next={{{next 1|}}} }}<!--
+
-->{{Decision Horizontal/Result| result={{{result 1|}}}| result text={{{result text 1|}}}| result qualifier={{{resultqualifier 1|}}}{{{result qualifier 1|}}}| common names={{{common names 1|}}}| next={{{next 1|}}}
-->{{Decision Horizontal/Result| result={{{result 2|}}}| result text={{{result text 2|}}}| result qualifier={{{resultqualifier 2|}}}{{{result qualifier 2|}}}| common names={{{common names 2|}}}| next={{{next 2|}}} }}<!--
+
| detailtext  = {{
-->{{Decision Horizontal/Result| result={{{result 3|}}}| result text={{{result text 3|}}}| result qualifier={{{resultqualifier 3|}}}{{{result qualifier 3|}}}| common names={{{common names 3|}}}| next={{{next 3|}}} }}<!--
+
#if: {{{synonyms 1|}}} |<span class="synonyms">(= {{{synonyms 1}}})</span><br />
-->{{Decision Horizontal/Result| result={{{result 4|}}}| result text={{{result text 4|}}}| result qualifier={{{resultqualifier 4|}}}{{{result qualifier 4|}}}| common names={{{common names 4|}}}| next={{{next 4|}}} }}<!--
+
}}{{
-->{{Decision Horizontal/Result| result={{{result 5|}}}| result text={{{result text 5|}}}| result qualifier={{{resultqualifier 5|}}}{{{result qualifier 5|}}}| common names={{{common names 5|}}}| next={{{next 5|}}} }}<!--
+
#if: {{{description 1|}}} |<span class="description">{{{description 1}}} </span><br />
-->{{Decision Horizontal/Result| result={{{result 6|}}}| result text={{{result text 6|}}}| result qualifier={{{resultqualifier 6|}}}{{{result qualifier 6|}}}| common names={{{common names 6|}}}| next={{{next 6|}}} }}<!--
+
}}{{
-->{{Decision Horizontal/Result| result={{{result 7|}}}| result text={{{result text 7|}}}| result qualifier={{{resultqualifier 7|}}}{{{result qualifier 7|}}}| common names={{{common names 7|}}}| next={{{next 7|}}} }}<!--
+
#if: {{{occurrence 1|}}} |<span class="occurrence">{{{occurrence 1}}} </span><br />
-->{{Decision Horizontal/Result| result={{{result 8|}}}| result text={{{result text 8|}}}| result qualifier={{{resultqualifier 8|}}}{{{result qualifier 8|}}}| common names={{{common names 8|}}}| next={{{next 8|}}} }}<!--
+
}}{{
 +
#if: {{{remarks 1|}}} |<span class="remarks">{{{remarks 1}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 1j|}}}
 +
| caption j = {{{caption 1j|}}}
 +
| label j = {{{label 1j|}}}
 +
| image j width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image j height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image k = {{{image 1k|}}}
 +
| caption k = {{{caption 1k|}}}
 +
| label k = {{{label 1k|}}}
 +
| image k width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image k height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image l = {{{image 1l|}}}
 +
| caption l = {{{caption 1l|}}}
 +
| label l = {{{label 1l|}}}
 +
| image l width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image l height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image m = {{{image 1m|}}}
 +
| caption m = {{{caption 1m|}}}
 +
| label m = {{{label 1m|}}}
 +
| image m width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image m height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image n = {{{image 1n|}}}
 +
| caption n = {{{caption 1n|}}}
 +
| label n = {{{label 1n|}}}
 +
| image n width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image n height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image o = {{{image 1o|}}}
 +
| caption o = {{{caption 1o|}}}
 +
| label o = {{{label 1o|}}}
 +
| image o width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image o height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image p = {{{image 1p|}}}
 +
| caption p = {{{caption 1p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image p height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image q = {{{image 1q|}}}
 +
| caption q = {{{caption 1q|}}}
 +
| label q = {{{label 1q|}}}
 +
| image q width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image q height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
| image r = {{{image 1r|}}}
 +
| caption r = {{{caption 1r|}}}
 +
| label r = {{{label 1r|}}}
 +
| image r width = {{{extraimages 1 width |{{{extraimages 1 height|100}}}}}}
 +
| image r height = {{{extraimages 1 height|{{{extraimages 1 width |100}}}}}}
 +
}}<!--END Decision Horizontal/Result 1
 +
-->{{Decision Horizontal/Result| result={{{result 2|}}}| result text={{{result text 2|}}}| result qualifier={{{resultqualifier 2|}}}{{{result qualifier 2|}}}| common names={{{common names 2|}}}| next={{{next 2|}}}
 +
| detailtext  = {{
 +
#if: {{{synonyms 2|}}} |<span class="synonyms">(= {{{synonyms 2}}})</span><br />
 +
}}{{
 +
#if: {{{description 2|}}} |<span class="description">{{{description 2}}} </span><br />
 +
}}{{
 +
#if: {{{occurrence 2|}}} |<span class="occurrence">{{{occurrence 2}}} </span><br />
 +
}}{{
 +
#if: {{{remarks 2|}}} |<span class="remarks">{{{remarks 2}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 2j|}}}
 +
| caption j = {{{caption 2j|}}}
 +
| label j = {{{label 2j|}}}
 +
| image j width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image j height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
| image k = {{{image 2k|}}}
 +
| caption k = {{{caption 2k|}}}
 +
| label k = {{{label 2k|}}}
 +
| image k width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image k height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
| image l = {{{image 2l|}}}
 +
| caption l = {{{caption 2l|}}}
 +
| label l = {{{label 2l|}}}
 +
| image l width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image l height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
| image m = {{{image 2m|}}}
 +
| caption m = {{{caption 2m|}}}
 +
| label m = {{{label 2m|}}}
 +
| image m width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image m height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
| image n = {{{image 2n|}}}
 +
| caption n = {{{caption 2n|}}}
 +
| label n = {{{label 2n|}}}
 +
| image n width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image n height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
| image o = {{{image 2o|}}}
 +
| caption o = {{{caption 2o|}}}
 +
| label o = {{{label 2o|}}}
 +
| image o width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image o height = {{{extraimages 2 height|{{{extraimages 2 width |200}}}}}}
 +
| image p = {{{image 2p|}}}
 +
| caption p = {{{caption 2p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image p height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
| image q = {{{image 2q|}}}
 +
| caption q = {{{caption 2q|}}}
 +
| label q = {{{label 2q|}}}
 +
| image q width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image q height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
| image r = {{{image 2r|}}}
 +
| caption r = {{{caption 2r|}}}
 +
| label r = {{{label 2r|}}}
 +
| image r width = {{{extraimages 2 width |{{{extraimages 2 height|100}}}}}}
 +
| image r height = {{{extraimages 2 height|{{{extraimages 2 width |100}}}}}}
 +
}}<!--END Decision Horizontal/Result 2
 +
-->{{Decision Horizontal/Result| result={{{result 3|}}}| result text={{{result text 3|}}}| result qualifier={{{resultqualifier 3|}}}{{{result qualifier 3|}}}| common names={{{common names 3|}}}| next={{{next 3|}}}
 +
| detailtext  = {{
 +
#if: {{{synonyms 3|}}} |<span class="synonyms">(= {{{synonyms 3}}})</span><br />
 +
}}{{
 +
#if: {{{description 3|}}} |<span class="description">{{{description 3}}} </span><br />
 +
}}{{
 +
#if: {{{occurrence 3|}}} |<span class="occurrence">{{{occurrence 3}}} </span><br />
 +
}}{{
 +
#if: {{{remarks 3|}}} |<span class="remarks">{{{remarks 3}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 3j|}}}
 +
| caption j = {{{caption 3j|}}}
 +
| label j = {{{label 3j|}}}
 +
| image j width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image j height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
| image k = {{{image 3k|}}}
 +
| caption k = {{{caption 3k|}}}
 +
| label k = {{{label 3k|}}}
 +
| image k width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image k height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
| image l = {{{image 3l|}}}
 +
| caption l = {{{caption 3l|}}}
 +
| label l = {{{label 3l|}}}
 +
| image l width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image l height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
| image m = {{{image 3m|}}}
 +
| caption m = {{{caption 3m|}}}
 +
| label m = {{{label 3m|}}}
 +
| image m width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image m height = {{{extraimages 3 height|{{{extraimages 3 width |300}}}}}}
 +
| image n = {{{image 3n|}}}
 +
| caption n = {{{caption 3n|}}}
 +
| label n = {{{label 3n|}}}
 +
| image n width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image n height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
| image o = {{{image 3o|}}}
 +
| caption o = {{{caption 3o|}}}
 +
| label o = {{{label 3o|}}}
 +
| image o width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image o height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
| image p = {{{image 3p|}}}
 +
| caption p = {{{caption 3p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image p height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
| image q = {{{image 3q|}}}
 +
| caption q = {{{caption 3q|}}}
 +
| label q = {{{label 3q|}}}
 +
| image q width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image q height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
| image r = {{{image 3r|}}}
 +
| caption r = {{{caption 3r|}}}
 +
| label r = {{{label 3r|}}}
 +
| image r width = {{{extraimages 3 width |{{{extraimages 3 height|100}}}}}}
 +
| image r height = {{{extraimages 3 height|{{{extraimages 3 width |100}}}}}}
 +
}}<!--END decision Horizontal/result 3
 +
-->{{Decision Horizontal/Result| result={{{result 4|}}}| result text={{{result text 4|}}}| result qualifier={{{resultqualifier 4|}}}{{{result qualifier 4|}}}| common names={{{common names 4|}}}| next={{{next 4|}}}
 +
| detailtext  = {{
 +
#if: {{{synonyms 4|}}} |<span class="synonyms">(= {{{synonyms 2}}})</span><br />
 +
}}{{
 +
#if: {{{description 4|}}} |<span class="description">{{{description 4}}} </span><br />
 +
}}{{
 +
#if: {{{occurrence 4|}}} |<span class="occurrence">{{{occurrence 4}}} </span><br />
 +
}}{{
 +
#if: {{{remarks 4|}}} |<span class="remarks">{{{remarks 4}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 4j|}}}
 +
| caption j = {{{caption 4j|}}}
 +
| label j = {{{label 4j|}}}
 +
| image j width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image j height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image k = {{{image 4k|}}}
 +
| caption k = {{{caption 4k|}}}
 +
| label k = {{{label 4k|}}}
 +
| image k width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image k height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image l = {{{image 4l|}}}
 +
| caption l = {{{caption 4l|}}}
 +
| label l = {{{label 4l|}}}
 +
| image l width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image l height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image m = {{{image 4m|}}}
 +
| caption m = {{{caption 4m|}}}
 +
| label m = {{{label 4m|}}}
 +
| image m width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image m height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image n = {{{image 4n|}}}
 +
| caption n = {{{caption 4n|}}}
 +
| label n = {{{label 4n|}}}
 +
| image n width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image n height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image o = {{{image 4o|}}}
 +
| caption o = {{{caption 4o|}}}
 +
| label o = {{{label 4o|}}}
 +
| image o width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image o height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image p = {{{image 4p|}}}
 +
| caption p = {{{caption 4p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image p height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image q = {{{image 4q|}}}
 +
| caption q = {{{caption 4q|}}}
 +
| label q = {{{label 4q|}}}
 +
| image q width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image q height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
| image r = {{{image 4r|}}}
 +
| caption r = {{{caption 4r|}}}
 +
| label r = {{{label 4r|}}}
 +
| image r width = {{{extraimages 4 width |{{{extraimages 4 height|100}}}}}}
 +
| image r height = {{{extraimages 4 height|{{{extraimages 4 width |100}}}}}}
 +
}}<!--END decision Horizontal/result 4
 +
-->{{Decision Horizontal/Result| result={{{result 5|}}}| result text={{{result text 5|}}}| result qualifier={{{resultqualifier 5|}}}{{{result qualifier 5|}}}| common names={{{common names 5|}}}| next={{{next 5|}}}
 +
| detailtext  = {{
 +
#if: {{{synonyms 5|}}} |<span class="synonyms">(= {{{synonyms 2}}})</span><br />
 +
}}{{
 +
#if: {{{description 5|}}} |<span class="description">{{{description 5}}} </span><br />
 +
}}{{
 +
#if: {{{occurrence 5|}}} |<span class="occurrence">{{{occurrence 5}}} </span><br />
 +
}}{{
 +
#if: {{{remarks 5|}}} |<span class="remarks">{{{remarks 5}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 5j|}}}
 +
| caption j = {{{caption 5j|}}}
 +
| label j = {{{label 5j|}}}
 +
| image j width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image j height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image k = {{{image 5k|}}}
 +
| caption k = {{{caption 5k|}}}
 +
| label k = {{{label 5k|}}}
 +
| image k width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image k height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image l = {{{image 5l|}}}
 +
| caption l = {{{caption 5l|}}}
 +
| label l = {{{label 5l|}}}
 +
| image l width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image l height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image m = {{{image 5m|}}}
 +
| caption m = {{{caption 5m|}}}
 +
| label m = {{{label 5m|}}}
 +
| image m width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image m height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image n = {{{image 5n|}}}
 +
| caption n = {{{caption 5n|}}}
 +
| label n = {{{label 5n|}}}
 +
| image n width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image n height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image o = {{{image 5o|}}}
 +
| caption o = {{{caption 5o|}}}
 +
| label o = {{{label 5o|}}}
 +
| image o width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image o height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image p = {{{image 5p|}}}
 +
| caption p = {{{caption 5p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image p height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image q = {{{image 5q|}}}
 +
| caption q = {{{caption 5q|}}}
 +
| label q = {{{label 5q|}}}
 +
| image q width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image q height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
| image r = {{{image 5r|}}}
 +
| caption r = {{{caption 5r|}}}
 +
| label r = {{{label 5r|}}}
 +
| image r width = {{{extraimages 5 width |{{{extraimages 5 height|100}}}}}}
 +
| image r height = {{{extraimages 5 height|{{{extraimages 5 width |100}}}}}}
 +
}}<!--END decision Horizontal/result 5
 +
-->{{Decision Horizontal/Result| result={{{result 6|}}}| result text={{{result text 6|}}}| result qualifier={{{resultqualifier 6|}}}{{{result qualifier 6|}}}| common names={{{common names 6|}}}| next={{{next 6|}}}
 +
| detailtext  = {{
 +
#if: {{{synonyms 6|}}} |<span class="synonyms">(= {{{synonyms 6}}})</span><br />
 +
}}{{
 +
#if: {{{description 6|}}} |<span class="description">{{{description 6}}} </span><br />
 +
}}{{
 +
#if: {{{occurrence 6|}}} |<span class="occurrence">{{{occurrence 6}}} </span><br />
 +
}}{{
 +
#if: {{{remarks 6|}}} |<span class="remarks">{{{remarks 6}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 6j|}}}
 +
| caption j = {{{caption 6j|}}}
 +
| label j = {{{label 6j|}}}
 +
| image j width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image j height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image k = {{{image 6k|}}}
 +
| caption k = {{{caption 6k|}}}
 +
| label k = {{{label 6k|}}}
 +
| image k width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image k height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image l = {{{image 6l|}}}
 +
| caption l = {{{caption 6l|}}}
 +
| label l = {{{label 6l|}}}
 +
| image l width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image l height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image m = {{{image 6m|}}}
 +
| caption m = {{{caption 6m|}}}
 +
| label m = {{{label 6m|}}}
 +
| image m width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image m height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image n = {{{image 6n|}}}
 +
| caption n = {{{caption 6n|}}}
 +
| label n = {{{label 6n|}}}
 +
| image n width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image n height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image o = {{{image 6o|}}}
 +
| caption o = {{{caption 6o|}}}
 +
| label o = {{{label 6o|}}}
 +
| image o width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image o height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image p = {{{image 6p|}}}
 +
| caption p = {{{caption 6p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image p height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image q = {{{image 6q|}}}
 +
| caption q = {{{caption 6q|}}}
 +
| label q = {{{label 6q|}}}
 +
| image q width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image q height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
| image r = {{{image 6r|}}}
 +
| caption r = {{{caption 6r|}}}
 +
| label r = {{{label 6r|}}}
 +
| image r width = {{{extraimages 6 width |{{{extraimages 6 height|100}}}}}}
 +
| image r height = {{{extraimages 6 height|{{{extraimages 6 width |100}}}}}}
 +
}}<!--END decision Horizontal/result 6
 +
-->{{Decision Horizontal/Result| result={{{result 7|}}}| result text={{{result text 7|}}}| result qualifier={{{resultqualifier 7|}}}{{{result qualifier 7|}}}| common names={{{common names 7|}}}| next={{{next 7|}}}
 +
| detailtext  = {{
 +
#if: {{{synonyms 7|}}} |<span class="synonyms">(= {{{synonyms 7}}})</span><br />
 +
}}{{
 +
#if: {{{description 7|}}} |<span class="description">{{{description 7}}}</span><br />
 +
}}{{
 +
#if: {{{occurrence 7|}}} |<span class="occurrence">{{{occurrence 7}}} </span><br />
 +
}}{{
 +
#if: {{{remarks 7|}}} |<span class="remarks">{{{remarks 7}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 7j|}}}
 +
| caption j = {{{caption 7j|}}}
 +
| label j = {{{label 7j|}}}
 +
| image j width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image j height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
| image k = {{{image 7k|}}}
 +
| caption k = {{{caption 7k|}}}
 +
| label k = {{{label 7k|}}}
 +
| image k width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image k height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
| image l = {{{image 7l|}}}
 +
| caption l = {{{caption 7l|}}}
 +
| label l = {{{label 7l|}}}
 +
| image l width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image l height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
| image m = {{{image 7m|}}}
 +
| caption m = {{{caption 7m|}}}
 +
| label m = {{{label 7m|}}}
 +
| image m width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image m height = {{{extraimages 7 height|{{{extraimages 7 width |700}}}}}}
 +
| image n = {{{image 7n|}}}
 +
| caption n = {{{caption 7n|}}}
 +
| label n = {{{label 7n|}}}
 +
| image n width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image n height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
| image o = {{{image 7o|}}}
 +
| caption o = {{{caption 7o|}}}
 +
| label o = {{{label 7o|}}}
 +
| image o width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image o height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
| image p = {{{image 7p|}}}
 +
| caption p = {{{caption 7p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image p height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
| image q = {{{image 7q|}}}
 +
| caption q = {{{caption 7q|}}}
 +
| label q = {{{label 7q|}}}
 +
| image q width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image q height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
| image r = {{{image 7r|}}}
 +
| caption r = {{{caption 7r|}}}
 +
| label r = {{{label 7r|}}}
 +
| image r width = {{{extraimages 7 width |{{{extraimages 7 height|100}}}}}}
 +
| image r height = {{{extraimages 7 height|{{{extraimages 7 width |100}}}}}}
 +
}}<!--END decision Horizontal/result 7
 +
-->{{Decision Horizontal/Result| result={{{result 8|}}}| result text={{{result text 8|}}}| result qualifier={{{resultqualifier 8|}}}{{{result qualifier 8|}}}| common names={{{common names 8|}}}| next={{{next 8|}}}
 +
| detailtext  = {{
 +
#if: {{{synonyms 8|}}} |<span class="synonyms">(= {{{synonyms 8}}})</span><br />
 +
}}{{
 +
#if: {{{description 8|}}} |<span class="description">{{{description 8}}} </span><br />
 +
}}{{
 +
#if: {{{occurrence 8|}}} |<span class="occurrence">{{{occurrence 8}}} </span><br />
 +
}}{{
 +
#if: {{{remarks 8|}}} |<span class="remarks">{{{remarks 8}}} </span><br />
 +
}}<!--END DETAIL TEXT.-->
 +
| image j = {{{image 8j|}}}
 +
| caption j = {{{caption 8j|}}}
 +
| label j = {{{label 8j|}}}
 +
| image j width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image j height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image k = {{{image 8k|}}}
 +
| caption k = {{{caption 8k|}}}
 +
| label k = {{{label 8k|}}}
 +
| image k width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image k height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image l = {{{image 8l|}}}
 +
| caption l = {{{caption 8l|}}}
 +
| label l = {{{label 8l|}}}
 +
| image l width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image l height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image m = {{{image 8m|}}}
 +
| caption m = {{{caption 8m|}}}
 +
| label m = {{{label 8m|}}}
 +
| image m width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image m height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image n = {{{image 8n|}}}
 +
| caption n = {{{caption 8n|}}}
 +
| label n = {{{label 8n|}}}
 +
| image n width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image n height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image o = {{{image 8o|}}}
 +
| caption o = {{{caption 8o|}}}
 +
| label o = {{{label 8o|}}}
 +
| image o width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image o height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image p = {{{image 8p|}}}
 +
| caption p = {{{caption 8p|}}}
 +
| label p = {{{label pl|}}}
 +
| image p width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image p height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image q = {{{image 8q|}}}
 +
| caption q = {{{caption 8q|}}}
 +
| label q = {{{label 8q|}}}
 +
| image q width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image q height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
| image r = {{{image 8r|}}}
 +
| caption r = {{{caption 8r|}}}
 +
| label r = {{{label 8r|}}}
 +
| image r width = {{{extraimages 8 width |{{{extraimages 8 height|100}}}}}}
 +
| image r height = {{{extraimages 8 height|{{{extraimages 8 width |100}}}}}}
 +
}}<!--END decision Horizontal/result 8-->
 +
<!--
 
// END the table for the entire decision couplet, and the row for the outer, row-based-lead compatible table:
 
// END the table for the entire decision couplet, and the row for the outer, row-based-lead compatible table:
 
--></tr></table></td></tr></includeonly>
 
--></tr></table></td></tr></includeonly>

Version vom 31. August 2010, 08:17 Uhr

Version 0.6: support for expandable detail text and images (see also Template:Decision Horizontal/Result). Older: Supporting "hide id", "common names" and "result text"; if only 2 or 3 alternatives are present, the columns will be formatted to have equal width!

[Bearbeiten] [Aktualisieren] Template-info.svg Dokumentation der Vorlage

Template parameters (Version 0.8)

  • subheading: text of the subheading
  • subheadingstyle: colored bars with text above selected couplets, internal grouping: either CSS properties or one of “Green”, “Orange”, “BigOrange”, “BigGreen”, “Simple” (no border, no background); “Orange” color is the default.
  • intro text: a text common to all leads of the decision, e.g. a prompt (“Select the kind of leaf margin”), a question (“Which kind of leaf margin do you have?”) or a shared character text (“leaf margin:”). Is the equivalent to Template:Lead_Question.
  • intro text style: CSS style; always centerd unless defined otherwise, e.g. intro text style = text-align:left;
  • id: 2 (the couplet id)
    hide id = true gets the displayed id suppressed, anything else will display (provided primarily for single-couplet decisions)
  • image 1a … image 1e / image 8a … image 8e: File:Xy.jpg
    images 1 resize / images 8 resize: default is ? (not yet implemented)
  • caption 1a … caption 1e / caption 8a … caption 8e: File:Xy.jpg
  • label 1a … label 1e / label 8a … label 8e: image label
  • lead 1 / lead 8: text characterising the decision for a taxon, e.g. “flowers green”
    NOTE: the lead text may be missing, if images are sufficient, or if decision is based on the result text alone, like a choice between alternative keys
  • alt 1 / alt 8: a, b, etc. This is optional, enabling references from text
  • next 1 / next 8: 4 (next id)
  • result 1 / result 8: “Geranium pratense” (a wiki page)
  • result text 1 / result text 8: ''G. pratense'' becomes G. pratense. Optional display text, if text of the result itself is not suitable
  • result qualifier 1 / result qualifier 8: non-linking qualifiers like “females”, “♀♀” or “3 species”
  • common names 1 / common names 8: common names or vernacular names
  • scientific name 1 / scientific name 8: the scientific name (it is meant to be only one, use synonyms as well)

Expandable details

  • synonyms 1 - synonyms 8
  • description 1 - description 8
  • occurrence 1 - occurrence 8
  • remarks 1 - remarks 8
  • image 1j (k,l,m,n,o,p,q,r) - image 8j (k,l,m,n,o,p,q,r)
extraimages 1 width, extraimages 1 height - extraimages 8 width, extraimages 8 height: 100px (default)
  • caption 1j (k,l,m,n,o,p,q,r) - caption 8j (k,l,m,n,o,p,q,r): corresponding image captions
caption lines 1/1a-1r - caption lines 8/8a-8r: approximately used caption lines


Note: the horizontal decision template is created so that it can be used together with normal, row-based decision templates (“vertical”). For this reason, the outer table structure is aligned to be combinable with a 4 column table

Usage

Test of key: (Some parts are from a Lamium key to demonstrate the potential to mix between the side-by-side and leads-in-line arrangement.)

Test (UK bumble-bees)
Von: CREATOR
(Geltungsbereich nicht angegeben) — Zusammenarbeit: offen — Stand: TEST


1
  
Queen/worker
Male
  
Queen/worker
Male
  
Queen/Worker
Male
  
Queen, common form
Queen/worker, common form
  
Queen/worker
Male
  
Queen/worker
Male
a: Thorax orange brown
tail orange brown
b: Female unbanded
tail deep red
male with yellow bands
c: 1-2 yellow bands
tail orange
d: Two golden yellow bands
tail white,
buff at least at base
e: Two lemon yellow bands
tail pure white
male 2-3 yellow bands
f: Three yellow bands
tail pure white
Bombus pascuorum ♀♀
Common carder bumblebee
Bombus lapidarius
Red tailed bumblebee
Bombus pratorum
Early nesting bumblebee
Bombus terrestris ♀♀
Buff tailed bumblebee
  2  Bombus hortorum
Garden bumblebee
   ▼▼ 3  
Test couplet 1
2
Which colors have body and tail?
  
Queen/worker
Male
  
Queen/worker
Male
  
Queen/Worker
Male
  
Queen, common form
Queen/worker, common form
  
Queen/worker
Male
  
Queen/worker
Male
a: Thorax orange brown
tail orange brown
b: Female unbanded
tail deep red
male with yellow bands
c: 1-2 yellow bands
tail orange
d: Two golden yellow bands
tail white,
buff at least at base
e: Two lemon yellow bands
tail pure white
male 2-3 yellow bands
f: Three yellow bands
tail pure white
Bombus pascuorum
Common carder bumblebee
Bombus lapidarius
Red tailed bumblebee
Bombus pratorum
Early nesting bumblebee
Bombus terrestris
Buff tailed bumblebee
  5  Bombus hortorum
Garden bumblebee
55
Blütenkrone weiß oder schwach gelblichweiß, Schlund mit olivfarbenen Flecken 
 Weiße Taubnessel  –  Lamium album
Krone 20-25 mm lang, Kronröhre aufwärts gebogen, innen über dem Grund mit schrägem Haarring. Staubbeutel behaart. Tragblätter der Scheinquirle 2-3mal so lang wie breit. Blätter lang, scharf gesägt, deutlich brennnesselartig. 20-50 cm. Blüte April-August. Ruderale Staudengesellschaften, Schuttplätze, Säume, Gebüsche; gemein. Nitrophil.
Blüte mit gebogener Röhre
a
Tafel aus Deutschlands Flora, 1796
b
Habitus
Blatt
5
Blütenkrone blassgelb bis goldgelb, Unterlippe mit rötlicher Zeichnung 
 Vergleiche: Goldnessel  –  Galeobdolon
Blüte
Blüte
Habitus
Habitus
Tafel aus Deutschlands Flora, 1796
Tafel aus Deutschlands Flora, 1796
5’’
Blütenkrone purpurn oder rosa (sehr selten einzelne Pflanzen reinweiß, dann Schlund ohne Flecken)   ► 4
5’’’
Blütenkrone andersfarbig zum Testen (mit Seite) 
  Subkey 1 (variante 1)
5’’’’
Blütenkrone andersfarbig zum Testen (hash direkt) 
  Subkey 1 (variante 2)
5’’’’
Blütenkrone andersfarbig zum Testen (!!! direkt zum ersten Lead) 
  Subkey 1 (variante 3)
5x
Blütenkrone andersfarbig zum Testen (!!! zum beliebigen Lead auf anderer Seite) 
  Subkey 1 (variante 4)
5y
Blütenkrone andersfarbig zum Testen (!!! zu einem Schlüssel auf anderer Seite) 
  Subkey 1 (variante 5)
6(5)
Staubbeutel kahl, Pflanze groß (0,4-1 m) und großblütig (Krone 25-35 mm), Schluchtwälder in den Alpen, selten 
 Großblütige Taubnessel  –  Lamium orvala test
Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla
Blüte
Blüte
Habitus
Habitus
Tafel aus Deutschlands Flora, 1796
Tafel aus Deutschlands Flora, 1796
Lamium album4 ies.jpg
a: Blüte mit gebogener Röhre
Lamium album Sturm39.jpg
b: Blüte mit gebogener Röhre
6
Staubbeutel bärtig behaart, Pflanze kleiner   ► 3
3
a: Thorax orange brown
tail orange brown
b: Female unbanded
tail deep red
male with yellow bands
c: 1-2 yellow bands
tail orange
d: Two golden yellow bands
tail white,
buff at least at base
e: Two lemon yellow bands
tail pure white
male 2-3 yellow bands
f: Three yellow bands
tail pure white
Bombus pascuorum
Common carder bumblebee
Bombus lapidarius
Red tailed bumblebee
Bombus pratorum
Early nesting bumblebee
Bombus terrestris
Buff tailed bumblebee
Bombus lucorum
White tailed bumblebee
Bombus hortorum
Garden bumblebee
4
a: Thorax orange brown
tail orange brown
b: Female unbanded
tail deep red
male with yellow bands
c: 1-2 yellow bands
tail orange
Bombus pascuorum
Common carder bumblebee
Bombus lapidarius
Red tailed bumblebee
Bombus pratorum
Early nesting bumblebee



A second key, which can be linked from the first one:

Subkey Test
11
Blütenkrone weiß 
  Xum album
1
Blütenkrone goldgelb 
  Xum aureum
1’’
Blütenkrone violett 
  Xum violaceum


Technical notes

Qsicon inArbeit-05.svg
Nötige Arbeiten: implement "intro text" correct in the jKey history, proposed css-class intro-text something
Siehe auch Kategorie: Todo.

DEPRECATED

  • resultqualifier

See also

Single Access Key, Lead style: Template:Key Start and Template:Lead