« Modèle:Cadre thématique » : différence entre les versions

De Wiki58
Aller à la navigationAller à la recherche
m (3e essai)
m (Problème de </div></div>)
 
(10 versions intermédiaires par le même utilisateur non affichées)
Ligne 3 : Ligne 3 :
<div style="height:8px;font-size:1px;margin:0;border:0;border-bottom:1px solid #7D2020;background: #EEBBBB"></div>
<div style="height:8px;font-size:1px;margin:0;border:0;border-bottom:1px solid #7D2020;background: #EEBBBB"></div>
<div style="padding:5px;padding-bottom:5px">
<div style="padding:5px;padding-bottom:5px">
<span style="font-size: 130%">{{{titre}}}</div></div>
{{{titre}}}
<div style="position:absolute; left:40px; top:2px; width:95%;"><h2 {{#if:{{{id|}}} | id="{{{id}}}Head"| }} style="margin:0; border-bottom:0; font-size:120%; font-weight:bold; text-align:left; color:#000; padding:.15em .4em;">{{{titre}}}</h2></div>
</includeonly><noinclude>
</includeonly><noinclude>


Ligne 12 : Ligne 11 :
<noinclude>
<noinclude>
__notoc__
__notoc__
A utiliser pour inclure le cadre
Modèle à utiliser pour inclure le cadre rose


== Syntaxe ==
== Syntaxe ==
<pre><nowiki><!-- DÉBUT DU TABLEAU Politiques-->
<pre><nowiki>
<!-- DÉBUT DU TABLEAU -->
<div style="width:100%" style="margin-bottom:1.25em;border:1px solid #7D2020;background: #F9F9F9;padding:0">
<div style="width:100%" style="margin-bottom:1.25em;border:1px solid #7D2020;background: #F9F9F9;padding:0">
<div style="height:8px;font-size:1px;margin:0;border:0;border-bottom:1px solid #7D2020;background: #EEBBBB"></div>
<div style="height:8px;font-size:1px;margin:0;border:0;border-bottom:1px solid #7D2020;background: #EEBBBB"></div>
<div style="padding:5px;padding-bottom:5px">
<div style="padding:5px;padding-bottom:5px">
<span style="font-size: 130%">{{{titre}}}
{{{titre}}}
</div></div>
<!-- FIN DU TABLEAU -->
<!-- FIN DU TABLEAU Politiques-->
</nowiki>
</nowiki>
</pre>
</pre>




== Exemple ==
 
{{Cadre Politique
== Exemples ==
|titre = plume
{{Cadre thématique|titre = <big>[[Monnot Marguerite|MONNOT Marguerite]]</big>}}
}}
 
Syntaxes utilisées lorsque l'on utilisera le cadre pour un politique :
ou bien
{{Cadre thématique|titre=<big>[[Monnot Marguerite|MONNOT Marguerite]]</big> : (1903-1961) Pianiste, compositrice}}</div></div>
{{Cadre thématique|titre=<big>[[Monnot Marguerite|MONNOT Marguerite]]</big> : (1903-1961) Pianiste, compositrice}}</div></div>
 
 
 
 
Syntaxes utilisées lorsque l'on utilisera le cadre pour une thématique d'une catégorie :
<pre><nowiki>
<pre><nowiki>
{{Cadre Politique|titre=[[plume]]}}
{{Cadre thématique|titre=<big>[[Monnot Marguerite|MONNOT Marguerite]]</big>}}</div></div>
ou bien
{{Cadre thématique|titre=<big>[[Monnot Marguerite|MONNOT Marguerite]]</big> : (1903-1961) Pianiste, compositrice}}</div></div>
 
les  </div></div> après les }} sont là pour éviter tous conflits d'affichage
</nowiki> </pre>
</nowiki> </pre>




</noinclude>
</noinclude>
[[Catégorie:Modèle article]]

Version actuelle datée du 11 novembre 2013 à 13:44




Modèle à utiliser pour inclure le cadre rose

Syntaxe

<!-- DÉBUT DU TABLEAU -->
<div style="width:100%" style="margin-bottom:1.25em;border:1px solid #7D2020;background: #F9F9F9;padding:0">
<div style="height:8px;font-size:1px;margin:0;border:0;border-bottom:1px solid #7D2020;background: #EEBBBB"></div>
<div style="padding:5px;padding-bottom:5px">
{{{titre}}}
<!-- FIN DU TABLEAU -->


Exemples

MONNOT Marguerite


ou bien

MONNOT Marguerite : (1903-1961) Pianiste, compositrice

MONNOT Marguerite : (1903-1961) Pianiste, compositrice



Syntaxes utilisées lorsque l'on utilisera le cadre pour une thématique d'une catégorie :

{{Cadre thématique|titre=<big>[[Monnot Marguerite|MONNOT Marguerite]]</big>}}</div></div>
ou bien
{{Cadre thématique|titre=<big>[[Monnot Marguerite|MONNOT Marguerite]]</big> : (1903-1961) Pianiste, compositrice}}</div></div>

les  </div></div> après les }} sont là pour éviter tous conflits d'affichage