(init wikifab pages)
 
Line 49: Line 49:
 
<div class="col-md-6 col-xs-12">
 
<div class="col-md-6 col-xs-12">
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-type-field-title}}</span><span class="custom-tooltip">{{#info:<p>'''{{int:wf-formtutorial-type-creation}}''' : {{int:wf-formtutorial-type-popup-creation}}</p> <p>'''{{int:wf-formtutorial-type-technique}}''' : {{int:wf-formtutorial-type-popup-technique}}</p>}}</span></div>
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-type-field-title}}</span><span class="custom-tooltip">{{#info:<p>'''{{int:wf-formtutorial-type-creation}}''' : {{int:wf-formtutorial-type-popup-creation}}</p> <p>'''{{int:wf-formtutorial-type-technique}}''' : {{int:wf-formtutorial-type-popup-technique}}</p>}}</span></div>
{{{field|Type|mandatory|class=WfFormDropdown|mapping using translate=wf-propertyvalue-type-}}}
+
{{{field|Type|mandatory|class=WfFormDropdown}}}
 
<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-}}}  
Line 92: Line 92:
 
<div class="Input-tabs hide-mobile-view">
 
<div class="Input-tabs hide-mobile-view">
 
{{#tag:tabber|
 
{{#tag:tabber|
{{int:wf-formtutorial-tools-materials-tabs-title}} =
+
{{#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="material-tool-list row">
+
<div class="prerequisites-selection">{{{field|ItemList|holds template}}}</div>
<div class="col-md-6 col-sm-6 col-xs-12">
+
{{!}}-{{!}}|}}
<div class="col-pic-materials msuploadContainer msuploadmultiplewhitebg">
 
{{{field|Step_Picture_00|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{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_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_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_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_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_annotation|input type=editableImage|target=Step_Picture_05}}}
 
</div>
 
</div>
 
<div class="col-md-6 col-sm-6 col-xs-12">
 
<div class="edit-step-title">{{int:wf-formtutorial-materials-tabs-title}}</div>
 
{{{field|Material|input type=textarea|class=form-textarea|translatable|rows=8}}}
 
<br>
 
<div class="edit-step-title">{{int:wf-formtutorial-tools-tabs-title}}</div>
 
{{{field|Tools|input type=textarea|class=form-textarea|translatable|rows=8}}}
 
</div>
 
</div>
 
{{!}}-{{!}}
 
 
  {{int:wf-prerequisites-tabs-title}} =<div class="file-subtitle">{{int:wf-prerequisites-tabs-subtitle}}</div><div class="prerequisites-selection">{{{field|Prerequisites|holds template}}}</div>
 
  {{int:wf-prerequisites-tabs-title}} =<div class="file-subtitle">{{int:wf-prerequisites-tabs-subtitle}}</div><div class="prerequisites-selection">{{{field|Prerequisites|holds template}}}</div>
 
{{!}}-{{!}}
 
{{!}}-{{!}}
Line 133: Line 109:
 
</div>
 
</div>
 
{{{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|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 category=Tutorials}}}{{{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}}}

Latest revision as of 14:35, 13 July 2020