Modèle:Cadre/Entête : Différence entre versions

De Wiki @ Brest

 
(13 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
<includeonly>
 
<includeonly>
 
<!-- ================================== TABLEAU ENTETE ================================== -->
 
<!-- ================================== TABLEAU ENTETE ================================== -->
{{#if: {{{banner|}}}
 
    | [[File:{{{banner}}}|100%]]
 
}}
 
 
{| cellpadding="0" cellspacing="0" style="width: 100%; background-color: transparent; padding:5px; margin:-1em 0 0 0;"
 
{| cellpadding="0" cellspacing="0" style="width: 100%; background-color: transparent; padding:5px; margin:-1em 0 0 0;"
 
|-
 
|-
Ligne 14 : Ligne 11 :
 
  |projet=Projet
 
  |projet=Projet
 
  |category=Catégorie
 
  |category=Catégorie
 +
|attribut=Attribut
 +
|private=Private
 
}} : </font> <br/>
 
}} : </font> <br/>
 
<span style="font-size:200%;line-height:1em; margin-left:1em; ">
 
<span style="font-size:200%;line-height:1em; margin-left:1em; ">
Ligne 28 : Ligne 27 :
 
     | [[:Category:{{{theme}}}|{{{titre}}}]]
 
     | [[:Category:{{{theme}}}|{{{titre}}}]]
 
     | [[:Category:{{#titleparts:{{BASEPAGENAME}}|1|1 }}|{{{titre}}}]]
 
     | [[:Category:{{#titleparts:{{BASEPAGENAME}}|1|1 }}|{{{titre}}}]]
 +
}}
 +
|attribut={{#if: {{{theme|}}}
 +
    | [[:Attribut:{{{theme}}}|{{{titre}}}]]
 +
    | [[:Attribut:{{#titleparts:{{BASEPAGENAME}}|1|1 }}|{{{titre}}}]]
 +
}}
 +
|private={{#if: {{{theme|}}}
 +
    | [[:Private:{{{theme}}}|{{{titre}}}]]
 +
    | [[:Private:{{#titleparts:{{BASEPAGENAME}}|1|1 }}|{{{titre}}}]]
 
}}
 
}}
 
}}
 
}}
 
</span><br/>
 
</span><br/>
 
| valign=bottom align=right |                                                                        <!-- -------------------------- LINE 3 ------------------------------ -->
 
| valign=bottom align=right |                                                                        <!-- -------------------------- LINE 3 ------------------------------ -->
{{#if: {{{cat|}}}
+
{{#if: {{{banner|}}} | [[File:{{{banner}}}|400px|right]]<div style="clear:both"></div> }}{{#if: {{{cat|}}}
 
     | <small>'''Il y a actuellement {{Nombre d'articles | titre={{{cat}}} }} liés à ce sujet.'''</small>
 
     | <small>'''Il y a actuellement {{Nombre d'articles | titre={{{cat}}} }} liés à ce sujet.'''</small>
 
     | {{#if: {{{theme|}}}
 
     | {{#if: {{{theme|}}}
Ligne 52 : Ligne 59 :
 
| {{#if: {{{theme|}}}
 
| {{#if: {{{theme|}}}
 
     | {{#ifexist: Portail:{{{theme}}}/Browsebar | {{Portail:{{{theme}}}/Browsebar}} |  }}
 
     | {{#ifexist: Portail:{{{theme}}}/Browsebar | {{Portail:{{{theme}}}/Browsebar}} |  }}
     | {{#ifexist: Portail:{{BASEPAGENAME}}/Browsebar | {{Portail:{{BASEPAGENAME}}/Browsebar}} |  }}
+
     | {{#ifexist: Portail:{{#titleparts:{{BASEPAGENAME}}|1|1 }}/Browsebar | {{Portail:{{#titleparts:{{BASEPAGENAME}}|1|1 }}/Browsebar}} |  }}
 
}}
 
}}
 
|}
 
|}
Ligne 125 : Ligne 132 :
 
{{#ifeq: {{NAMESPACE}} | Projet | [[project_has_name::{{PAGENAME}}| ]]}} [[portail_has_title::{{{titre}}}| ]] [[portail_has_logo::{{{logo}}}| ]] [[portail_has_logo_size::{{{logo_size}}}| ]]
 
{{#ifeq: {{NAMESPACE}} | Projet | [[project_has_name::{{PAGENAME}}| ]]}} [[portail_has_title::{{{titre}}}| ]] [[portail_has_logo::{{{logo}}}| ]] [[portail_has_logo_size::{{{logo_size}}}| ]]
 
<!-- ================================== INSCRIPTION SEMANTIC ================================== -->
 
<!-- ================================== INSCRIPTION SEMANTIC ================================== -->
</includeonly><noinclude>{{TemplateDoc}}[[Catégorie:Portail/Type_2]][[Category:Template]]</noinclude>
+
</includeonly><noinclude>{{TemplateDoc}}[[Catégorie:Portail/Type_2]][[Category:Template/Portail]]</noinclude>

Version actuelle en date du 11 mars 2015 à 15:06

[create]

Template-info.svg Documentation des modèles

Pour utiliser ce modèle, mettez {{Modèle:Cadre/Entête}} dans la page où vous voulez l'utiliser.

Ce modèle n'a pas de documentation, s'il vous plaît ajoutez en