Difference between revisions of "Form:WikiPage"

m (A protégé « Formulaire:WikiPage » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
 
(8 intermediate revisions by 3 users not shown)
Line 16: Line 16:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<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>
 +
<div class="display-none">
 +
{{{for template|Version}}}
 +
{{{field|SourceVersion|input type=text|default={{PAGENAME}} }}}
 +
{{{field|IsMasterVersion|input type=text|default=1}}}
 +
{{{end template}}}
 +
</div>
 
{{{for template|WikiPage}}}
 
{{{for template|WikiPage}}}
 
<div class="row">
 
<div class="row">
 
<div class="col-md-3">
 
<div class="col-md-3">
<div class="msuploadContainer">
+
<div class="msuploadContainer msuploadContainerTall">
 
{{{field|Main_Picture|uploadable|size=25|class=form-picture|image preview}}}
 
{{{field|Main_Picture|uploadable|size=25|class=form-picture|image preview}}}
 
{{{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-description-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>{{{field|Description|input type=textarea|mandatory|translatable|rows=2|maxlength=3000|class=WfFormTextarea}}}</div>
<div class="WikiPageEditTitle">Produit(s)</div>
+
<div class="WfFormLabel">{{int:wf-formtutorial-area-field-title}}</div>
<div class="WikiPageEditList">{{{field|Produit|mandatory|class=WikiPageCheckbox}}}</div>
+
<div class="WikiPageEditList">{{{field|Area|mandatory|hide select all|class=WikiPageCheckbox|mapping using translate=wf-propertyvalue-area-}}}</div>
<div class="WikiPageEditTitle">Catégories</div>
+
<div class="WfFormLabel">{{int:wf-categoryname-business}}</div>
<div class="WikiPageEditList">{{{field|Area|mandatory|class=WikiPageCheckbox}}}</div>
+
<div class="WikiPageEditList">{{{field|Business|input type=dropdown|mandatory|class=WfFormDropdown|mapping using translate=wf-propertyvalue-business-}}}</div>
 +
<div class="WikiPageEditPageSource">
 +
<div class="WfFormLabel">{{int:wf-formtutorial-pagesource-title}}<span class="custom-tooltip">{{#info:{{int:wf-formtutorial-pagesource-popup}}}}</span></div>
 +
{{{field|PageSource|input type=text with autocomplete|values from namespace=Main|class=PageSourceInput WfFormTextFullWidth}}}
 +
</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 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|saveDraft}}}
 +
<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>

Latest revision as of 10:25, 20 November 2018