Différences entre les versions de « PetTest »

De Semantic MediaWiki - Sandbox

Balise : Éditeur de wikicode 2017
Balise : Éditeur de wikicode 2017
 
(12 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::like:*Dog*]]
+
[[Has current pets::~Other*]]
 
|?Has current pets
 
|?Has current pets
 
| source=wiki
 
| source=wiki
Ligne 20 : Ligne 21 :
 
| format=table
 
| format=table
 
}}
 
}}
 
+
'''(Not Like Other)''' Has current pets::!~*Other*
 
{{#ask:
 
{{#ask:
[[Has current pets::nlike:*Dog*]]
+
[[Has current pets::!~*Other*]]
 
|?Has current pets
 
|?Has current pets
 
| source=wiki
 
| source=wiki
Ligne 30 : 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
MyPets1Dog
Cat
Fish
MyPets2Dog
MyPets3Cat
Fish
Bird
Wolf
Other
Tiger

(Like Other) Has current pets::~*Other*

 Has current pets
MyPets3Cat
Fish
Bird
Wolf
Other
Tiger

(Not Like Other) Has current pets::!~*Other*

 Has current pets
MyPets1Dog
Cat
Fish
MyPets2Dog

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

Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.