Modèle:Layout 01 : Différence entre versions

[version non vérifiée][version non vérifiée]
m (Révocation des modifications de Deimos (discussion) vers la dernière version de -PhoBoS-)
Ligne 1 : Ligne 1 :
 
<includeonly><div style="{{Masstemplate}}">
 
<includeonly><div style="{{Masstemplate}}">
{| style="width:100%; {{Font/Pagetitle}} background:{{{ColorH}}}; border:{{{ColorR}}} double 3px; padding:0.2em 0.8em 0em 0.8em; margin-bottom:0.5em; color: {{Tablecolor/Font}};"
+
{| style="width:800px; {{Font/Pagetitle}} background:{{{ColorH}}}; border:{{{ColorR}}} double 3px; padding:0.2em 0.8em 0em 0.8em; margin-bottom:0.5em; color: {{Tablecolor/Font}};"
 
|
 
|
 
{{{Header}}}
 
{{{Header}}}
Ligne 12 : Ligne 12 :
 
{{!}}}
 
{{!}}}
 
}}{{#if: {{{Box2| }}} |
 
}}{{#if: {{{Box2| }}} |
 +
{{{!}} style="margin-left:5em;"
 
{{{Box2}}}
 
{{{Box2}}}
 
}}
 
}}

Version du 21 avril 2010 à 22:14


Sense

This template is used for page scalling while using different styles. The Width is defined by Masstemplate.

The width of Box1 is defined by its content or a specific number. Box2 takes then the rest of the width and place under Box1.

It can also mentioned only one content for Box1 and Box2

Usage

{{Layout 01 |ColorH= font color |ColorR= scale color |Header = place for the page title |Box1 = left side |Box2 = right side }}

Example

This is how a page could look like:

Example

Box1
Fichier:Old man.jpg
e.G. a Picture

Box2 with with a large content floating around Box1 Test Test


Test

Test

Test

Test

Test

I needed a large content ;)