« 2 - Accelerando » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « has title::Accelerando is a book catégorie: Books by has author::Charles Stross. It has page has number::1 and also has page has number::2. ») |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 1 : | Ligne 1 : | ||
{{#get_web_data:url={{SERVER}}/api.php?action=query&prop=extracts&exchars=150&titles={{PAGENAMEE}}&exsectionformat=plain&explaintext&format=json | |||
|format=json | |||
|use jsonpath | |||
|data=Table=$.query.pages.{{PAGEID}}.title,DescT=$.query.pages.{{PAGEID}}.extract, | |||
}} | |||
{{#set:DescT={{#external_value:DescT}}}} | |||
[[has title::Accelerando]] is a book [[catégorie: Books]] by [[has author::Charles Stross]]. | [[has title::Accelerando]] is a book [[catégorie: Books]] by [[has author::Charles Stross]]. | ||
It has page [[has number::1]] and also has page [[has number::2]]. | It has page [[has number::1]] and also has page [[has number::2]]. |
Version du 21 février 2024 à 15:25
Erreur : JSON non valide ($2).
Accelerando is a book by Charles Stross.
It has page 1 and also has page 2.