Difference between revisions of "Form:WikiPage"

(init wikifab pages)
Line 23: Line 23:
 
{{{field|Main_Picture_annotation|input type=editableImage|target=Main_Picture}}}
 
{{{field|Main_Picture_annotation|input type=editableImage|target=Main_Picture}}}
 
</div>
 
</div>
<div class="WikiPageEditType">
+
<div class="WfFormLabel">{{int:wf-formtutorial-area-field-title}}</div>
<span class="WikiPageEditTitle custom-tooltip">Type(s) {{#info:<p>'''Création''' : votre tutoriel concerne un objet à créer (ex : Fabriquer un drone)</p><p>'''Technique''' : votre tutoriel concerne une technique à apprendre (ex : Utiliser une machine à coudre)</p>}}</span>{{{field|Type|mandatory|class=form-dropdown}}}</div>
+
<div class="WikiPageEditList">{{{field|Area|mandatory|hide select all|class=WikiPageCheckbox}}}</div>
<div class="WikiPageEditTitle">Catégories</div>
+
<div class="WikiPageEditPageSource">
<div class="WikiPageEditList">{{{field|Area|mandatory|class=WikiPageCheckbox}}}</div>
+
<div class="WfFormLabel">{{int:wf-formtutorial-pagesource-title}}<span class="custom-tooltip">{{#info:{{int:wf-formtutorial-pagesource-popup}}}}</span></div>
<div class="WikiPageEditTitle">Description</div>
+
{{{field|PageSource|input type=text with autocomplete|values from namespace=Main|class=PageSourceInput WfFormTextFullWidth}}}
<div class="WikiPageEditList">{{{field|Description|input type=textarea|mandatory|rows=3|maxlength=4000|class=form-textarea|placeholder=Décrivez l'objet du tutoriel en quelques lignes}}}</div>
+
</div>
 +
<div class="WikiPageEditPageLang">
 +
<div class="WfFormLabel">{{int:wf-formtutorial-language-title}}<span class="custom-tooltip">{{#info:{{int:wf-formtutorial-language-popup}}}}</span></div>
 +
{{{field|Language|input type=dropdownmandatory|class=WfFormDropdown|default={{PAGELANGUAGE}}|}}}
 +
</div>
 
</div>
 
</div>
 
<div class="col-md-9 col-sm-9 col-xs-12 WikiPageEditContent">
 
<div class="col-md-9 col-sm-9 col-xs-12 WikiPageEditContent">
{{{field|WikiPageContent|input type=textarea|class=form-textarea}}}
+
{{{field|WikiPageContent|input type=textarea|class=form-textarea toolbarOnTop}}}
 
<div class="WikiPageEditTags">
 
<div class="WikiPageEditTags">
<span class="WikiPageEditTitle custom-tooltip">Mot(s)-clé(s) {{#info:Entrez 4 à 5 mots clés pour décrire votre tutoriel (séparez chaque mot clé par une virgule).}}</span>{{{field|Tags|class=form-tokens|input type=tokens|size=}}}
+
<div class="WfFormLabel"><span>{{int:wf-formtutorial-tags-field-title}}</span><span class="custom-tooltip">{{#info:{{int:wf-formtutorial-tags-popup}}|}}</span></div>
 +
<div class="WfFormTokensParent">{{{field|Tags|placeholder={{int:wf-formtutorial-tag-field-tooltip}}|class=WfFormTokens|input type=tokens|size=}}}</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
{{{end template}}}
 
{{{end template}}}
<div class="saving-menu">{{{standard input|save}}} {{{standard input|save and continue}}} {{{standard input|cancel}}} {{{standard input|watch}}} <span class="status-checkbox">{{{for template|Tuto_Status}}}{{{field|Complete}}}{{{end template}}}</span></div>
+
<hr class="WfEndForm">
 +
<div class="saving-menu">
 +
{{{standard input|watch}}}<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|saveDraft}}}</span>{{{standard input|cancel}}}{{{standard input|save and continue}}}{{{standard input|save}}}
 +
</div>

Revision as of 12:20, 23 March 2018