« 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 |
||
(17 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
'''(All)''' Has current pets::+ | |||
{{#ask: | {{#ask: | ||
[[Has current pets::+]] | [[Has current pets::+]] | ||
Ligne 9 : | Ligne 10 : | ||
| format=table | | format=table | ||
}} | }} | ||
'''(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 20 : | Ligne 20 : | ||
| class=sortable wikitable smwtable | | class=sortable wikitable smwtable | ||
| format=table | | format=table | ||
}} | |||
'''(Not Like Other)''' Has current pets::!~*Other* | |||
{{#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 | |||
| 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