Outils personnels
Espaces de noms
Actions

Variantes

Modèle:Box-header : Différence entre versions

De Du haut d'min terril
m (1 version : Wikipedia Portals tech)
Ligne 1 : Ligne 1 :
<div style="clear: both; <!--
+
<div style="clear: both; background: {{{background|#f6f6f6}}};color: {{{text-color|#38373f}}}; margin-bottom: 0px; padding: 8px;">{{#if: {{{EDITLINK|}}} ||
        -->border: {{{border-type|solid}}} {{{titleborder|{{{border|#ababab}}}}}}; <!--
+
 
        -->border-width: {{{border-top|{{{border-width|1}}}}}}px {{{border-width|1}}}px 0; <!--
+
<div class="plainlinks" style="float:right;margin-top:1em; font-size:{{{font-size|1.4em}}}; color: {{{edit-color|#38373f}}};">{{
        -->background: {{{titlebackground|#bcbcbc}}};<!--
+
 
        --> color: {{{titleforeground|#000}}}; <!--
+
#if: {{{noedit|}}} || [{{fullurl:{{{editpage|/}}}|action=edit{{#if: {{{section|}}} |&section={{{section}}}}}}} <span style="color: {{{titleforeground|#00a0a0}}}">Modifier</span>]&nbsp;}}{{#if: {{{viewpage|}}} |'''·'''&nbsp;[[:{{{viewpage}}}|<font color="{{{titleforeground|#00a0a0}}}">Voir</font>]]&nbsp;}}{{{top|}}}&nbsp;
        -->padding: {{{padding|.1em}}};<!--
+
 
        -->padding-top: {{{padding-top|.1em}}};<!--
+
        -->padding-left: {{{padding-left|.1em}}};<!--
+
        -->padding-right: {{{padding-right|.1em}}};<!--
+
        -->padding-bottom: {{{padding-bottom|.1em}}};<!--
+
        -->text-align: {{{title-align|center}}};<!--
+
        -->font-family: {{{font-family|arial}}};<!--
+
        -->font-size:{{{titlefont-size|100%}}};<!--
+
        -->margin-bottom: 0px;<!--
+
        -->">{{#if: {{{EDITLINK|}}} ||
+
<div class="plainlinks" <!--
+
  -->style="float:right;<!--
+
        -->margin-bottom:.1em;<!--
+
        -->font-size:{{{font-size|80%}}};<!--
+
        --> color: {{{titleforeground|#000}}}">{{
+
#if: {{{noedit|}}} || [{{fullurl:{{{editpage|/}}}|action=edit{{#if: {{{section|}}} |&section={{{section}}}}}}} <span style="color: {{{titleforeground|#000}}}">edit</span>]&nbsp;}}{{#if: {{{viewpage|}}} |'''·'''&nbsp;[[:{{{viewpage}}}|<font color="{{{titleforeground|black}}}">view</font>]]&nbsp;}}{{{top|}}}&nbsp;
+
 
</div>}}<!-- endif EDITLINK
 
</div>}}<!-- endif EDITLINK
-->{{#if: {{{SPAN|}}} |<span style="font-size:{{{title-font-size|100%}}}; font-weight:{{{title-font-weight|bold}}}; margin: 0; padding:0; padding-bottom:.1em; color:{{{titleforeground|#000}}};{{{extra|}}}">{{{title}}}</span>|<h2 style="font-size:{{{title-font-size|100%}}}; font-weight:{{{title-font-weight|bold}}}; border: none; margin: 0; padding:0; padding-bottom:.1em; color:{{{titleforeground|#000}}};{{{extra|}}}">{{{title}}}</h2>}}
+
 
</div>
+
-->{{#if: {{{SPAN|}}} |<span style="background: {{{title-background|#e2e2e2}}}; line-height: {{{title-line-height|1.2em}}}; font-family: 'Nunito'; font-size:{{{titlefont-size|2em}}};padding: {{{padding|8px}}};text-align: {{{title-align|left}}};margin-bottom: 20px;">{{{title}}}</span>|<h2 style="font-size:{{{title-font-size|100%}}};line-height: {{{line-height|1.2em}}};font-family: 'Nunito';font-size:{{{titlefont-size|2em}}};padding: {{{padding|8px}}};text-align: {{{title-align|left}}};margin-bottom: 20px;">{{{title}}}</h2>}}
<div style="border: {{{border-width|1}}}px solid {{{border|#ababab}}}; <!--
+
 
        -->border-top-width: {{{border-top|1}}}px; <!--
+
<div style="font-size:{{{titlefont-size|1.4em}}};">{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}}<noinclude>
        -->vertical-align: top;<!--
+
 
        -->background: {{{background|#fefeef}}};<!--
+
{{Box-footer}}
        -->opacity: {{{background-opacity|1}}};<!--
+
 
        --> color: {{{foreground|#000}}}; <!--
+
        -->text-align: {{{text-align|left}}};<!--
+
        --> margin: 0 0 10px; <!--
+
        -->padding: {{{padding|1em}}};<!--
+
        -->padding-top: {{{padding-top|.3em;}}}"><!--
+
-->{{#if: {{{TOC|}}} | |__NOTOC__}}{{#if: {{{EDIT|}}} | |__NOEDITSECTION__}}<noinclude>
+
{{Template:Box-footer}}
+
 
<!-- PLEASE PUT CATEGORIES AND INTERWIKI LINKS ON THE DOCUMENTATION PAGE. THANK YOU. -->
 
<!-- PLEASE PUT CATEGORIES AND INTERWIKI LINKS ON THE DOCUMENTATION PAGE. THANK YOU. -->
{{Documentation}}  
+
 
 +
{{Documentation}}
  
 
</noinclude>
 
</noinclude>

Version du 20 juillet 2013 à 13:32

{{{title}}}


[create] 50px Template documentation


Navigation
Contribuer
Boîte à outils
Partager