Template:Concept Table grouped by Collection 1
From TDWG Terms Wiki
Revision as of 21:01, 23 May 2014 by Gregor Hagedorn (Talk | contribs)
This template is a generic modification of Template:Concept Table grouped by Collection (AC1)
Technical Documentation
Dependencies
- template:smwAsk InternalAnchorRef (used by #ask)
- template:Concept Table grouped by Collection 1 uses #ask and gives results to:
- template:Concept_Table_grouped_by_Collection_2 (used by #ask of this template)
As a userparam, a comma-sep. list of second level collections is passed. Since these are normal collections, these are also the result of the ask query calling this template (i.e. passed as parameter {{{1}}} to the current template). However, if they are in {{{1}}}, they themselves are excluded from being shown (no output). Otherwise, if {{{1}}} is a different collection, they are passed to the next level template, with the purpose of adding a second level grouping. Example: userparam = Audubon Core Layer 1, Audubon Core Layer 2
Passed parameters to this template are (plain text and unlinked):- pagename of concept
- terms-internal:enLabel
- terms-internal:enDefinition
- terms-internal:enExample
- terms-internal:enNote
- rdfs:isDefinedBy
not passed but #ask-ed for in this subsequent template is subobject constraint of concept which holds: property domain, property range, cardinality)
- template:Concept_Table_grouped_by_Collection_2 (used by #ask of this template)
Example defaults still from Aud.Core code, might need review/correction!
Example below: Audubon Core Attribution Vocabulary
Audubon Core Attribution Vocabulary
Index to Audubon Core Attribution Vocabulary
By label: Attribution Link URL • Attribution URL • Copyright Owner • Credit Line • License Logo URL • License URL • Rights • Source • UsageTerms
By concept name: ac:attributionLinkURL • ac:attributionLogoURL • ac:licenseLogoURL • dcterms:rights • dcterms:source • photoshop:Credit • xmpRights:Owner • xmpRights:UsageTerms • xmpRights:WebStatement