Différences entre les versions de « PetTest »
De Semantic MediaWiki - Sandbox
Balise : Éditeur de wikicode 2017 |
Balise : Éditeur de wikicode 2017 |
||
(8 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 10 : | Ligne 10 : | ||
| format=table | | format=table | ||
}} | }} | ||
− | '''(Like | + | '''(Like Other)''' Has current pets::~*Other* |
{{#ask: | {{#ask: | ||
− | [[Has current pets::~ | + | [[Has current pets::~Other*]] |
|?Has current pets | |?Has current pets | ||
| source=wiki | | source=wiki | ||
Ligne 21 : | Ligne 21 : | ||
| format=table | | format=table | ||
}} | }} | ||
− | '''(Not Like | + | '''(Not Like Other)''' Has current pets::!~*Other* |
{{#ask: | {{#ask: | ||
[[Has current pets::!~*Other*]] | [[Has current pets::!~*Other*]] | ||
Ligne 31 : | Ligne 31 : | ||
| class=sortable wikitable smwtable | | class=sortable wikitable smwtable | ||
| format=table | | format=table | ||
+ | }} | ||
+ | '''Show all pets but exclude the word Other''' Missing the remaining pets from MyPets3 | ||
+ | {{#ask: | ||
+ | [[Category:Pets]] | ||
+ | [[Has current pets::!~*Other*]] | ||
+ | |?Has current pets | ||
+ | | source=wiki | ||
+ | | limit=50 | ||
+ | | offset=0 | ||
+ | | mainlabel=- | ||
+ | | searchlabel=... further results | ||
+ | | class=sortable wikitable smwtable | ||
+ | | distribution=true | ||
+ | | height=400 | ||
+ | | width=100% | ||
+ | | valueformat=%d | ||
+ | | format=jqplotchart | ||
+ | | charttype=pie | ||
+ | | datalabels=value | ||
+ | | chartlegend=nw | ||
+ | }} | ||
+ | '''Show all pets except Dog''' Should have 2 Cat and 2 Fish | ||
+ | {{#ask: | ||
+ | [[Category:Pets]] | ||
+ | [[Has current pets::!~*Dog*]] | ||
+ | |?Has current pets | ||
+ | | source=wiki | ||
+ | | limit=50 | ||
+ | | offset=0 | ||
+ | | mainlabel=- | ||
+ | | searchlabel=... further results | ||
+ | | class=sortable wikitable smwtable | ||
+ | | distribution=true | ||
+ | | height=400 | ||
+ | | width=100% | ||
+ | | valueformat=%d | ||
+ | | format=jqplotchart | ||
+ | | charttype=pie | ||
+ | | datalabels=value | ||
+ | | chartlegend=nw | ||
}} | }} |
Dernière version du 7 novembre 2023 à 20:34
(All) Has current pets::+
Has current pets | |
---|---|
MyPets1 | Dog Cat Fish |
MyPets2 | Dog |
MyPets3 | Cat Fish Bird Wolf Other Tiger |
(Like Other) Has current pets::~*Other*
Has current pets | |
---|---|
MyPets3 | Cat Fish Bird Wolf Other Tiger |
(Not Like Other) Has current pets::!~*Other*
Has current pets | |
---|---|
MyPets1 | Dog Cat Fish |
MyPets2 | Dog |
Show all pets but exclude the word Other Missing the remaining pets from MyPets3
Show all pets except Dog Should have 2 Cat and 2 Fish