Formulaire:Portail : Différence entre versions

De Wiki @ Brest

 
(95 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
<noinclude>{{#forminput:form=Portail|query string=namespace=Portail}}</noinclude>
 
<noinclude>{{#forminput:form=Portail|query string=namespace=Portail}}</noinclude>
 
<includeonly>
 
<includeonly>
 +
__NOTOC__
 
<!-- ===================================== PREVIEW==================== -->
 
<!-- ===================================== PREVIEW==================== -->
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border: 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|Portail/Intro}}}
+
{{{for template|Wrapper/Intro}}}
{| class="formtable"
+
{| class="formtable" style="margin:0 auto 0 auto;"  width=80%
 +
|-
 +
! colspan=2 style="text-align:center;text-size:14px;border:1px solid #333;color:white;font-weight:bold;background-color: #135F85;" | Entête
 +
|-
 +
! style="width:105px;" | Titre
 +
| {{{field|titre}}}
 
|-
 
|-
 
! style="width:105px;" | Logo
 
! style="width:105px;" | Logo
 
| {{{field|logo|uploadable}}} - <b>Taille : </b>{{{field|logo_size|size=10px|placeholder= défaut 65px}}}
 
| {{{field|logo|uploadable}}} - <b>Taille : </b>{{{field|logo_size|size=10px|placeholder= défaut 65px}}}
 
|-
 
|-
! Introduction
+
! colspan=2 style="text-align:center;text-size:14px;border:1px solid #333;color:white;font-weight:bold;background-color: #135F85;" | Introduction
| {{{field|contenu|input type=textarea|autogrow|cols=105|editor=wikieditor}}}
+
|-
 +
|  colspan=2 | {{{field|intro|default=Introduction}}}<br/>{{{field|contenu|input type=textarea|autogrow|editor=wikieditor}}}
 +
|-
 +
! colspan=2 style="text-align:center;text-size:14px;border:1px solid #333;color:white;font-weight:bold;background-color: #135F85;" | Layouts
 
|}
 
|}
 +
{{{field|type|hidden|default=portail}}}
 
{{{end template}}}
 
{{{end template}}}
 
 
<!-- ===================================== LAYOUTS ==================== -->
 
<!-- ===================================== LAYOUTS ==================== -->
{{{for template|Layout/Simple|multiple|add button text=Ajouter un layout}}}
+
{{{for template|Wrapper/Layout|multiple|add button text=Ajouter un layout}}}
{| class="formtable"
+
{| class="formtable" style="margin:0;padding:0;" |
 
|-  
 
|-  
 
! width="105px;" | Layout
 
! width="105px;" | Layout
Ligne 26 : Ligne 35 :
 
  | input type=dropdown
 
  | input type=dropdown
 
  | mandatory
 
  | mandatory
  | values=simple,multi,left,right
+
  | values=bloc_simple,bloc_multi,bloc_left,bloc_right
  | show on select=simple=>simple;
+
  | show on select= bloc_simple=>bloc_simple;
                           multi=>multi;
+
                           bloc_multi=>bloc_multi;
                           left=>left;
+
                           bloc_left=>bloc_left;
                           right=>right;
+
                           bloc_right=>bloc_right;
 
}}}
 
}}}
 +
|} <!-- ===================================== SIMPLE ==================== -->
 +
<div id="bloc_simple"  style="margin:0;padding:0;">
 +
{| class="formtable" style="margin:0;padding:0;" |
 +
|-
 +
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
 +
{{Cadre/Début}}
 +
{{Layout/Simple
 +
| bcolor = aaa
 +
| min = 220px
 +
| simple_1= {{{field|simple_1|size=15|default=empty}}}
 +
| model=true
 +
}}{{Cadre/Fin}}
 
|}
 
|}
<div id="simple">
+
</div> <!-- ===================================== MULTI ==================== -->
 +
<div id="bloc_multi"  style="margin:0;padding:0;">
 
{| class="formtable"
 
{| class="formtable"
 
|-
 
|-
! style="width:105px;" | Titre : {{{field|title}}}
+
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
|-
+
{{Cadre/Début}}
| {{Layout/Simple
+
{{Layout/Multi
| title= Titre
+
| bcolor = aaa
  | contenu=Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+
| multi_1= {{{field|multi_1|size=15|default=empty}}}
}}
+
| model_1=true
 +
| multi_2= {{{field|multi_2|size=15|default=empty}}}
 +
  | model_2=true
 +
}}{{Cadre/Fin}}
 
|}
 
|}
</div>
+
</div> <!-- ===================================== LEFT ==================== -->
<div id="multi">
+
<div id="bloc_left"  style="margin:0;padding:0;">
 
{| class="formtable"
 
{| class="formtable"
 
|-
 
|-
! style="width:105px;" | Titre {{{field|title}}}
+
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
! style="width:105px;" | Titre {{{field|title}}}
+
{{Cadre/Début}}
 +
{{Layout/Left
 +
| bcolor = aaa
 +
| left_1= {{{field|left_1|size=15|default=empty}}}
 +
| model_1=true
 +
| left_2= {{{field|left_2|size=15|default=empty}}}
 +
| model_2=true
 +
| left_3= {{{field|left_3|size=15|default=empty}}}
 +
| model_3=true
 +
}}{{Cadre/Fin}}
 +
|}
 +
</div> <!-- ===================================== RIGHT ==================== -->
 +
<div id="bloc_right" style="margin:0;padding:0;">
 +
{| class="formtable"
 
|-
 
|-
| {{{field|contenu|input type=textarea|autogrow|cols=60|editor=wikieditor}}}
+
|                                                                       <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
| {{{field|contenu|input type=textarea|autogrow|cols=60|editor=wikieditor}}}
+
{{Cadre/Début}}
 +
{{Layout/Right
 +
| bcolor = aaa
 +
| right_1= {{{field|right_1|size=15|default=empty}}}
 +
| model_1=true
 +
| right_2= {{{field|right_2|size=15|default=empty}}}
 +
| model_2=true
 +
| right_3= {{{field|right_3|size=15|default=empty}}}
 +
| model_3=true
 +
}}{{Cadre/Fin}}
 
|}
 
|}
 
</div>
 
</div>
Ligne 57 : Ligne 104 :
  
 
<!-- ===================================== INTRODUCTION ==================== -->
 
<!-- ===================================== INTRODUCTION ==================== -->
{{{for template|Portail/Close}}}{{{field|fake|hidden}}}{{{end template}}}
+
{{{for template|Wrapper/Close}}}{{{field|category|hidden|default=Portail}}}{{{end template}}}
  
 
<!-- ===================================== SAVE ==================== -->
 
<!-- ===================================== SAVE ==================== -->

Version actuelle en date du 5 avril 2013 à 10:54