« PetTest » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(9 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 | |||
| source=wiki | |||
| limit=50 | |||
| offset=0 | |||
| searchlabel=... further results | |||
| class=sortable wikitable smwtable | |||
| 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::!~*Dog*]] | ||
|?Has current pets | |?Has current pets | ||
Ligne 28 : | Ligne 60 : | ||
| limit=50 | | limit=50 | ||
| offset=0 | | offset=0 | ||
| mainlabel=- | |||
| searchlabel=... further results | | searchlabel=... further results | ||
| class=sortable wikitable smwtable | | class=sortable wikitable smwtable | ||
| format= | | 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