Difference between revisions of "Form:CreateProperties"

m (A protégé « Formulaire:CreateProperties » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
(init wikifab pages)
Line 8: Line 8:
 
<h2>Add properties</h2>
 
<h2>Add properties</h2>
 
{{{for template|PropertiesList|multiple|maximum instances=10}}}
 
{{{for template|PropertiesList|multiple|maximum instances=10}}}
<div class="DokitPropertiesBlockForm">
+
<div class="DokitPropertiesBlockForm"><div class="WfFormLabel">Title</div>
<div class="WfFormLabel">Title</div>
 
 
<div class="row">
 
<div class="row">
 
<div class="col-md-2">EN</div>
 
<div class="col-md-2">EN</div>
Line 26: Line 25:
 
<div class="col-md-2">{{{field|PropertyTitlePT|input type=text|class=WfFormText WfFormTextFullWidth}}}</div>
 
<div class="col-md-2">{{{field|PropertyTitlePT|input type=text|class=WfFormText WfFormTextFullWidth}}}</div>
 
</div>
 
</div>
<div class="WfFormLabel">Type</div>
+
<div class="row">
<div>{{{field|PropertyType|input type=dropdown|mandatory}}}</div>
+
<div class="col-md-6">
<div class="WfFormLabel">Icon</div>
+
<div class="WfFormLabel">Type <span class="custom-tooltip">{{#info:'''Dropdown :''' L'utilisateur doit choisir une valeur parmi une liste donnée<br>'''Checkboxes :''' L'utilisateur peut choisir plusieurs valeures parmi une liste donnée<br>'''Text :''' L'utilisateur peut saisir un texte libre}}</span></div>
<div>{{{field|PropertyIcon|input type=text|mandatory|placeholder=ie: Fa-Tag}}} {{#info:Entrez ici l'ID d'une icon Fontawesome : https://fontawesome.com/v4.7.0/icons/}}</div>
+
<div>{{{field|PropertyType|show on select=dropdown=>createproperties-section-dropdown;checkboxes=>createproperties-section-dropdown;Text=>createproperties-section-text|input type=dropdown|class=WfFormDropdown WfFormDropdownAutoWidth|mandatory}}}</div>
 +
</div>
 +
<div class="col-md-6">
 +
<div class="WfFormLabel">Icon <span class="custom-tooltip">{{#info:Entrez ici l'ID d'une icon Fontawesome : https://fontawesome.com/v4.7.0/icons/}}</span></div>
 +
<div>{{{field|PropertyIcon|input type=text|mandatory|class=WfFormText|placeholder=ie: Fa-Tag}}}</div>
 +
</div>
 +
</div>
 +
<div id="createproperties-section-dropdown">
 
<div class="WfFormLabel">Values</div>
 
<div class="WfFormLabel">Values</div>
 
<div class="row">
 
<div class="row">
Line 201: Line 207:
 
</div>
 
</div>
 
</div>
 
</div>
<div>{{{field|PropertyMandatory|input type=checkboxes|mapping using translate=wf-propertyvalue-propertymandatory-}}}</div>
+
</div>
<div>{{{field|PropertyFilter|input type=checkboxes|mapping using translate=wf-propertyvalue-propertyfilter-}}}</div>
+
<div class="row">
 +
<div class="col-md-6">
 +
<div class="WfFormLabel">Options</div>
 +
{{{field|PropertyMandatory|input type=checkboxes|mapping using translate=wf-propertyvalue-propertymandatory-}}}
 +
{{{field|PropertyFilter|input type=checkboxes|mapping using translate=wf-propertyvalue-propertyfilter-}}}
 +
</div>
 +
<div class="col-md-6">
 +
<div class="WfFormLabel">Emplacements</div>
 +
{{{field|PropertyPlace|input type=checkboxes}}}
 +
</div>
 +
</div>
 
</div>
 
</div>
 
{{{end template}}}
 
{{{end template}}}
<h2>Options</h2>
+
<h2>Métadonnées pré-configurées</h2>
 
{{{for template|PropertyOptions}}}
 
{{{for template|PropertyOptions}}}
 
<div>{{{field|PropertyDifficulty|input type=checkboxes|mapping using translate=wf-propertyvalue-propertydifficulty-}}}</div>
 
<div>{{{field|PropertyDifficulty|input type=checkboxes|mapping using translate=wf-propertyvalue-propertydifficulty-}}}</div>

Revision as of 17:01, 28 November 2018