Difference between revisions of "Form:DokitPage"

m (A protégé « Formulaire:DokitPage » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
(init wikifab pages)
Line 18: Line 18:
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
{{{for template|Tuto Details}}}
 
{{{for template|Tuto Details}}}
{{{field|DokitPageEnableDetails|input type=checkboxes|mapping using translate=wf-propertyvalue-DokitPageEnableDetails-|show on select=yes=>dokitpage-template-enabledetails}}}
+
<div class="row">
<div class="row" id="dokitpage-template-enabledetails">
 
 
<div class="col-md-4 col-sm-4 col-xs-12 col-pic-detail">
 
<div class="col-md-4 col-sm-4 col-xs-12 col-pic-detail">
 
<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>
Line 31: Line 30:
 
<div class="col-md-12">
 
<div class="col-md-12">
 
<div class="WfFormLabel">{{int:wf-formtutorial-description-field-title}}</div><div>{{{field|Description|input type=textarea|mandatory|translatable|rows=2|maxlength=4000|class=WfFormTextarea|placeholder={{int:wf-formtutorial-description-field-placeholder}}|}}}</div>
 
<div class="WfFormLabel">{{int:wf-formtutorial-description-field-title}}</div><div>{{{field|Description|input type=textarea|mandatory|translatable|rows=2|maxlength=4000|class=WfFormTextarea|placeholder={{int:wf-formtutorial-description-field-placeholder}}|}}}</div>
 +
<div class="WfFormLabel">{{int:dokit-formgroup-fieldname-categories}}</div>
 +
<div class="WfFormTree">{{{field|Categories|input type=tree|top category=Categories|height=86|width=100%|hideroot|list}}}</div>
 
<!-- START CHECKBOX ADMIN PROPERTY LIST --><!--END CHECKBOX ADMIN PROPERTY LIST -->
 
<!-- START CHECKBOX ADMIN PROPERTY LIST --><!--END CHECKBOX ADMIN PROPERTY LIST -->
 
</div>
 
</div>
 
</div>
 
</div>
 
<div class="row">
 
<div class="row">
{{#if: {{#ask: [[Dokit:PropertiesList]] [[PropertyDifficulty::yes]] }} |<div class="col-md-6 col-xs-12">
 
<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-}}}
 
</div>|}}
 
{{#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>
 
{{{field|Duration|mandatory|class=WfFormText WfFormTextCombine}}} {{{field|Duration-type|mandatory|input type=dropdown|class=WfFormDropdown WfFormDropdownCombine|mapping using translate=wf-propertyvalue-durationtype-}}}
 
</div>|}}
 
 
<!-- START DROPDOWN ADMIN PROPERTY LIST --><!--END DROPDOWN ADMIN PROPERTY LIST -->
 
<!-- START DROPDOWN ADMIN PROPERTY LIST --><!--END DROPDOWN ADMIN PROPERTY LIST -->
 
</div>
 
</div>
Line 52: Line 45:
 
<div class="hrContentMinor-2"></div>
 
<div class="hrContentMinor-2"></div>
 
<div class="multipleTemplate-dokitstep">{{{for template|DokitPageStep|multiple|maximum instances=400|add button text=+ }}}
 
<div class="multipleTemplate-dokitstep">{{{for template|DokitPageStep|multiple|maximum instances=400|add button text=+ }}}
<div class="dokit-sos-radio">{{{field|StepType|input type=radiobutton|show on select=Media=>dokitpage-template-media;Video=>dokitpage-template-video;Title=>dokitpage-template-title;VeText=>dokitpage-template-vetext;File=>dokitpage-template-file;Transclude=>dokitpage-template-transclude;Wikitext=>dokitpage-template-wikitext;Space=>dokitpage-template-space;StepLeft=>dokitpage-stepleft;StepRight=>dokitpage-stepright;Warning=>dokitpage-template-warning;}}}</div>
+
<div class="dokit-sos-radio">{{{field|StepType|input type=radiobutton|mapping using translate=dokitpage-property-|show on select=Media=>dokitpage-template-media;Video=>dokitpage-template-video;Title=>dokitpage-template-title;VeText=>dokitpage-template-vetext;File=>dokitpage-template-file;Transclude=>dokitpage-template-transclude;Wikitext=>dokitpage-template-wikitext;Space=>dokitpage-template-space;StepLeft=>dokitpage-stepleft;StepRight=>dokitpage-stepright;Warning=>dokitpage-template-warning;}}}</div>
<div id="dokitpage-template-title">{{{field|DokitPageTitleType|input type=dropdown|mandatory|default=H1|class=WfFormDropdown WfFormDropdownCombineLeft}}} {{{field|DokitPageTitle|input type=text|class=WfFormText WfFormTextCombineLeft}}}</div>
+
<div id="dokitpage-template-title">{{{field|DokitPageTitleType|input type=dropdown|mandatory|default=H1|class=WfFormDropdown WfFormDropdownCombineLeft}}} {{{field|DokitPageTitle|translatable|input type=text|class=WfFormText WfFormTextCombineLeft}}}</div>
<div id="dokitpage-template-warning">{{{field|DokitPageWarningType|input type=dropdown|mandatory|default=Info|class=WfFormDropdown WfFormDropdownCombineLeft}}} {{{field|DokitPageWarning|input type=text|class=WfFormText WfFormTextCombineLeft}}}</div>
+
<div id="dokitpage-template-warning">{{{field|DokitPageWarningType|input type=dropdown|mandatory|default=Info|class=WfFormDropdown WfFormDropdownCombineLeft}}} {{{field|DokitPageWarning|translatable|input type=text|class=WfFormText WfFormTextCombineLeft}}}</div>
<div id="dokitpage-template-vetext">{{{field|DokitPageVeText|input type=textarea|translatable|rows=16|class=form-textarea}}}</div>
+
<div id="dokitpage-template-vetext">
 +
{{{field|DokitPageVeColumns|default=OneColumnVe|mapping using translate=dokitpage-property-|class=WfFormDropdown WfFormDropdownAutoWidth|mandatory|show on select=OneColumnVe=>dokitpage-template-ve1;TwoColumnsVe=>dokitpage-template-ve2;ThreeColumnsVe=>dokitpage-template-ve3;FourColumnsVe=>dokitpage-template-ve4;}}}
 +
