{"id":942,"date":"2023-03-22T08:49:52","date_gmt":"2023-03-22T08:49:52","guid":{"rendered":"https:\/\/datacrow.org\/?post_type=docs&#038;p=942"},"modified":"2026-12-03T17:15:07","modified_gmt":"2026-12-03T17:15:07","password":"","slug":"modeles-darticles","status":"publish","type":"docs","link":"https:\/\/datacrow.org\/fr\/docs\/item-templates\/","title":{"rendered":"Mod\u00e8les d'articles"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><em>Menu Path: Maintain &gt; Maintain (module) Templates<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Templates can be maintained by users who are allowed to change the items of the module. A template shows and allows only the fields which the user may edit.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In case you want to assign certain default values to newly created items you can define these values in a template. The template functionality can be found in the &#8220;Maintain&#8221; menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"538\" height=\"200\" src=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-list.png\" alt=\"List of templates\" class=\"wp-image-2709\" srcset=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-list.png 538w, https:\/\/datacrow.org\/wp-content\/uploads\/help-template-list-300x112.png 300w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Press the + button to create a new template. The <a href=\"https:\/\/datacrow.org\/fr\/documents\/la-fiche-de-poste\/\">fiche de poste<\/a> est ouvert.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"851\" height=\"215\" src=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-form.png\" alt=\"Template Properties tab\" class=\"wp-image-2710\" srcset=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-form.png 851w, https:\/\/datacrow.org\/wp-content\/uploads\/help-template-form-300x76.png 300w, https:\/\/datacrow.org\/wp-content\/uploads\/help-template-form-768x194.png 768w\" sizes=\"(max-width: 851px) 100vw, 851px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ll notice the item form is just the same as for a normal item with exception of the &#8220;default&#8221; and the &#8220;template name&#8221; field. The template name pretty much speaks for itself. The name field is always required to be filled and the name needs to be unique. Fill the values you want to be assigned to items using this template and press the Save button (the disk). The template is ready to be used!<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Mod\u00e8le par d\u00e9faut<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Un mod\u00e8le marqu\u00e9 comme mod\u00e8le par d\u00e9faut est <strong>toujours utilis\u00e9<\/strong> pour cr\u00e9er un nouvel \u00e9l\u00e9ment. Il peut y avoir z\u00e9ro ou un mod\u00e8le par d\u00e9faut.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Utilisation de mod\u00e8les autres que ceux par d\u00e9faut<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">A default template is always used, but what if you want to use another template? When you create a new item, the form has a drop down with the templates at the top. The default template is selected. Choose another template and its values are filled in.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"608\" height=\"315\" src=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-menu.png\" alt=\"Templates in the Add menu\" class=\"wp-image-2712\" srcset=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-menu.png 608w, https:\/\/datacrow.org\/wp-content\/uploads\/help-template-menu-300x155.png 300w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can also go to the Add menu and open the New item sub-menu. This sub-menu contains all defined templates. Select one of the templates to create a new item using this template.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Suppression d'un mod\u00e8le<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">S\u00e9lectionnez un mod\u00e8le dans la liste, faites un clic droit et s\u00e9lectionnez \"supprimer\" dans le menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"536\" height=\"232\" src=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-delete.png\" alt=\"Delete in the right-click menu\" class=\"wp-image-2711\" srcset=\"https:\/\/datacrow.org\/wp-content\/uploads\/help-template-delete.png 536w, https:\/\/datacrow.org\/wp-content\/uploads\/help-template-delete-300x130.png 300w\" sizes=\"(max-width: 536px) 100vw, 536px\" \/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">Mise \u00e0 jour d'un mod\u00e8le<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">Double-click an item in the list to open it. Modify the values, the default setting or the template name and press the Save button.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Templates can be maintained in the web client too, see <a href=\"https:\/\/datacrow.org\/fr\/documents\/web-client-templates\/\">Mod\u00e8les (client Web)<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Menu Path: Maintain &gt; Maintain (module) Templates Templates can be maintained by users who are allowed to change the items of the module. A template&hellip;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_customify_content_layout":"","_customify_sidebar":"","_customify_page_header_display":"default","_customify_disable_header":"","_customify_disable_header_top":"","_customify_disable_header_main":"","_customify_disable_header_bottom":"","_customify_disable_page_title":"","_customify_disable_content_vertical_padding":"","_customify_disable_footer_top":"","_customify_disable_footer_main":"","_customify_disable_footer_bottom":"","_customify_breadcrumb_display":"default","_customify_header_transparent_display":"","footnotes":""},"doc_category":[11],"doc_tag":[],"class_list":["post-942","docs","type-docs","status-publish","hentry","doc_category-maintaining-items"],"year_month":"2026-12","word_count":320,"total_views":"95","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Robert Jan","author_nicename":"infodatacrow-org","author_url":"https:\/\/datacrow.org\/fr\/author\/infodatacrow-org\/"},"doc_category_info":[{"term_name":"Creating Items","term_url":"https:\/\/datacrow.org\/fr\/docs-category\/maintaining-items\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/docs\/942","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/comments?post=942"}],"version-history":[{"count":7,"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/docs\/942\/revisions"}],"predecessor-version":[{"id":2714,"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/docs\/942\/revisions\/2714"}],"wp:attachment":[{"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/media?parent=942"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/doc_category?post=942"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/datacrow.org\/fr\/wp-json\/wp\/v2\/doc_tag?post=942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}