Difference between revisions of "Template:Key Start/doc"
MarcBrugman (Talk | contribs) |
MarcBrugman (Talk | contribs) (→Highlights) |
||
Line 7: | Line 7: | ||
<nowiki>{{SingleAccessKey | id = Example | title = Example key | description = Only a demo |</nowiki> | <nowiki>{{SingleAccessKey | id = Example | title = Example key | description = Only a demo |</nowiki> | ||
<nowiki>{{Lead | 1 | Blätter gegenständig | 2 }}</nowiki> | <nowiki>{{Lead | 1 | Blätter gegenständig | 2 }}</nowiki> | ||
− | <nowiki>{{Lead | 1 | Blätter wechselständig | | + | <nowiki>{{Lead | 1 | Blätter wechselständig | 18</nowiki> |
<nowiki> |image=[[Image:xyz.jpg|thumb|200px|A caption for the image]] }}</nowiki> | <nowiki> |image=[[Image:xyz.jpg|thumb|200px|A caption for the image]] }}</nowiki> | ||
Revision as of 19:01, 19 November 2008
Highlights
- Uses standard mediawiki template syntax. The basic structure is a wrapper for entire key, and a sequence of Lead or LeadQuestion templates. Each Lead template contains three unnamed parameters: The lead number, the statement, and the result (a lead number or a taxon name). In addition, the named parameters "image", "images" (a synonym) and "description" allow additional information to be given. In edit view, keys looks like:
{{SingleAccessKey | id = Example | title = Example key | description = Only a demo | {{Lead | 1 | Blätter gegenständig | 2 }} {{Lead | 1 | Blätter wechselständig | 18 |image=[[Image:xyz.jpg|thumb|200px|A caption for the image]] }}
- (Switch this documentation page into edit view to see the text behind the rendered examples on this page.)
- Users can duplicate any existing key and modify, translate, or shorten it, with requiring an expert or administrator to allow it to them.
- 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.
- Taxon or character images with captions and automatic resizing may be added to any lead (whether a taxon lead or not).
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 key in German | |
---|---|
This key is a demo key only, containing links to the German Wikipedia
(Geographic scope not specified) — Collaboration: open — (Status not specified) — Edited by: (not specified) |
Start of an English Key with backlinks, links to English Wikipedia, and a footnote | |
---|---|
Example of the start of a key in question-answer-style | |
---|---|
Techical example of reticulated key (lead 4 has two parents: 3 and 6) | |
---|---|
This is just a test of complicate data structures for Javier test) | |
---|---|