Vorlage:Decision Horizontal/doc: Unterschied zwischen den Versionen

Aus Offene Naturführer BiolFlor
Wechseln zu: Navigation, Suche
K ({{DEFAULTSORT: {{SITENAME}} }})
 
(8 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{{Documentation/subpage}}
 
{{Documentation/subpage}}
Parameter "subheading" is text, can be formatted with subheadingstyle, which is either css or one of "Green", "Orange", "BigOrange", "BigGreen", Simple (no border, no background); Orange is the default.
 
  
Parameters : examples (Version 0.5)
+
== Template parameters (Version 0.8) ==
* subheading, subheadingstyle
+
* <code>subheading</code>: text of the subheading
* id "2" (the couplet id)
+
* <code>subheadingstyle</code>: 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.
** hide id : 1 to suppress display of id, anything else will display (provided primarily for single-couplet decisions)  
+
* <code>intro text</code>: 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]].
* image 1a-1e - image 9a-9e : "File:Xy.jpg"
+
* <code>intro text style</code>: CSS style; always centerd unless defined otherwise, e.g. <code>intro text style = text-align:left;</code>
* caption 1a-1e - caption 9a-9e : "File:Xy.jpg"
+
* <code>id</code>:  2 (the couplet id)<br/><!--
* alt 1 - alt 9 : "a", "b", etc. This is optional, enabling references from text
+
--><code>hide id = true</code>  gets the displayed id suppressed, anything else will display (provided primarily for single-couplet decisions)  
* lead 1 - lead 9 : "flowers green"
+
* <code>image 1a … image 1e</code> / <code>image 8a … image 8e</code>: File:Xy.jpg<br/><!--
** 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)
+
--><code>images 1 resize</code> / <code>images 8 resize</code>: default is ? (not yet implemented)
* next 1 - next 9 : "4"
+
* <code>caption 1a … caption 1e</code> / <code>caption 8a … caption 8e</code>: File:Xy.jpg
* result 1 - result 9 : "Geranium pratense"
+
* <code>label 1a … label 1e</code> / <code>label 8a … label 8e</code>: image label
* result text 1 - result text 9 : "G. pratense", optional display text, if result itself is not suitable
+
* <code>lead 1</code> / <code>lead 8</code>: text characterising the decision for a taxon, e.g. “flowers green”<br/><!--
* result qualifier 1 - result qualifier 9 : non-linking qualifiers like "females" / "♀♀"
+
-->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
** Old: resultqualifier without blank is still supported
+
* <code>alt 1</code> / <code>alt 8</code>:  a, b, etc. This is optional, enabling references from text
* common names 1 to 9
+
* <code>next 1</code> / <code>next 8</code>: 4 (next id)
 +
* <code>result 1</code> / <code>result 8</code>: “Geranium pratense” (a wiki page)
 +
* <code>result text 1</code> / <code>result text 8</code>: <code><nowiki>''G. pratense''</nowiki></code> becomes ''G. pratense''. Optional display text, if text of the result itself is not suitable
 +
* <code>result qualifier 1</code> / <code>result qualifier 8</code>: non-linking qualifiers like “females”, “♀♀” or “3 species”
 +
* <code>common names 1</code> / <code>common names 8</code>: common names or vernacular names
 +
* <code>scientific name 1</code> / <code>scientific name 8</code>: the scientific name (it is meant to be only one, use [[#expandable_details|synonyms]] as well)
 +
 
 +
=== Expandable details {{Anchor| 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
 
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 ===
+
== 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 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.)
Zeile 109: Zeile 126:
 
| subheading = Test couplet 1
 
| subheading = Test couplet 1
 
| subheadingstyle = Green
 
| subheadingstyle = Green
 +
| intro text = Which colors have body and tail?
 +
| introtext style = color:red;font-weight:bold;
 
| id = 2 <!-- id of the decision couplet -->
 
| id = 2 <!-- id of the decision couplet -->
  
Zeile 341: Zeile 360:
  
  
 +
== Technical notes  ==
 +
{{Todo |implement "intro text" correct in the jKey history, proposed css-class intro-text something|jKey }}
 +
 +
DEPRECATED
 +
* resultqualifier
  
=== See also ===
+
== See also ==
  
 
Single Access Key, Lead style: [[Template:Key Start]] and [[Template:Lead]]
 
Single Access Key, Lead style: [[Template:Key Start]] and [[Template:Lead]]
  
 
<noinclude>[[Category:Single-access key templates]]</noinclude>
 
<noinclude>[[Category:Single-access key templates]]</noinclude>
{{DEFAULTSORT: {{SITENAME}} }}
+
{{DEFAULTSORT: {{PAGENAME}} }}

Aktuelle Version vom 17. Mai 2013, 11:53 Uhr

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