« Issue/4317 » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 1 : | Ligne 1 : | ||
===== Annotation ===== | |||
====== subobject ====== | |||
<code>{{#subobject:NamedSubobject | |||
|Has text=Some text 2 | |||
}}</code> | |||
{{#subobject:NamedSubobject | {{#subobject:NamedSubobject | ||
|Has text=Some text 2 | |Has text=Some text 2 | ||
}} | }} | ||
{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}} | ===== Query ===== | ||
====== ask ====== | |||
<code>{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}</code> | |||
Result: {{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}} | |||
====== show ====== | |||
<code>{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}</code> | |||
{{# | Result: {{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}} |
Version du 30 septembre 2019 à 00:56
Annotation
subobject
Query
ask
Some text
Result: Some text
show
Some text
Result: Some text