« MathSumExampleWithQueryUpdate » : différence entre les versions
De Semantic MediaWiki - Sandbox
Aucun résumé des modifications |
(add) |
||
(3 versions intermédiaires par un autre utilisateur non affichées) | |||
Ligne 3 : | Ligne 3 : | ||
|intro=List pages that contain number values used for the following example. A change to one of the listed pages should show up on this page as well in case of an updated number value. | |intro=List pages that contain number values used for the following example. A change to one of the listed pages should show up on this page as well in case of an updated number value. | ||
}} | }} | ||
<h2>Sum example</h2> | |||
<pre> | |||
{{#ask: [[Category:MathSumExampleWithQueryUpdate]][[Has number::+]] | |||
|?Has number | |||
|?Has another number | |||
}} | |||
</pre> | |||
{{#ask: [[Category:MathSumExampleWithQueryUpdate]][[Has number::+]] | {{#ask: [[Category:MathSumExampleWithQueryUpdate]][[Has number::+]] | ||
|?Has number | |?Has number | ||
| | |?Has another number | ||
}} | }} | ||
Total: {{#ask: [[Category:MathSumExampleWithQueryUpdate]][[Has number::+]] | Total (Has number + Has another number): {{#ask: [[Category:MathSumExampleWithQueryUpdate]][[Has number::+]] | ||
|?Has number | |?Has number | ||
|?Has another number | |?Has another number | ||
Ligne 15 : | Ligne 21 : | ||
}} | }} | ||
Count of | Count of related entities: {{#ask: [[Category:MathSumExampleWithQueryUpdate]][[Has number::+]] | ||
|?Has number | |?Has number | ||
|format=count | |format=count | ||
}} | }} | ||
[[Category:Examples]] |
Dernière version du 8 novembre 2015 à 11:16
List pages that contain number values used for the following example. A change to one of the listed pages should show up on this page as well in case of an updated number value.
- MathSumExampleWithQueryUpdate/1
- MathSumExampleWithQueryUpdate/2 (subobject use)
- MathSumExampleWithQueryUpdate/3 (hierarchy use)
- MathSumExampleWithQueryUpdate/4 (hierarchy use)
- MathSumExampleWithQueryUpdate/5 (template use)
Sum example
{{#ask: [[Category:MathSumExampleWithQueryUpdate]][[Has number::+]] |?Has number |?Has another number }}
Total (Has number + Has another number): 102
Count of related entities: 5