Vorlage:Decision Horizontal/doc: Unterschied zwischen den Versionen
Aus Offene Naturführer
(10 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{Documentation/subpage}} | {{Documentation/subpage}} | ||
− | |||
− | + | == Template parameters (Version 0.8) == | |
− | * subheading | + | * <code>subheading</code>: text of the subheading |
− | * 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. |
− | + | * <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 | + | * <code>intro text style</code>: CSS style; always centerd unless defined otherwise, e.g. <code>intro text style = text-align:left;</code> |
− | * caption 1a | + | * <code>id</code>: 2 (the couplet id)<br/><!-- |
− | * | + | --><code>hide id = true</code> gets the displayed id suppressed, anything else will display (provided primarily for single-couplet decisions) |
− | * lead 1 | + | * <code>image 1a … image 1e</code> / <code>image 8a … image 8e</code>: File:Xy.jpg<br/><!-- |
− | + | --><code>images 1 resize</code> / <code>images 8 resize</code>: default is ? (not yet implemented) | |
− | * next 1 | + | * <code>caption 1a … caption 1e</code> / <code>caption 8a … caption 8e</code>: File:Xy.jpg |
− | * result 1 | + | * <code>label 1a … label 1e</code> / <code>label 8a … label 8e</code>: image label |
− | * result text 1 | + | * <code>lead 1</code> / <code>lead 8</code>: text characterising the decision for a taxon, e.g. “flowers green”<br/><!-- |
− | * result qualifier 1 | + | -->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 |
− | * | + | * <code>alt 1</code> / <code>alt 8</code>: a, b, etc. This is optional, enabling references from text |
− | * | + | * <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 == | |
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 43: | Zeile 60: | ||
| result 1 =''Bombus pascuorum'' | | result 1 =''Bombus pascuorum'' | ||
| resultqualifier 1 = ♀♀ | | resultqualifier 1 = ♀♀ | ||
− | | | + | | common names 1 = Common carder bumblebee |
− | | | + | | common names_de 1 = Ackerhummel |
| image 1a = File:Paul Williams BumblebeeID qg_pascuorum vulgo f2.jpg | | image 1a = File:Paul Williams BumblebeeID qg_pascuorum vulgo f2.jpg | ||
| caption 1a = Queen/worker | | caption 1a = Queen/worker | ||
Zeile 54: | Zeile 71: | ||
| lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | | lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | ||
| result 2 =''Bombus lapidarius'' | | result 2 =''Bombus lapidarius'' | ||
− | | | + | | common names 2 = Red tailed bumblebee |
− | | | + | | common names_de 2 = Steinhummel |
| image 2a = File:Paul Williams BumblebeeID qg_lapidarius_f1.jpg | | image 2a = File:Paul Williams BumblebeeID qg_lapidarius_f1.jpg | ||
| caption 2a = Queen/worker | | caption 2a = Queen/worker | ||
Zeile 65: | Zeile 82: | ||
| lead 3 = 1-2 yellow bands<br/>tail orange | | lead 3 = 1-2 yellow bands<br/>tail orange | ||
| result 3 =''Bombus pratorum'' | | result 3 =''Bombus pratorum'' | ||
− | | | + | | common names 3 = Early nesting bumblebee |
− | | | + | | common names_de 3 = Wiesenhummel |
| image 3a = File:Paul Williams BumblebeeID qg_pratorum_f2.jpg | | image 3a = File:Paul Williams BumblebeeID qg_pratorum_f2.jpg | ||
| caption 3a = Queen/Worker | | caption 3a = Queen/Worker | ||
Zeile 77: | Zeile 94: | ||
| result 4 =''Bombus terrestris'' | | result 4 =''Bombus terrestris'' | ||
| resultqualifier 4 = ♀♀ | | resultqualifier 4 = ♀♀ | ||
− | | | + | | common names 4 = Buff tailed bumblebee |
− | | | + | | common names_de 4 = Erdhummel |
| image 4a = File:Paul Williams BumblebeeID qg_terrestris_audax_w1.jpg | | image 4a = File:Paul Williams BumblebeeID qg_terrestris_audax_w1.jpg | ||
| caption 4a = Queen, common form | | caption 4a = Queen, common form | ||
Zeile 98: | Zeile 115: | ||
| result 6 =''Bombus hortorum'' | | result 6 =''Bombus hortorum'' | ||
| next 6 = 3 | | next 6 = 3 | ||
− | | | + | | common names 6 = Garden bumblebee |
− | | | + | | common names_de 6 = Gartenhummel |
| image 6a = File:Paul_Williams_BumblebeeID_qg_hortorum_f1.jpg | | image 6a = File:Paul_Williams_BumblebeeID_qg_hortorum_f1.jpg | ||
| caption 6a = Queen/worker | | caption 6a = Queen/worker | ||
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 114: | Zeile 133: | ||
| lead 1 = Thorax orange brown<br/>tail orange brown | | lead 1 = Thorax orange brown<br/>tail orange brown | ||
| result 1 =''Bombus pascuorum'' | | result 1 =''Bombus pascuorum'' | ||
− | | | + | | common names 1 = Common carder bumblebee |
− | | | + | | common names_de 1 = Ackerhummel |
| image 1a = File:Paul Williams BumblebeeID qg_pascuorum vulgo f2.jpg | | image 1a = File:Paul Williams BumblebeeID qg_pascuorum vulgo f2.jpg | ||
| caption 1a = Queen/worker | | caption 1a = Queen/worker | ||
Zeile 125: | Zeile 144: | ||
| lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | | lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | ||
| result 2 =''Bombus lapidarius'' | | result 2 =''Bombus lapidarius'' | ||
− | | | + | | common names 2 = Red tailed bumblebee |
− | | | + | | common names_de 2 = Steinhummel |
| image 2a = File:Paul Williams BumblebeeID qg_lapidarius_f1.jpg | | image 2a = File:Paul Williams BumblebeeID qg_lapidarius_f1.jpg | ||
| caption 2a = Queen/worker | | caption 2a = Queen/worker | ||
Zeile 136: | Zeile 155: | ||
| lead 3 = 1-2 yellow bands<br/>tail orange | | lead 3 = 1-2 yellow bands<br/>tail orange | ||
| result 3 =''Bombus pratorum'' | | result 3 =''Bombus pratorum'' | ||
− | | | + | | common names 3 = Early nesting bumblebee |
− | | | + | | common names_de 3 = Wiesenhummel |
| image 3a = File:Paul Williams BumblebeeID qg_pratorum_f2.jpg | | image 3a = File:Paul Williams BumblebeeID qg_pratorum_f2.jpg | ||
| caption 3a = Queen/Worker | | caption 3a = Queen/Worker | ||
Zeile 147: | Zeile 166: | ||
| lead 4 = Two golden yellow bands<br/>tail white,<br/>buff at least at base | | lead 4 = Two golden yellow bands<br/>tail white,<br/>buff at least at base | ||
| result 4 =''Bombus terrestris'' | | result 4 =''Bombus terrestris'' | ||
− | | | + | | common names 4 = Buff tailed bumblebee |
− | | | + | | common names_de 4 = Erdhummel |
| image 4a = File:Paul Williams BumblebeeID qg_terrestris_audax_w1.jpg | | image 4a = File:Paul Williams BumblebeeID qg_terrestris_audax_w1.jpg | ||
| caption 4a = Queen, common form | | caption 4a = Queen, common form | ||
Zeile 158: | Zeile 177: | ||
| lead 5 = Two lemon yellow bands<br/>tail pure white<br/>male 2-3 yellow bands | | lead 5 = Two lemon yellow bands<br/>tail pure white<br/>male 2-3 yellow bands | ||
| next 5 = 5 | | next 5 = 5 | ||
− | | | + | | common names 5 = White tailed bumblebee |
− | | | + | | common names_de 5 = Hellgelbe Erdhummel |
| image 5a = File:Paul_Williams_BumblebeeID_qg_lucorum_lucorum_f1.jpg | | image 5a = File:Paul_Williams_BumblebeeID_qg_lucorum_lucorum_f1.jpg | ||
| caption 5a = Queen/worker | | caption 5a = Queen/worker | ||
Zeile 169: | Zeile 188: | ||
| lead 6 = Three yellow bands<br/>tail pure white | | lead 6 = Three yellow bands<br/>tail pure white | ||
| result 6 =''Bombus hortorum'' | | result 6 =''Bombus hortorum'' | ||
− | | | + | | common names 6 = Garden bumblebee |
− | | | + | | common names_de 6 = Gartenhummel |
| image 6a = File:Paul_Williams_BumblebeeID_qg_hortorum_f1.jpg | | image 6a = File:Paul_Williams_BumblebeeID_qg_hortorum_f1.jpg | ||
| caption 6a = Queen/worker | | caption 6a = Queen/worker | ||
Zeile 181: | Zeile 200: | ||
| result = ''Lamium album'' | | result = ''Lamium album'' | ||
| resultlink = myLink1 | | resultlink = myLink1 | ||
− | | | + | | common names = Weiße Taubnessel |
| synonyms = | | synonyms = | ||
| description = 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. | | description = 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. | ||
Zeile 202: | Zeile 221: | ||
| result = ''Galeobdolon'' | | result = ''Galeobdolon'' | ||
| resultlink = myLink2 | | resultlink = myLink2 | ||
− | | | + | | common names = ''Vergleiche:'' Goldnessel |
| image m = File:Gele dovenetel DSCF3599.JPG | | image m = File:Gele dovenetel DSCF3599.JPG | ||
| caption m = Blüte | | caption m = Blüte | ||
Zeile 237: | Zeile 256: | ||
| result = ''Lamium orvala'' | | result = ''Lamium orvala'' | ||
| resultqualifier = test | | resultqualifier = test | ||
− | | | + | | common names = Großblütige Taubnessel |
| image j = File:Lamium album4 ies.jpg | | image j = File:Lamium album4 ies.jpg | ||
| image j width = 400 | | image j width = 400 | ||
Zeile 262: | Zeile 281: | ||
| lead 1 = Thorax orange brown<br/>tail orange brown | | lead 1 = Thorax orange brown<br/>tail orange brown | ||
| result 1 =''Bombus pascuorum'' | | result 1 =''Bombus pascuorum'' | ||
− | | | + | | common names 1 = Common carder bumblebee |
− | | | + | | common names_de 1 = Ackerhummel |
| alt 2 = b | | alt 2 = b | ||
| lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | | lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | ||
| result 2 =''Bombus lapidarius'' | | result 2 =''Bombus lapidarius'' | ||
− | | | + | | common names 2 = Red tailed bumblebee |
− | | | + | | common names_de 2 = Steinhummel |
| alt 3 = c | | alt 3 = c | ||
| lead 3 = 1-2 yellow bands<br/>tail orange | | lead 3 = 1-2 yellow bands<br/>tail orange | ||
| result 3 =''Bombus pratorum'' | | result 3 =''Bombus pratorum'' | ||
− | | | + | | common names 3 = Early nesting bumblebee |
− | | | + | | common names_de 3 = Wiesenhummel |
| alt 4 = d | | alt 4 = d | ||
| lead 4 = Two golden yellow bands<br/>tail white,<br/>buff at least at base | | lead 4 = Two golden yellow bands<br/>tail white,<br/>buff at least at base | ||
| result 4 =''Bombus terrestris'' | | result 4 =''Bombus terrestris'' | ||
− | | | + | | common names 4 = Buff tailed bumblebee |
− | | | + | | common names_de 4 = Erdhummel |
| alt 5 = e | | alt 5 = e | ||
| lead 5 = Two lemon yellow bands<br/>tail pure white<br/>male 2-3 yellow bands | | lead 5 = Two lemon yellow bands<br/>tail pure white<br/>male 2-3 yellow bands | ||
| result 5 =''Bombus lucorum'' | | result 5 =''Bombus lucorum'' | ||
− | | | + | | common names 5 = White tailed bumblebee |
− | | | + | | common names_de 5 = Hellgelbe Erdhummel |
| alt 6 = f | | alt 6 = f | ||
| lead 6 = Three yellow bands<br/>tail pure white | | lead 6 = Three yellow bands<br/>tail pure white | ||
| result 6 =''Bombus hortorum'' | | result 6 =''Bombus hortorum'' | ||
− | | | + | | common names 6 = Garden bumblebee |
− | | | + | | common names_de 6 = Gartenhummel |
}} | }} | ||
{{Decision Horizontal | {{Decision Horizontal | ||
Zeile 301: | Zeile 320: | ||
| lead 1 = Thorax orange brown<br/>tail orange brown | | lead 1 = Thorax orange brown<br/>tail orange brown | ||
| result 1 =''Bombus pascuorum'' | | result 1 =''Bombus pascuorum'' | ||
− | | | + | | common names 1 = Common carder bumblebee |
− | | | + | | common names_de 1 = Ackerhummel |
| alt 2 = b | | alt 2 = b | ||
| lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | | lead 2 = Female unbanded<br/>tail deep red<br/>male with yellow bands | ||
| result 2 =''Bombus lapidarius'' | | result 2 =''Bombus lapidarius'' | ||
− | | | + | | common names 2 = Red tailed bumblebee |
− | | | + | | common names_de 2 = Steinhummel |
| alt 3 = c | | alt 3 = c | ||
| lead 3 = 1-2 yellow bands<br/>tail orange | | lead 3 = 1-2 yellow bands<br/>tail orange | ||
| result 3 =''Bombus pratorum'' | | result 3 =''Bombus pratorum'' | ||
− | | | + | | common names 3 = Early nesting bumblebee |
− | | | + | | common names_de 3 = Wiesenhummel |
}} | }} | ||
{{Key End}} | {{Key End}} | ||
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 == | |
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: {{PAGENAME}} }} |
Aktuelle Version vom 17. Mai 2013, 11:53 Uhr
Dies ist eine Unterseiten-Dokumentation für Vorlage:Decision Horizontal (siehe dort für die Vorlage selbst). Sie enthält Informationen zur Verwendung, Kategorisierung und andere Inhalte die nicht Bestandteil der originalen Vorlage sind. |
Inhaltsverzeichnis
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.jpgimages 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.)
1 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
Test couplet 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
2 | Which colors have body and tail?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
5 |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | ’ |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | ’’ |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | ’’’ |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | ’’’’ |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | ’’’’ |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | x |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | y |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
6 | (5) |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
6 | ’ |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
3 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
4 |
|
A second key, which can be linked from the first one:
1 |
| ||||||||
1 | ’ |
| |||||||
1 | ’’ |
|
Technical notes
DEPRECATED
- resultqualifier
See also
Single Access Key, Lead style: Template:Key Start and Template:Lead