« Formulaire:ZoteroPageCreation » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| 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}}} | |||
<!-- === Bloc info RENDU (hors du for-template) === --> | |||
{{{info| | {{{info| | ||
'''Titre extrait :''' {{#explode:{{{PageName|}}}|,|0}}<br/> | '''Titre extrait :''' {{#explode:{{{PageName|}}}|,|0}}<br/> | ||
'''URL générée :''' <nowiki> | '''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> | ||
https://api.zotero.org/groups/4893620/items?q={{#urlencode:{{#explode:{{{PageName|}}}|,|0}}}}&qmode=everything&limit=10&include=data&format=json | |||
</nowiki> | |||
{{#get_web_data: | {{#get_web_data: | ||
| Ligne 25 : | Ligne 28 : | ||
{{#if_external_data: | {{#if_external_data: | ||
{| class= | {| class="wikitable sortable" | ||
! Choisir !! Titre !! Date !! Cour !! Lien | ! Choisir !! Titre !! Date !! Cour !! Lien | ||
{{#for_external_table: | {{#for_external_table: | ||
|- | |- | ||
| <input type= | | <input type="radio" name="ZoteroPage[ZoteroKey]" value="{{{key}}}" required="required" /> | ||
| {{{title}}} | | {{{title}}} | ||
| {{{date}}} | | {{{date}}} | ||
| Ligne 36 : | Ligne 39 : | ||
}} | }} | ||
|} | |} | ||
|'''Aucun résultat.''' }} | |'''Aucun résultat Zotero trouvé.''' }} | ||
}}} | }}} | ||
</includeonly> | </includeonly> | ||
Version du 3 juin 2025 à 18:26
Ceci est le formulaire « ZoteroPageCreation ».