Difference between revisions of "Form:Item"

(init wikifab pages)
(init wikifab pages)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 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|namespace=Item|button text={{int:dokit-group-create-shortbtn}}|placeholder={{int:dokit-newpage-item-placeholder}}|language selector}}
 +
</div>
 +
</div>
 +
</div>
 
}}
 
}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
Line 9: Line 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>
 
<div class="col-md-8 col-sm-8 col-xs-12">
 
<div class="col-md-8 col-sm-8 col-xs-12">
 
<div class="WfFormLabel">{{int:wf-formtutorial-description-field-title}}</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>{{{field|Description|input type=textarea|mandatory|rows=2|maxlength=4000|class=WfFormTextarea|placeholder={{int:wf-formtutorial-description-field-placeholder}}|}}}</div>
 
<div class="row">
 
<div class="row">
 
<div class="col-md-4 col-xs-12">
 
<div class="col-md-4 col-xs-12">
Line 46: Line 55:
 
<div>
 
<div>
 
<h2>{{int:wf-item-longdescription}}</h2>
 
<h2>{{int:wf-item-longdescription}}</h2>
{{{field|ItemLongDescription|input type=textarea|translatable|rows=10|maxlength=10000|class=form-textarea}}}
+
{{{field|ItemLongDescription|input type=textarea|rows=10|maxlength=10000|class=form-textarea}}}
 
</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">
+
<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}}} {{{standard input|saveDraft}}}</span>{{{standard input|cancel}}}{{{standard input|save and continue}}}{{{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>

Latest revision as of 16:09, 4 March 2022