« Catégorie:ZoteroPage » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 1 : | Ligne 1 : | ||
<pageforms_Form name="ZoteroPageCreation"> | |||
<CreateTitle>Nouvelle décision provenant de Zotero</CreateTitle> | |||
<EditTitle>Modification d'une décision provenant de Zotero</EditTitle> | |||
<standardInputs inputFreeText="0" /> | |||
<Layout> | |||
<!-- Champ de saisie principal --> | |||
<Part type="full_line"> | |||
<Label>Nom de la page (Titre, Référence neutre ou CanLII)</Label> | |||
<!-- | <InputField>PageName</InputField> | ||
</Part> | |||
< | |||
< | <!-- Bloc de wikitexte : requête Zotero + tableau résultats --> | ||
< | <Part type="free_text"> | ||
< | <Label>Recherche Zotero et sélection</Label> | ||
</ | <Text><![CDATA[ | ||
</ | {{#get_web_data: | ||
url=https://api.zotero.org/groups/4893620/items?q={{#urlencode:{{#explode:{{{PageName}}}|,|1}}}}&itemType=case&limit=10&include=data | |||
|format=json | |||
|use jsonpath=true | |||
|data=key=$[*].key, title=$[*].data.caseName, date=$[*].data.dateDecided, court=$[*].data.court, url=$[*].data.url | |||
}} | |||
{{#if_external_data: | |||
'''Sélectionnez l’item Zotero à importer :''' | |||
{| 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é pour « {{#explode:{{{PageName}}}|,|1}} ».''' | |||
}} | |||
]]></Text> | |||
</Part> | |||
</Layout> | |||
<BuiltInButtons> | |||
<SaveButton /> | |||
<CancelButton /> | |||
</BuiltInButtons> | |||
<!-- mapping formulaire → template --> | |||
<pageforms_Template name="ZoteroPage"> | |||
<pageforms_Field name="PageName" /> | |||
<pageforms_Field name="ZoteroKey" /> | |||
</pageforms_Template> | |||
</pageforms_Form> | |||
Version du 3 juin 2025 à 17:14
<pageforms_Form name="ZoteroPageCreation">
<CreateTitle>Nouvelle décision provenant de Zotero</CreateTitle> <EditTitle>Modification d'une décision provenant de Zotero</EditTitle> <standardInputs inputFreeText="0" />
<Layout>
<Part type="full_line">
<Label>Nom de la page (Titre, Référence neutre ou CanLII)</Label>
<InputField>PageName</InputField>
</Part>
<Part type="free_text">
<Label>Recherche Zotero et sélection</Label>
<Text><![CDATA[
{{#if_external_data: Sélectionnez l’item Zotero à importer :
| Choisir | Titre | Date | Cour | Lien |
|---|
|Aucun résultat Zotero trouvé pour « ». }}
]]></Text> </Part> </Layout>
<BuiltInButtons> <SaveButton /> <CancelButton /> </BuiltInButtons>
<pageforms_Template name="ZoteroPage"> <pageforms_Field name="PageName" /> <pageforms_Field name="ZoteroKey" /> </pageforms_Template>
</pageforms_Form>
Pages dans la catégorie « ZoteroPage »
Cette catégorie comprend 9 pages, dont les 9 ci-dessous.