Template:Show grouped labels of concept collection/doc
From TDWG Terms Wiki
< Template:Show grouped labels of concept collection
Revision as of 11:38, 20 January 2020 by Andreas Plank (Talk | contribs)
Summary: Show and list (all) labels and concept names of one concept collection but format it nicely:
- Concept collection is a section
- labels and concept names become grouped as a list
Usage
{{Show grouped labels of concept collection|ABCD 2}}
or with parameter:
{{Show grouped labels of concept collection |skos-inScheme=ABCD 2 }}
On a page named “ABCD 2” it is possible to use this template without parameters (so the Wiki page name will be used as value for the requested concept scheme):
{{Show grouped labels of concept collection}}
Parameters
Bold parameters are mandatory, all other are optional:
Parameter | Comment, Example | Default |
---|---|---|
|skos-inScheme= |1=
|
the name of the scheme, eg “ABCD 2” | |
|skos-inScheme limit=
|
the requested limit of property: skos:inScheme collections | 100 |
|in collection concepts limit=
|
the requested limit within one collection itself (not the overall limit) | 1000 |
Technical Documentation
Dependencies:
- (the name of the collections)
- property: skos:inScheme
- property: vann:termGroup
- property: terms-internal:enLabel2Pagename (pre-formatted label link)
- Extension: Arrays
- Extension: Semantic MediaWiki