Difference between revisions of "Template:Key Start/doc"
MarcBrugman (Talk | contribs) |
MarcBrugman (Talk | contribs) |
||
Line 12: | Line 12: | ||
=== Usage === | === Usage === | ||
− | The templates [[Template:SingleAccessKey]] and [[Template:Lead]] are to be used in combination. | + | The templates [[Template:SingleAccessKey]] and [[Template:Lead]] are to be used in combination. Please switch into edit or view mode using the tab on top of the screen to see the "code" calling the templates. |
{{SingleAccessKey | id = MainKey | title = Example in German (links to German Wikipedia) | | {{SingleAccessKey | id = MainKey | title = Example in German (links to German Wikipedia) | | ||
Line 27: | Line 27: | ||
− | {{SingleAccessKey | id = Key2 | title = | + | {{SingleAccessKey | id = Key2 | title = Start of an English Key with backlinks and footnotes (links to English Wikipedia)| |
{{Lead | 1 | Trees, shrubs, or woody climbers > 50 cm high| 2 }} | {{Lead | 1 | Trees, shrubs, or woody climbers > 50 cm high| 2 }} | ||
{{Lead | 1 | Herbs or small shrubs (< 50 cm high) | 17 }} | {{Lead | 1 | Herbs or small shrubs (< 50 cm high) | 17 }} | ||
Line 42: | Line 42: | ||
{{Lead | 6 | Leaves entire. Fruit not mulberry-like | 7 }} | {{Lead | 6 | Leaves entire. Fruit not mulberry-like | 7 }} | ||
<!-- end of single-access key -->}} | <!-- end of single-access key -->}} | ||
+ | ---- | ||
+ | <small><references/></small> | ||
− | + | Single access keys created with these templates may be strictly '''dichotomous''' (two alternatives, as above) or they may be '''polytomous''' (some couplets having more than 2 alternatives, not shown). Furthermore, it is possible to design keys in statement-style (as above) or in question-answer-style as follows: | |
− | {{SingleAccessKey | id = KeyQA | title = Example of a key in question-answer-style| | + | {{SingleAccessKey | id = KeyQA | title = Example of the start of a key in question-answer-style| |
{{LeadQuestion | 1 | What is the life form of your plant? }} | {{LeadQuestion | 1 | What is the life form of your plant? }} | ||
{{Lead | a | a tree, shrub, or a woody climber > 50 cm high| 2 }} | {{Lead | a | a tree, shrub, or a woody climber > 50 cm high| 2 }} | ||
Line 55: | Line 57: | ||
<!-- end of single-access key -->}} | <!-- end of single-access key -->}} | ||
− | + | ||
− | <small>< | + | For testing, also a technical sample of a reticulated key, resulting in a Directed Acyclical Graph (this key is complete, no dangling leads as in the other examples): |
+ | |||
+ | <small> | ||
+ | {{SingleAccessKey | id = KeyDAG | title = Techical example containing reticulation (Lead 4 has two parents, 3 and 6| | ||
+ | {{Lead | 1| statement a| 2 }} | ||
+ | {{Lead | 1| statement b| 3 }} | ||
+ | {{Lead | 2| statement a| ''Sambucus racemosa''}} | ||
+ | {{Lead | 2| statement b| 5 }} | ||
+ | {{Lead | 3| statement a| 6}} | ||
+ | {{Lead | 3| statement b| 4}} | ||
+ | {{Lead | 4| statement a| ''Acer negundo''}} | ||
+ | {{Lead | 4| statement b| ''Fraxinus excelsior''}} | ||
+ | {{Lead | 5| statement a| ''Rubus fruticosus'' }} | ||
+ | {{Lead | 5| statement b| ''Ribes nigrum''}} | ||
+ | {{Lead | 6| statement a| 4}} | ||
+ | {{Lead | 6| statement b| ''Rubus ideus''}} | ||
+ | <!-- end of single-access key -->}} | ||
+ | </small> | ||
===TODO=== | ===TODO=== |
Revision as of 07:55, 25 October 2008
Highlights
- Without expert intervention, users can duplicate any existing key and modify, translate, or shorten it.
- It is possible to rearrange the key or add new couplets or leads with new taxa.
- In both cases, renumbering the leads is a problem, but while building a key up, non-consecutive lead numbers can be an interim solution.
- Both lead statements and taxon links can contain links to internal wiki pages or external web pages, defining or explaining characters, states, or taxa.
- Manually added images are possible, not yet present in current demonstration
Usage
The templates Template:SingleAccessKey and Template:Lead are to be used in combination. Please switch into edit or view mode using the tab on top of the screen to see the "code" calling the templates.
Example in German (links to German Wikipedia) | |
---|---|
Start of an English Key with backlinks and footnotes (links to English Wikipedia) | |
---|---|
Example of the start of a key in question-answer-style | |
---|---|
Techical example containing reticulation (Lead 4 has two parents, 3 and 6 | |
---|---|