Help:Links in values

From semantic-mediawiki.org
Jump to: navigation, search

Links in values describes the possibility to add links using wikitext like e.g. [[...]] (internal links) or [...] (external links) or even an annotation [[Property::Property value]] withing the property values added/annotated to datatype "Text"Holds text of arbitrary length with in-text annotations.

NoteNote:

Examples

Annotating a data value containing an internal and external link

Syntax:

[[Has text::This text contains an internal link to the [[Main Page]] of this wiki and an external link to the [https://sandbox.semantic-mediawiki.org/wiki/Main_Page Main Page] of another wiki.]]

Result:

This text contains an internal link to the Main Page of this wiki and an external link to the Main Page of another wiki.

Annotation as seen with special page "Browse"

Annotating a data value containing and annotation
NoteNote: This is only possible starting with Semantic MediaWiki 2.5.0.1

Syntax:

[[Has text::This text contains an annotated internal link to the [[Has page::Main Page]] of this wiki.]]

Result:

This text contains an annotated internal link to the Main Page of this wiki.

Annotation as seen with special page "Browse"

See also