Différences entre les versions de « Issue/4317 »
De Semantic MediaWiki - Sandbox
Balise : Éditeur de wikicode 2017 |
(+) |
||
(9 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | + | ===Annotation=== | |
− | + | ====subobject==== | |
+ | <code><nowiki>{{#subobject:NamedSubobject|Has text=Some text}}</nowiki></code> | ||
+ | {{#subobject:NamedSubobject|Has text=Some text}} | ||
− | + | ===Query=== | |
− | + | ====ask==== | |
− | + | <code><nowiki>{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}</nowiki></code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <code>{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}</code> | ||
Result: {{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}} | Result: {{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}} | ||
− | + | ====show==== | |
− | <code>{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}</code> | + | <code><nowiki>{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}</nowiki></code> |
Result: {{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}} | Result: {{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}} | ||
+ | |||
+ | [[Category:Issue]] |
Dernière version du 6 octobre 2019 à 12:08
Annotation
subobject
{{#subobject:NamedSubobject|Has text=Some text}}
Query
ask
{{#ask:[[{{FULLPAGENAME}}#NamedSubobject]]|?Has text=|mainlabel=-}}
Result: Some text
show
{{#show:{{FULLPAGENAME}}#NamedSubobject|?Has text}}
Result: Some text