« Import-annotation » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(chg) |
||
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 1 : | Ligne 1 : | ||
See [[:Category:Import-annotation examples|the pages used to create this example]] | |||
== without using the <code>import-annotation</code> parameter == | |||
; syntax | |||
<pre> | <pre> | ||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }} | {{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }} | ||
</pre> | </pre> | ||
; result | |||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }} | {{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }} | ||
== using the <code>import-annotation</code> parameter == | |||
; syntax | |||
<pre> | <pre> | ||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }} | {{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }} | ||
</pre> | </pre> | ||
; result | |||
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }} | {{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }} | ||
[[Category:Import-annotation examples]] | [[Category:Import-annotation examples]] |
Dernière version du 28 juin 2018 à 15:13
See the pages used to create this example
without using the import-annotation
parameter
- syntax
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |sep=+ }} }}
- result
Erreur d’expression : caractère de ponctuation « [ » non reconnu.
using the import-annotation
parameter
- syntax
{{#expr: {{#ask: [[Category:Import-annotation examples]] [[Has number::+]] |?Has number |?Has number too |format=template |template=Import-annotation |import-annotation=true |sep=+ }} }}
- result
4