Formulaire:Tutoriel : Différence entre versions

Ligne 3 : Ligne 3 :
 
<div class="container">
 
<div class="container">
 
<div class="new-tutorial-page">
 
<div class="new-tutorial-page">
 +
{{#ifanon:<div class="alert alert-warning" role="alert"><strong>Oups!</strong> You do not have permission to create a tutorial because your are not log in. To create a tutorial, [[Special:UserLogin/signup|create an account]] or [[Special:UserLogin|log in]].</div>
 +
</div>
 +
</div>
 +
</div>|
 
<h1>Créer un tutoriel</h1>
 
<h1>Créer un tutoriel</h1>
 
{{#forminput:form=Tutoriel|button text=Créer ou modifier|placeholder=Entrez ici le nom du tutoriel que vous souhaitez créer}}
 
{{#forminput:form=Tutoriel|button text=Créer ou modifier|placeholder=Entrez ici le nom du tutoriel que vous souhaitez créer}}
Ligne 34 : Ligne 38 :
 
</div>
 
</div>
 
</div>
 
</div>
 +
}}
 
</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>
Ligne 69 : Ligne 74 :
 
{{{field|Main_Picture|default=|uploadable|size=25|class=form-picture|image preview}}}
 
{{{field|Main_Picture|default=|uploadable|size=25|class=form-picture|image preview}}}
 
{{{end template}}}
 
{{{end template}}}
</div>
 
</div>
 
<div class="row add-attachments">
 
<div class="col-md-8 col-sm-8 col-xs-12"><div class="row table-edit-form"><div class="col-md-2 col-sm-2 col-xs-12 edit-form-title">Pièces jointes</div>
 
<div class="col-md-10 col-sm-10 col-xs-12">{{{for template|Tuto Attachments|multiple|minimum instances=0|maximum instances=20|add button text=+ Ajouter un fichier}}}
 
{{{field|attachment|default=|uploadable|size=25}}}{{{end template}}}
 
</div>
 
</div>
 
<div class="col-md-4 col-sm-4 col-xs-0">
 
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
Ligne 86 : Ligne 81 :
 
{{{field|Introduction|input type=textarea|rows=5|maxlength=10000|class=form-textarea|placeholder=Vous pouvez utiliser ce champ libre pour décrire votre projet dans le détail (vos essais, le contexte, etc.)}}}
 
{{{field|Introduction|input type=textarea|rows=5|maxlength=10000|class=form-textarea|placeholder=Vous pouvez utiliser ce champ libre pour décrire votre projet dans le détail (vos essais, le contexte, etc.)}}}
 
{{{end template}}}
 
{{{end template}}}
<div class="bg-halfsquare-separator-2"></div>
+
{{{for template|Materials}}}
{{{for template|Separator}}}<br>{{{end template}}}
+
<div class="Input-tabs">
 +
<tabber>
 +
Outils & Matériaux=
 
<div class="material-tool-list row">
 
<div class="material-tool-list row">
<div class="col-md-11 col-sm-11 col-xs-12">
+
<div class="col-md-6 col-sm-6 col-xs-12"><div class="edit-step-title">Liste des matériaux</div>
<div class="row">
 
<div class="col-md-6 col-sm-6 col-xs-12">{{{for template|Materials}}}<div class="edit-step-title">Liste des matériaux</div>
 
 
{{{field|Material|input type=textarea|rows=8|placeholder=Listez les matériaux nécessaires à la réalisation de votre tutoriel.  
 
{{{field|Material|input type=textarea|rows=8|placeholder=Listez les matériaux nécessaires à la réalisation de votre tutoriel.  
 
Privilégiez les puces (bullet points). Pour activer une puce, entrez le symbole étoile (*) au début de chaque ligne.
 
Privilégiez les puces (bullet points). Pour activer une puce, entrez le symbole étoile (*) au début de chaque ligne.
Ligne 120 : Ligne 115 :
 
</div>
 
</div>
 
</div>
 
</div>
 +
|-|
 +
Files=
 +
<div class="alert alert-info" role="alert">Host your files on a dedicated file management platform (like Github or Bitbucket) and add the link below, or upload them on Wikifab.</div>
 +
<div class="file-subtitle">Add link(s) to external file management platform <span class="label label-info">Recommended</span> :</div>
 +
<div class="add-attachments">{{{field|ExternalAttachmentsLinks|holds template}}}</div>
 +
<hr>
 +
<div class="file-subtitle">Upload files:</div>
 +
<div class="add-attachments add-attachments-upload">{{{field|Tuto_Attachments|holds template}}}</div>
 +
</tabber>
 
</div>
 
</div>
<div class="col-md-1 col-sm-1 col-xs-0"></div>
+
{{{end template}}}
</div>
+
{{{for template|ExternalAttachmentsLinks|multiple|maximum instances=10|add button text=+ Add a link|embed in field=Materials[ExternalAttachmentsLinks]}}}{{{field|ExternalAttachmentsLinks|input type=text}}}{{{end template}}}
 +
{{{for template|Tuto_Attachments|multiple|maximum instances=30|add button text=+ Add a file|embed in field=Materials[Tuto_Attachments]}}}{{{field|Attachment|default=|uploadable}}}{{{end template}}}
 
<div class="bg-halfsquare-separator-2"></div>
 
<div class="bg-halfsquare-separator-2"></div>
 
{{{for template|Separator}}}<br>{{{end template}}}
 
{{{for template|Separator}}}<br>{{{end template}}}

Version du 7 avril 2016 à 11:00