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

De Wiki @ Brest

(Annulation des modifications 7907 de Fleon (discussion))
Ligne 6 : Ligne 6 :
 
[[File:{{{logo}}}|{{{logo_size}}}]]
 
[[File:{{{logo}}}|{{{logo_size}}}]]
 
| style="padding-left:20px" valign=top |                                                        <!-- -------------------------- LINE 2 ------------------------------ -->
 
| style="padding-left:20px" valign=top |                                                        <!-- -------------------------- LINE 2 ------------------------------ -->
<font style="font-size:150%;line-height:1em;">
+
<font style="font-size:150%;line-height:1em;">{{#ifeq:{{{type|}}} | portail | Portail | Projet}} :</font> <br/>
{{ #switch: {{{type}}}
+
  | portail = Portail
+
  | category = Catégorie
+
  | default = Projet
+
}} :</font> <br/>
+
 
<span style="font-size:200%;line-height:1em; margin-left:1em; ">
 
<span style="font-size:200%;line-height:1em; margin-left:1em; ">
 
+
[[{{#ifeq:{{{type|}}} | portail | Portail | Projet}}:{{PAGENAME}}|{{{titre}}}]]
{{ #switch: {{{type}}}
+
  | portail = [[Portail:{{PAGENAME}}|{{{titre}}}]]
+
  | category = Catégorie
+
  | default = [[Projet:{{PAGENAME}}|{{{titre}}}]]
+
}}
+
 
</span><br/>
 
</span><br/>
 
| valign=bottom align=right |                                                                        <!-- -------------------------- LINE 3 ------------------------------ -->
 
| valign=bottom align=right |                                                                        <!-- -------------------------- LINE 3 ------------------------------ -->
<small>'''Il y a actuellement {{Nombre d'articles | titre={{PAGENAME}} }} liés à ce sujet.'''</small>
+
<small>'''Il y a actuellement  
 +
{{#if:{{{title|}}}
 +
| {{Nombre d'articles | titre={{{title}}} }}
 +
| {{Nombre d'articles | titre={{PAGENAME}} }}
 +
}} liés à ce sujet.'''</small>
 
|}
 
|}
 
<!-- ================================== TABLEAU ONGLET ================================== -->
 
<!-- ================================== TABLEAU ONGLET ================================== -->

Version du 13 mars 2013 à 16:24

[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