Formulaire:Project : Différence entre versions

De Wiki @ Brest

 
(44 révisions intermédiaires par le même utilisateur non affichées)
Ligne 2 : Ligne 2 :
 
<includeonly>
 
<includeonly>
 
<!-- ===================================== PREVIEW==================== -->
 
<!-- ===================================== PREVIEW==================== -->
<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: 1px solid #AAAAAA;"></div>
  
 
<!-- ===================================== INTRODUCTION ==================== -->
 
<!-- ===================================== INTRODUCTION ==================== -->
{{{for template|Project/Intro}}}
+
{{{for template|Wrapper/Intro}}}
 
{| class="formtable"
 
{| class="formtable"
 
|-
 
|-
! style="width:105px;" | Logo
+
! colspan=2 style="text-align:center;text-size:14px;border:1px solid #333;color:white;font-weight:bold;background-color: #135F85;" | Entête
| {{{field|logo|uploadable}}} - <b>Taille : </b>{{{field|logo_size|size=10px|placeholder= défaut 65px}}}
+
 
|-
 
|-
! Introduction
+
! width=105px | Titre
| {{{field|contenu|input type=textarea|autogrow|rows=15|cols=125|editor=wikieditor}}}
+
| {{{field|titre|property=portail_has_title|size=50}}}
 +
|-
 +
! width=105px | Logo
 +
| {{{field|logo|uploadable|property=portail_has_logo|size=50}}} - <b>Taille : </b>{{{field|logo_size|size=10px|placeholder= défaut 65px}}}
 +
|-
 +
! Présentation :
 +
| {{{field|intro|default=Introduction}}}<br/>{{{field|contenu|input type=textarea|autogrow|cols=110|editor=wikieditor}}}
 
|}
 
|}
 +
{{{field|type|hidden|default=projet}}}
 
{{{end template}}}
 
{{{end template}}}
 
 
<!-- ===================================== CHAPITRAGE ==================== -->
 
<!-- ===================================== CHAPITRAGE ==================== -->
{{{for template|Project/Chapitre|multiple|add button text=Ajouter un chapitre}}}
+
{{{for template|Layout/Simple|multiple|add button text=Ajouter un chapitre}}}
 
{| class="formtable"
 
{| class="formtable"
 +
|-
 +
! colspan=2 style="text-align:center;text-size:14px;border:1px solid #333;color:white;font-weight:bold;background-color: #135F85;" | Chapitre
 
|-  
 
|-  
! width="105px;" | Layout
+
! width="200px" | Titre
|
+
| {{{field|simple_1}}} <br/> {{{field|contenu|input type=textarea|autogrow|cols=100|editor=wikieditor}}}
{{{field
+
| status
+
| input type=dropdown
+
| mandatory
+
| values=simple,double,triple
+
| show on select=simple=>simple;
+
                          double=>double;
+
                          triple=>triple;
+
}}}
+
|}
+
<div id="simple">
+
{| class="formtable"
+
|-
+
! style="width:95px;" | Titre
+
| {{{field|titre}}}
+
|-
+
! Chapitre
+
| {{{field|chapitre|input type=textarea|autogrow|rows=15|cols=125|editor=wikieditor}}}
+
|}
+
</div>
+
<div id="double">
+
{| class="formtable"
+
|-
+
! style="width:95px;" | Titre
+
| {{{field|title}}}
+
|-
+
! Chapitre
+
| {{{field|chapitre|input type=textarea|autogrow|rows=15|cols=125|editor=wikieditor}}}
+
|}
+
</div>
+
<div id="triple">
+
{| class="formtable"
+
|-
+
! style="width:95px;" | Titre
+
| {{{field|title}}}
+
|-
+
! Chapitre
+
| {{{field|chapitre|input type=textarea|autogrow|rows=15|cols=125|editor=wikieditor}}}
+
 
|}
 
|}
</div>
+
{{{field|layout|hidden|value=simple}}}
 
{{{end template}}}
 
{{{end template}}}
  
 
<!-- ===================================== INTRODUCTION ==================== -->
 
<!-- ===================================== INTRODUCTION ==================== -->
{{{for template|Project/Close}}}{{{field|fake|hidden}}}{{{end template}}}
+
{{{for template|Wrapper/Close}}}{{{field|category|hidden|default=Projet}}}{{{end template}}}
  
 
<!-- ===================================== SAVE ==================== -->
 
<!-- ===================================== SAVE ==================== -->

Version actuelle en date du 5 avril 2013 à 12:09