Formulaire:Item : Différence entre versions

m (A protégé « Formulaire:Item » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
(init wikifab pages)
Ligne 1 : Ligne 1 :
<noinclude>
+
__NOTOC__<noinclude>
{{#ifanon:<div class="alert alert-warning" role="alert"><strong>Oups !</strong> Vous n'avez pas la permission de créer une page car vous n'êtes pas connecté. [[Special:UserLogin/signup|Créer un compte]] ou [[Special:UserLogin|connectez-vous]].</div>|
+
<div class="tutorial-page">
<h1>Ajouter un article</h1>
+
<div class="container">
{{#forminput:form=Item|button text=Créer l'article|namespace=Item|placeholder=Entrez ici le nom de l'article que vous souhaitez créer}}
+
<div class="new-tutorial-page">
 +
{{#ifanon:<div class="alert alert-warning" role="alert">
 +
{{int:wf-formtutorial-alert|[[Special:UserLogin/signup|{{int:wf-formtutorial-alert-createaccount}}]]|[[Special:UserLogin|{{int:wf-formtutorial-alert-login}}]]}}
 +
</div>
 +
</div>
 +
</div>
 +
</div>|
 +
<h1>{{int:dokit-item-tabs-btnlink}}</h1>
 +
{{#forminput:form=Item|button text={{int:dokit-group-create-shortbtn}}|placeholder={{int:dokit-newpage-item-placeholder}}|language selector}}
 +
</div>
 +
</div>
 +
</div>
 
}}
 
}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Ligne 9 : Ligne 20 :
 
<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>
<div class="msuploadContainer msuploadContainerMedium">
+
<div class="msuploadContainer msuploadContainerTall">
{{{field|Main_Picture|size=32|class=form-picture|default=|uploadable|image preview}}}
+
{{{field|Main_Picture|input type=text|size=32|class=form-picture ratio4_3|default=|uploadable|image preview}}}
{{{field|Main_Picture_02|size=32|class=form-picture|default=|uploadable|image preview}}}
 
{{{field|Main_Picture_03|size=32|class=form-picture|default=|uploadable|image preview}}}
 
 
</div>
 
</div>
 
</div>
 
</div>
Ligne 25 : Ligne 34 :
 
<div class="col-md-8 col-xs-12">
 
<div class="col-md-8 col-xs-12">
 
<div class="row">
 
<div class="row">
<div class="col-md-12 col-xs-12">
+
<div class="col-md-12">
 +
<div class="WfFormLabel"><span>SKU</span></div>
 +
{{{field|ItemSku|input type=text|class=WfFormTextFullWidth}}}
 +
</div>
 +
</div>
 +
<div class="row">
 +
<div class="col-md-6 col-xs-12">
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-cost-field-title}}</span></div>
 
<div class="WfFormLabel"><span>{{int:wf-formtutorial-cost-field-title}}</span></div>
 
{{{field|Cost|class=WfFormText WfFormTextCombine}}} {{{field|Currency|input type=dropdown|class=WfFormDropdown WfFormDropdownCombine}}}
 
{{{field|Cost|class=WfFormText WfFormTextCombine}}} {{{field|Currency|input type=dropdown|class=WfFormDropdown WfFormDropdownCombine}}}
 +
</div>
 +
<div class="col-md-6 col-xs-12">
 +
<div class="WfFormLabel"><span>URL</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-URL-tooltip}}}}</span></div>
 +
{{{field|ItemURL|input type=text|class=WfFormTextFullWidth}}}
 
</div>
 
</div>
 
</div>
 
</div>
Ligne 39 : Ligne 58 :
 
</div>
 
</div>
 
{{{end template}}}
 
{{{end template}}}
 +
{{{for template|PageLang}}}<div id="language-dropdown">{{{field|Language|input type=dropdown|hidden|class=language-value}}}</div>{{{end template}}}
 
<hr class="WfEndForm">
 
<hr class="WfEndForm">
 
<div class="saving-menu">{{{standard input|saveDraft}}}
 
<div class="saving-menu">{{{standard input|saveDraft}}}
<span class="status-checkbox">{{int:wf-completetooltip-label}} : {{{for template|Tuto_Status}}}{{{field|Complete|default=Draft|mandatory|input type=dropdown|class=WfFormDropdownLight|mapping using translate=wf-propertyvalue-complete-}}}{{{end template}}}</span><span class="custom-tooltip-light">{{#info:<p>'''{{int:wf-propertyvalue-complete-Published}} :''' {{int:wf-completetooltip-published-description}}</p><p>'''{{int:wf-propertyvalue-complete-Draft}} :''' {{int:wf-completetooltip-draft-description}}</p>}}</span><span class="display-none">{{{standard input|watch}}}</span>{{{standard input|cancel}}}{{{standard input|save}}}<span id="loaderSave"><i class="fa fa-spinner fa-pulse fa-2x fa-fw "></i></span>
+
<span class="display-none">{{{standard input|watch}}}</span>{{{standard input|save}}}<span id="loaderSave"><i class="fa fa-spinner fa-pulse fa-2x fa-fw "></i></span>{{{standard input|cancel}}}<div class="status-checkbox-container"><span class="status-checkbox-label">{{int:wf-completetooltip-label}}</span><span class="status-checkbox">{{{for template|Tuto_Status}}}{{{field|Complete|default=Draft|mandatory|input type=dropdown|class=WfFormDropdownLight|mapping using translate=wf-propertyvalue-complete-}}}{{{end template}}}</span><span class="custom-tooltip-light">{{#info:<p>'''{{int:wf-propertyvalue-complete-Published}} :''' {{int:wf-completetooltip-published-description}}</p><p>'''{{int:wf-propertyvalue-complete-Draft}} :''' {{int:wf-completetooltip-draft-description}}</p>}}</span></div>
 
</div>
 
</div>

Version du 9 octobre 2019 à 10:53