Zum Inhalt springen

„Vorlage:SKOSlink/Doku“ – Versionsunterschied

aus AufEinWort, der freien Forschung
[ungesichtete Version][ungesichtete Version]
Neu angelegt
 
K Textersetzung - „<noinclude>{{Wikipedia.de Struktur Vorlage}}</noinclude>“ durch „<noinclude>{{Heim-gast Vorlage}}</noinclude>“
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>{{Dokumentation/Dokuseite}}</noinclude>
<noinclude>{{Heim-gast Vorlage}}</noinclude><noinclude>{{Dokumentation/Dokuseite}}</noinclude>
Diese Vorlage ist zunächst auf Englisch dokumentiert, um sie in andere Wikipedias übernehmen zu können. Eine Deutsche Beschreibung folgt noch. Weiteres Siehe unter [[Vorlage:Kategorienmapping]].
Diese Vorlage ist zunächst auf Englisch dokumentiert, um sie in andere Wikipedias übernehmen zu können. Eine Deutsche Beschreibung folgt noch. Weiteres Siehe unter [[Vorlage:Kategorienmapping]].
----
----

Aktuelle Version vom 12. September 2026, 07:01 Uhr

Wikipedia.de Vorlage: SKOSlink/Doku

Diese Vorlage ist zunächst auf Englisch dokumentiert, um sie in andere Wikipedias übernehmen zu können. Eine Deutsche Beschreibung folgt noch. Weiteres Siehe unter Vorlage:Kategorienmapping.


This template creates a link to a concept in a simple knowledge organization system. You can link via its URI (id) its notation (notation) or its preferred label (label). The link is shown as

prefix type notation | label | id [label] postfix

with notation | label | id linking to an URL that is build of the base, an id | notation | label appended to it, and optionally a suffix. The label after the link is only shown if both notation and label are given. If none of the three parameters is given, no output is returned.

Parameters

Parameter Meaning
id concept identifier
notation notation of the concept
label label or caption of the concept
type link type (<: narrower match, >: broader match, ~: close match, default: exact match)
base URL base
suffix URL suffix
prefix fixed string that is prepended
postfix fixed string that is appended

The following table shows all relevant combinations of parameters. If no base parameter is given, id should be a linkeable URL. If there is a base, the appended id|notation|label is URL-encoded because usually it is a query parameter.

parameter result
type label notation id
test ABC 1/2 ABC test
ABC 1/2 ABC
test ABC ABC test
ABC ABC
test 1/2 test
1/2 1/2
test test
 
> test > test
>
without base
test ABC 1/2 ABC test
ABC 1/2 ABC
test ABC ABC test
ABC ABC
test 1/2 test
1/2
test test