« 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 :
{{#set:Has text=Some text 1}}
===== Annotation =====
 
====== subobject ======
{{#show:{{FULLPAGENAME}}|?Has text}}
 
{{#ask:[[{{FULLPAGENAME}}]]|?Has text=|mainlabel=-}}


<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>


{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}
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

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.