m (A protégé « Formulaire:Tutorial » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
(init wikifab pages)
Line 10: Line 10:
 
</div>|
 
</div>|
 
<h1>{{int:wf-formtutorial-main-title}}</h1>
 
<h1>{{int:wf-formtutorial-main-title}}</h1>
{{#forminput:form=Tutorial|button text={{int:wf-formtutorial-main-btn}}|placeholder={{int:wf-formtutorial-main-placeholder}}|}}
+
{{#forminput:form=Tutorial|button text={{int:wf-formtutorial-main-btn}}|placeholder={{int:wf-formtutorial-main-placeholder}}|language selector}}
 
</div>
 
</div>
 
</div>
 
</div>
Line 22: Line 22:
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-main-picture-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-main-picture-tooltip}}}}</span></div>
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-main-picture-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-main-picture-tooltip}}}}</span></div>
 
<div class="msuploadContainer msuploadContainerTall">
 
<div class="msuploadContainer msuploadContainerTall">
{{{field|Main_Picture|uploadable|size=25|class=form-picture|image preview}}}
+
{{{field|Main_Picture|input type=text|uploadable|size=25|class=form-picture ratio4_3|image preview}}}
 
{{{field|Main_Picture_annotation|input type=editableImage|target=Main_Picture}}}
 
{{{field|Main_Picture_annotation|input type=editableImage|target=Main_Picture}}}
 
</div>
 
</div>
Line 39: Line 39:
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-difficulty-field-title}}</span><span class="custom-tooltip">{{#info:<p>'''{{int:wf-formtutorial-difficulty-popup-title1}}''' {{int:wf-formtutorial-difficulty-popup-text1}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title2}}''' {{int:wf-formtutorial-difficulty-popup-text2}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title3}}''' {{int:wf-formtutorial-difficulty-popup-text3}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title4}}''' {{int:wf-formtutorial-difficulty-popup-text4}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title5}}''' {{int:wf-formtutorial-difficulty-popup-text5}}</p>}}</span></div>
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-difficulty-field-title}}</span><span class="custom-tooltip">{{#info:<p>'''{{int:wf-formtutorial-difficulty-popup-title1}}''' {{int:wf-formtutorial-difficulty-popup-text1}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title2}}''' {{int:wf-formtutorial-difficulty-popup-text2}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title3}}''' {{int:wf-formtutorial-difficulty-popup-text3}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title4}}''' {{int:wf-formtutorial-difficulty-popup-text4}}</p><p>'''{{int:wf-formtutorial-difficulty-popup-title5}}''' {{int:wf-formtutorial-difficulty-popup-text5}}</p>}}</span></div>
 
{{{field|Difficulty|input type=dropdown|mandatory|class=WfFormDropdown|mapping using translate=wf-propertyvalue-difficulty-}}}  
 
{{{field|Difficulty|input type=dropdown|mandatory|class=WfFormDropdown|mapping using translate=wf-propertyvalue-difficulty-}}}  
</div>|}}
+
</div>|}}{{#if: {{#ask: [[Dokit:PropertiesList]] [[PropertyDuration::yes]] }} |<div class="col-md-6 col-xs-12">
{{#if: {{#ask: [[Dokit:PropertiesList]] [[PropertyDuration::yes]] }} |<div class="col-md-6 col-xs-12">
 
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-duration-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-duration-popup}}|}}</span></div>
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-duration-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-duration-popup}}|}}</span></div>
 
{{{field|Duration|mandatory|class=WfFormText WfFormTextCombine}}} {{{field|Duration-type|mandatory|input type=dropdown|default=minute(s)|class=WfFormDropdown WfFormDropdownCombine|mapping using translate=wf-propertyvalue-durationtype-}}}  
 
{{{field|Duration|mandatory|class=WfFormText WfFormTextCombine}}} {{{field|Duration-type|mandatory|input type=dropdown|default=minute(s)|class=WfFormDropdown WfFormDropdownCombine|mapping using translate=wf-propertyvalue-durationtype-}}}  
</div>|}}
+
</div>|}}<!-- START DROPDOWN ADMIN PROPERTY LIST --><!--END DROPDOWN ADMIN PROPERTY LIST -->
<!-- START DROPDOWN ADMIN PROPERTY LIST --><!--END DROPDOWN ADMIN PROPERTY LIST -->
 
 
<!-- START TEXT ADMIN PROPERTY LIST --><!--END TEXT ADMIN PROPERTY LIST -->
 
<!-- START TEXT ADMIN PROPERTY LIST --><!--END TEXT ADMIN PROPERTY LIST -->
 
</div>
 
</div>
Line 100: Line 98:
 
{{{for template|ExternalAttachmentsLinks|multiple|maximum instances=10|add button text={{int:wf-formtutorial-file-tabs-btnlink}}|embed in field=Materials[ExternalAttachmentsLinks]}}}{{{field|ExternalAttachmentsLinks|input type=text|class=WfFormTextFullWidth}}}{{{end template}}}
 