<div class="row" id="dokitpage-template-ve1">
 +
<div class="col-md-12">
 +
{{{field|DokitPageVeText11|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
</div>
 +
<div class="row" id="dokitpage-template-ve2">
 +
<div class="col-md-6">
 +
{{{field|DokitPageVeText21|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
<div class="col-md-6">
 +
{{{field|DokitPageVeText22|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
</div>
 +
<div class="row" id="dokitpage-template-ve3">
 +
<div class="col-md-4">
 +
{{{field|DokitPageVeText31|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
<div class="col-md-4">
 +
{{{field|DokitPageVeText32|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
<div class="col-md-4">
 +
{{{field|DokitPageVeText33|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
</div>
 +
<div class="row" id="dokitpage-template-ve4">
 +
<div class="col-md-3">
 +
{{{field|DokitPageVeText41|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
<div class="col-md-3">
 +
{{{field|DokitPageVeText42|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
<div class="col-md-3">
 +
{{{field|DokitPageVeText43|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
<div class="col-md-3">
 +
{{{field|DokitPageVeText43|input type=textarea|translatable|rows=16|class=form-textarea}}}
 +
</div>
 +
</div>
 +
</div>
 
<div id="dokitpage-template-media">
 
<div id="dokitpage-template-media">
{{{field|DokitPageImageColumns|default=OneColumn|class=WfFormDropdown WfFormDropdownAutoWidth|mandatory|show on select=OneColumn=>dokitpage-template-image1;TwoColumns=>dokitpage-template-image2;ThreeColumns=>dokitpage-template-image3;FourColumns=>dokitpage-template-image4;}}}
+
{{{field|DokitPageImageColumns|default=OneColumn|mapping using translate=dokitpage-property-|class=WfFormDropdown WfFormDropdownAutoWidth|mandatory|show on select=OneColumn=>dokitpage-template-image1;TwoColumns=>dokitpage-template-image2;ThreeColumns=>dokitpage-template-image3;FourColumns=>dokitpage-template-image4;}}}
 +
{{{field|DokitPageImageWidth|input type=checkboxes|mapping using translate=dokitpage-enablewidth-}}}
 
<div class="row" id="dokitpage-template-image1">
 
<div class="row" id="dokitpage-template-image1">
 
<div class="col-md-12">
 
<div class="col-md-12">
Line 167: Line 201:
 
<div id="dokitpage-template-transclude">{{{field|DokitPageTransclude|input type=combobox|existing values only|values from namespace=Main}}}</div>
 
<div id="dokitpage-template-transclude">{{{field|DokitPageTransclude|input type=combobox|existing values only|values from namespace=Main}}}</div>
 
<div id="dokitpage-template-wikitext">{{{field|DokitPageWikitext|input type=textarea|translatable|rows=5}}}</div>
 
<div id="dokitpage-template-wikitext">{{{field|DokitPageWikitext|input type=textarea|translatable|rows=5}}}</div>
<div id="dokitpage-template-space"><label>{{int:dokit-space-label}}</label> {{{field|DokitPageSpace|input type=dropdown|mandatory|class=WfFormDropdown WfFormDropdownAutoWidth}}}</div>
+
<div id="dokitpage-template-space"><span class="WfFormlabel">{{int:dokit-space-label}}</span> {{{field|DokitPageSpace|input type=dropdown|mandatory|class=WfFormDropdown WfFormDropdownAutoWidth}}}</div>
 
{{{end template}}}</div>
 
{{{end template}}}</div>
 
<hr class="WfEndForm hide-mobile-view">
 
<hr class="WfEndForm hide-mobile-view">

Revision as of 17:01, 28 November 2018