Benutzer:Christoph Holtermann/Semantic Scribunto: Unterschied zwischen den Versionen

Aus imedwiki
Zur Navigation springen Zur Suche springen
Zeile 17: Zeile 17:
  
 
=== set ===
 
=== set ===
{{#invoke:smw|set|has number=foobar}}
+
{{#invoke:smw|set|Text=Ein beliebiger Text}}

Version vom 25. August 2021, 16:50 Uhr

Examples for Semantic Scribunto

mainly taken from https://sandbox.semantic-mediawiki.org/wiki/Semantic_Scribunto_example

Tooltip text

{{#invoke:smw|info|This is a tooltip info text}}

This is a tooltip info text

getPropertyType

{{#invoke:smw|getPropertyType|Modification date}}

_dat

subobject

Your data was stored successfully in a subobject

table#1 {
  metatable = table#2
  ["has coordinates"] = "Donald",
}

set

Your data was stored successfully