{{{for template|ExternalAttachmentsLinks|multiple|maximum instances=10|add button text={{int:wf-formtutorial-file-tabs-btnlink}}|embed in field=Materials[ExternalAttachmentsLinks]}}}{{{field|ExternalAttachmentsLinks|input type=text|class=WfFormTextFullWidth}}}{{{end template}}}
 
{{{for template|Tuto_Attachments|multiple|maximum instances=30|add button text={{int:wf-formtutorial-file-tabs-btnfile}}|embed in field=Materials[Tuto_Attachments]}}}{{{field|Attachment|class=WfFormText|default=|uploadable}}}{{{end template}}}
 
{{{for template|Tuto_Attachments|multiple|maximum instances=30|add button text={{int:wf-formtutorial-file-tabs-btnfile}}|embed in field=Materials[Tuto_Attachments]}}}{{{field|Attachment|class=WfFormText|default=|uploadable}}}{{{end template}}}
<div class="hide-mobile-view multipleTemplateHideButton multipleTemplateSingleEntry dokit-form-EPI">
+
<div class="hide-mobile-view dokit-form-EPI">
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitEPIEnable::yes]] }}|{{{for template|Separator}}}<br>{{{end template}}}<h2>{{int:dokit-epi-title}}</h2>
+
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitEPIEnable::yes]] }}|<h2>{{int:dokit-epi-title}}</h2>
{{{for template|EPI|multiple|maximum instances=1|add button text={{int:dokit-epi-btn}} }}}
+
<div class="dokit-edit-epi-btn"><span data-toggle="collapse" data-target="#accordionEPI">{{int:dokit-epi-btn}}</span></div>
 +
<div id="accordionEPI" class="collapse">
 +
{{{for template|EPI}}}
 
{{{field|EPI|input type=checkboxes|class=WfFormCheckbox|hide select all|mapping using translate=epi-}}}
 
{{{field|EPI|input type=checkboxes|class=WfFormCheckbox|hide select all|mapping using translate=epi-}}}
 
{{{end template}}}|}}
 
{{{end template}}}|}}
 
</div>
 
</div>
{{{for template|Separator}}}<br>{{{end template}}}
+
</div>
 
<h2 class="multipleTemplate-tutostep-title">{{int:wf-formtutorial-steps}}</h2>
 
<h2 class="multipleTemplate-tutostep-title">{{int:wf-formtutorial-steps}}</h2>
 
<div class="multipleTemplate-tutostep">{{{for template|Tuto Step|multiple|minimum instances=1|maximum instances=400|add button text={{int:wf-formtutorial-step-btnaddstep}} }}}
 
<div class="multipleTemplate-tutostep">{{{for template|Tuto Step|multiple|minimum instances=1|maximum instances=400|add button text={{int:wf-formtutorial-step-btnaddstep}} }}}
Line 116: Line 116:
 
<div class="col-sm-6 col-xs-12 col-sm-pull-6">
 
<div class="col-sm-6 col-xs-12 col-sm-pull-6">
 
<div class="col-pic-step msuploadContainer">
 
<div class="col-pic-step msuploadContainer">
{{{field|Step_Picture_00|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_00|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_00_annotation|input type=editableImage|target=Step_Picture_00}}}
 
{{{field|Step_Picture_00_annotation|input type=editableImage|target=Step_Picture_00}}}
{{{field|Step_Picture_01|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_01|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_01_annotation|input type=editableImage|target=Step_Picture_01}}}
 
{{{field|Step_Picture_01_annotation|input type=editableImage|target=Step_Picture_01}}}
{{{field|Step_Picture_02|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_02|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_02_annotation|input type=editableImage|target=Step_Picture_02}}}
 
{{{field|Step_Picture_02_annotation|input type=editableImage|target=Step_Picture_02}}}
{{{field|Step_Picture_03|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_03|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_03_annotation|input type=editableImage|target=Step_Picture_03}}}
 
{{{field|Step_Picture_03_annotation|input type=editableImage|target=Step_Picture_03}}}
{{{field|Step_Picture_04|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_04|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_04_annotation|input type=editableImage|target=Step_Picture_04}}}
 
{{{field|Step_Picture_04_annotation|input type=editableImage|target=Step_Picture_04}}}
{{{field|Step_Picture_05|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{{field|Step_Picture_05|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
 
{{{field|Step_Picture_05_annotation|input type=editableImage|target=Step_Picture_05}}}
 
{{{field|Step_Picture_05_annotation|input type=editableImage|target=Step_Picture_05}}}
 
</div>
 
</div>
Line 133: Line 133:
 
{{{end template}}}</div>
 
{{{end template}}}</div>
 
{{{for template|Notes}}}{{{end template}}}
 
{{{for template|Notes}}}{{{end template}}}
 +
{{{for template|PageLang}}}<div id="language-dropdown">{{{field|Language|input type=dropdown|hidden|class=language-value}}}</div>{{{end template}}}
 
<hr class="WfEndForm hide-mobile-view">
 
<hr class="WfEndForm hide-mobile-view">
 
<div class="saving-menu">{{{standard input|saveDraft}}}
 
<div class="saving-menu">{{{standard input|saveDraft}}}

Revision as of 08:46, 9 July 2019