Difference between revisions of "Template:Concept collection"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | <includeonly> | + | <includeonly><!-- |
| − | |||
Start output with INFOBOX | Start output with INFOBOX | ||
--><table class="infobox floatright" style="max-width:300px"><!-- | --><table class="infobox floatright" style="max-width:300px"><!-- | ||
| Line 36: | Line 35: | ||
<nowiki></nowiki>}}{{ | <nowiki></nowiki>}}{{ | ||
#if: {{{collection uri|}}}|<nowiki></nowiki> | #if: {{{collection uri|}}}|<nowiki></nowiki> | ||
| − | |||
'''Collection URI:''' {{{collection uri}}} | '''Collection URI:''' {{{collection uri}}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | |||
| − | + | {{#ask: [[{{PAGENAME}}]] [[Category:Concept]]|format=count}} |{{#if: {{{concept scheme|}}}<!-- | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
then-->|'''This is a collection within the [[{{{concept scheme|}}}]]. It <!-- | then-->|'''This is a collection within the [[{{{concept scheme|}}}]]. It <!-- | ||
else-->|'''This collection <!-- | else-->|'''This collection <!-- | ||
| Line 72: | Line 50: | ||
| intro='''By concept name:'''  | | intro='''By concept name:'''  | ||
| sort=terms-internal:lowercasePagename | | sort=terms-internal:lowercasePagename | ||
| − | }} | + | }} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
[[Category:Concept collection]] | [[Category:Concept collection]] | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:45, 12 December 2020
[edit] [[[:Template:Purge]]]
Template documentation
This is the "Concept collection" template and should be used on Category-pages.
Usage
It should be called in the following format:
{{Concept collection
|description= → optional (property:dc:description)
|notes= → optional (property:skos:note)
|concept collection= → optional member of another collection (property:vann:termGroup)
|concept scheme = → optional (property: skos:inScheme)
|collection uri = → optional canonical URI where collection is used as a class (esp. value lists)
|preferred namespace prefix= → optional (property: vann:preferredNamespacePrefix)
|preferred namespace uri= → optional (property: vann:preferredNamespaceUri)
}}
Technical documentation
This template is used by Form:Concept collection. Dependencies:
- template: Logo
- template: Generate concept formlinks from SMW import page
- template: Validate and render identifier URI
Additional properties/Classes
- page title is mapped to property:dc:title.
- Category:Concept collection will be set by this template automatically.