(init wikifab pages)
 
(init wikifab pages)
 
(2 intermediate revisions by one other user not shown)
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 79: Line 77:
 
<div class="Input-tabs hide-mobile-view">
 
<div class="Input-tabs hide-mobile-view">
 
{{#tag:tabber|
 
{{#tag:tabber|
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}| {{int:dokit-item-tabs-title}}=<div class="file-subtitle"><span>{{int:dokit-item-tabs-subtitle}}</span><span class="custom-tooltip">{{#info:{{int:dokit-item-tabs-subtitle-tooltip|[[Form:Item|{{int:dokit-item-tabs-subtitle-tooltip-link}}]]}}}}</span></div>
+
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}| {{int:dokit-item-tabs-title}}=<div class="file-subtitle"><span>{{int:dokit-item-tabs-subtitle-tooltip|<span class="newwin">[[Form:Item|{{int:dokit-item-tabs-subtitle-tooltip-link}}]]</span>}}</span></div>
 
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
 
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
 
{{!}}-{{!}}|}}
 
{{!}}-{{!}}|}}
Line 87: Line 85:
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option1}}</div>
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option1}}</div>
<div class="add-attachments add-attachments-upload">{{{field|Tuto_Attachments|holds template}}}</div></div>
+
<div class="add-attachments add-attachments-upload simplePMG">{{{field|Tuto_Attachments|holds template}}}</div></div>
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="col-md-6 col-sm-6 col-xs-12 box-file-form">
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option2}}</div>
 
<div class="file-subtitle">{{int:wf-formtutorial-file-tabs-option2}}</div>
Line 97: Line 95:
 
{{{end template}}}
 
{{{end template}}}
 
{{{for template|ItemList|multiple|maximum instances=100|add button text={{int:dokit-item-tabs-btnlink}}|embed in field=Materials[ItemList]}}}{{{field|Item|input type=combobox|existing values only|placeholder={{int:dokit-item-tabs-placeholder}}|values from namespace=Item}}}{{{end template}}}
 
{{{for template|ItemList|multiple|maximum instances=100|add button text={{int:dokit-item-tabs-btnlink}}|embed in field=Materials[ItemList]}}}{{{field|Item|input type=combobox|existing values only|placeholder={{int:dokit-item-tabs-placeholder}}|values from namespace=Item}}}{{{end template}}}
{{{for template|Prerequisites|multiple|maximum instances=20|add button text={{int:wf-prerequisites-tabs-btnlink}}|embed in field=Materials[Prerequisites]}}}{{{field|Prerequisites|input type=combobox|existing values only|placeholder={{int:wf-prerequisites-tabs-placeholder}}|values from category=Tutorials}}}{{{end template}}}
+
{{{for template|Prerequisites|multiple|maximum instances=20|add button text={{int:wf-prerequisites-tabs-btnlink}}|embed in field=Materials[Prerequisites]}}}{{{field|Prerequisites|input type=combobox|existing values only|placeholder={{int:wf-prerequisites-tabs-placeholder}}|values from concept=QueryTutorials}}}{{{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|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 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}}}

Latest revision as of 12:39, 13 January 2020