Template:.form/skos
This is the ".form/skos" template. It should be called in the following format:
{{.form/skos |hostForm=full pagename of host form |hostTemplate=pagename of host template |fieldFacts=name of field for fact templates |skosClass=name of class (default=Concept) |open=semicolon list of default property selections }} for instance {{.form/skos ||hostForm=Form:Research|hostTemplate=Infobox research |skosClass=.skos:ConceptScheme |open=.skos:prefLabel; .skos:definition }}
If the skos-class parameter is unspecified, the user selects one of (.skos:ConceptScheme || .skos:Collection || .skos:OrderedCollection || .skos:Concept) for the page.
- Labels are defined in the page Project:.form/skos/menus.
- Instructions for the dropdown menu itself is the content of a page named, e.g., Project:.form/page-namespace/skos/text. If the form has no custom instructions, then the content of Project:.form/skos/text is used.
- Templates are named with reference to the namespace of a page being created, e.g., Template:.form/page-namespace/skos:inScheme. Default templates are used if a namespace has no custom template, e.g., Template:.form/skos:inScheme.
- Instructions for a field is the content of a page named, e.g., Project:.form/page-namespace/skos:inScheme. If instructions are not provided by a form, then default instructions are used, e.g., Project:.form/skos:inScheme/text.
Default label | Default template | Default instructions |
{{#arraymap:altLabel, broadMatch, broader, broaderTransitive, changeNote, closeMatch, definition, editorialNote, exactMatch, example, hasTopConcept, hiddenLabel, historyNote, inScheme, mappingRelation, member, memberList, narrowMatch, narrower, narrowerTransitive, notation, note, prefLabel, related, relatedMatch, scopeNote, semanticRelation, topConceptOf|,|Z| | |
---|---|---|---|---|
Z | .skos:narrower::Template:.form/skos:Z | Best Practices:.form/skos:Z/text | edit | \n}} |
Edit the page to see the template text.