« SubobjectSet » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
Trying to set subobjects using the template format of an ask query where [[Template:SubobjectSet]] takes the query output and sets a subobject with it. | Trying to set subobjects using the template format of an ask query where [[Template:SubobjectSet]] takes the query output and sets a subobject with it. | ||
Output: | |||
{{#ask: [[Title::+]] | {{#ask: [[Title::+]] | ||
|limit=5 | |limit=5 | ||
Ligne 8 : | Ligne 8 : | ||
|link=none | |link=none | ||
|searchlabel= | |searchlabel= | ||
}} | |||
Here's a subobject specified directly: {{#subobject: | |||
|Text=some text manually set. | |||
}} | }} |
Version du 23 septembre 2019 à 16:07
Trying to set subobjects using the template format of an ask query where Template:SubobjectSet takes the query output and sets a subobject with it.
Output:
Set object with Property:Text as: Entry 1
Set object with Property:Text as: Entry 3
Set object with Property:Text as: Entry 4
Set object with Property:Text as: Utilisateur:Krabina
Set object with Property:Text as: Subobject User Property Test/1#_f353aa9e2bb3506026114ae77b76161e
Here's a subobject specified directly: