« Issue/4317 » : différence entre les versions

De Semantic MediaWiki - Sandbox
(bug)
Balise : Éditeur de wikicode 2017
(testing if it is a name thing)
Balise : Éditeur de wikicode 2017
Ligne 1 : Ligne 1 :
===Annotation===
===Annotation===
====subobject====
====subobject====
<code><nowiki>{{#subobject:NamedSubobject|Has text=Some text}}</nowiki></code>
<code><nowiki>{{#subobject:
{{#subobject:NamedSubobject|Has text=Some text}}
|Has text=Some text}}</nowiki></code>
{{#subobject:
|Has text=Some text}}


===Query===
===Query===
====ask====
====ask====
<code><nowiki>{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}</nowiki></code>
<code><nowiki>{{#ask:[[{{FULLPAGENAME}}]]|?Has text=|mainlabel=-}}</nowiki></code>


Result: {{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}
Result: {{#ask:[[{{FULLPAGENAME}}]]|?Has text=|mainlabel=-}}
====show====
====show====
<code><nowiki>{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}</nowiki></code>
<code><nowiki>{{#show:{{FULLPAGENAME}}|?Has text}}</nowiki></code>


Result: {{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}
Result: {{#show:{{FULLPAGENAME}}|?Has text}}

Version du 1 octobre 2019 à 15:38

Annotation

subobject

{{#subobject: |Has text=Some text}}


Query

ask

{{#ask:[[{{FULLPAGENAME}}]]|?Has text=|mainlabel=-}}

Result:

show

{{#show:{{FULLPAGENAME}}|?Has text}}

Result:

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