Formulaire:Portail : Différence entre versions

De Wiki @ Brest

 
(35 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|Portail/Layout|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 25 : Ligne 35 :
 
  | input type=dropdown
 
  | input type=dropdown
 
  | mandatory
 
  | mandatory
  | values=bloc_simple,bloc_multi,bloc_left
+
  | values=bloc_simple,bloc_multi,bloc_left,bloc_right
 
  | show on select= bloc_simple=>bloc_simple;
 
  | show on select= bloc_simple=>bloc_simple;
 
                           bloc_multi=>bloc_multi;
 
                           bloc_multi=>bloc_multi;
 
                           bloc_left=>bloc_left;
 
                           bloc_left=>bloc_left;
 +
                          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}}
 
|}
 
|}
<!-- ===================================== SIMPLE ==================== -->
+
</div> <!-- ===================================== MULTI ==================== -->
<div id="bloc_simple">
+
<div id="bloc_multi"  style="margin:0;padding:0;">
 
{| class="formtable"
 
{| class="formtable"
 
|-
 
|-
! width="105px;" | Rendu :
 
 
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
 
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
 
{{Cadre/Début}}
 
{{Cadre/Début}}
{{Layout/Simple
+
{{Layout/Multi
  | title= {{{field|simple_1|size=15|default=empty}}}
+
  | bcolor = aaa
  | model=Bloc
+
| 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}}
 
}}{{Cadre/Fin}}
 
|}
 
|}
</div>
+
</div> <!-- ===================================== LEFT ==================== -->
<!-- ===================================== LEFT ==================== -->
+
<div id="bloc_left"  style="margin:0;padding:0;">
<div id="bloc_left">
+
 
{| class="formtable"
 
{| class="formtable"
 
|-
 
|-
! width="105px;" | Rendu :
 
 
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
 
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
 
{{Cadre/Début}}
 
{{Cadre/Début}}
 
{{Layout/Left
 
{{Layout/Left
  | title_1= {{{field|left_1|size=15|default=empty}}}
+
  | bcolor = aaa
  | model_1=Bloc
+
| left_1= {{{field|left_1|size=15|default=empty}}}
  | title_2= {{{field|left_2|size=15|default=empty}}}
+
  | model_1=true
  | model_2=Bloc
+
  | left_2= {{{field|left_2|size=15|default=empty}}}
  | title_3= {{{field|left_3|size=15|default=empty}}}
+
  | model_2=true
  | model_3=Bloc
+
  | 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"
 +
|-
 +
|                                                                      <!-- ---------------------------------- Show the rendered layout ---------------------------------- -->
 +
{{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}}
 
}}{{Cadre/Fin}}
 
|}
 
|}
Ligne 64 : 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