« PetTest » : 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 |
||
(7 versions intermédiaires par le même utilisateur non affichées) | |||
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