Différences entre les versions de « Modèle:20160726Person »
De Semantic MediaWiki - Sandbox
(add) |
Balise : Éditeur de wikicode 2017 |
||
Ligne 32 : | Ligne 32 : | ||
{{#set: Has text=Information about people }} | {{#set: Has text=Information about people }} | ||
[[Catégorie:20160726Person]] | [[Catégorie:20160726Person]] | ||
+ | |||
+ | {{#get_web_data:url={{SERVER}}/w/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}}}} | ||
+ | |||
</includeonly> | </includeonly> |
Version du 21 février 2024 à 15:37
Ceci est le modèle « 20160726Person ». Il devrait être appelé selon le format suivant :
{{20160726Person |PersonFirstName= |PersonLastName= |PersonMisc= |PersonPic= |PersonCatValue= }}
Modifier la page pour voir le texte du modèle.