« Formulaire:ZoteroPageCreation » : différence entre les versions
Aller à la navigation
Aller à la recherche
Généré depuis un schéma de page Balises : Révocation manuelle Révoqué |
Aucun résumé des modifications Balise : Révocation manuelle |
||
| Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
Ceci est le formulaire | Ceci est le formulaire « ZoteroPageCreation ». | ||
{{#forminput:form=ZoteroPageCreation|autocomplete on category=ZoteroPage}} | |||
</noinclude><includeonly> | |||
<div id="wikiPreview" style="display:none; padding-bottom:25px; margin-bottom:25px; border-bottom:1px solid #AAAAAA;"></div> | |||
< | <!-- === Partie édition des champs === --> | ||
{{{for template|ZoteroPage}}} | {{{for template|ZoteroPage}}} | ||
{| class="formtable" | {| class="formtable" | ||
! Nom de la page (Titre, Référence) | |||
| {{{field|PageName|size=60|mandatory}}} | |||
|} | |} | ||
{{{end template}}} | {{{end template}}} | ||
<!-- === Bloc info RENDU (hors du for-template) === --> | |||
{{{info| | |||
'''Titre extrait :''' {{#explode:{{{PageName|}}}|,|0}}<br/> | |||
'''URL générée :''' <nowiki>https://api.zotero.org/groups/4893620/items?q={{#urlencode:{{#explode:{{{PageName|}}}|,|0}}}}&qmode=everything&limit=10&include=data&format=json</nowiki> | |||
{{#get_web_data: | |||
url=https://api.zotero.org/groups/4893620/items?q={{#urlencode:{{#explode:{{{PageName|}}}|,|0}}}}&qmode=everything&limit=10&include=data&format=json | |||
|format=json | |||
|use jsonpath=true | |||
|cache seconds=-1 | |||
|data=key=$[*].key, title=$[*].data.caseName, date=$[*].data.dateDecided, court=$[*].data.court, url=$[*].data.url | |||
}} | |||
{{#if_external_data: | |||
{| class="wikitable sortable" | |||
! Choisir !! Titre !! Date !! Cour !! Lien | |||
{{#for_external_table: | |||
|- | |||
| <input type="radio" name="ZoteroPage[ZoteroKey]" value="{{{key}}}" required="required" /> | |||
| {{{title}}} | |||
| {{{date}}} | |||
| {{{court}}} | |||
| [{{{url}}} Voir] | |||
}} | |||
|} | |||
|'''Aucun résultat Zotero trouvé.''' }} | |||
}}} | |||
</includeonly> | </includeonly> | ||
Version du 3 juin 2025 à 18:29
Ceci est le formulaire « ZoteroPageCreation ».