Difference between revisions of "Template:Layout NPC"

[unchecked revision][unchecked revision]
m
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 11:
 
{{{Box1}}}
 
{{{Box1}}}
 
{{!}}}
 
{{!}}}
}}
+
}}{{#if: {{{Box2| }}} |
{{#if: {{{Box2| }}} |
 
{{{!}} style="background: #faf6ed; border:{{{ColorR}}} solid 1px; float:right; padding:0.5em; margin:0em 1.5em 0.5em 0em;"
 
{{!}}
 
 
{{{Box2}}}
 
{{{Box2}}}
{{!}}}
 
 
}}
 
}}
 
|}
 
|}
Line 51: Line 47:
 
|ColorR= #5d0505
 
|ColorR= #5d0505
 
|Header  = Example
 
|Header  = Example
|Box1  = Box1<br />[[Image:Old man.jpg]]<div style="text-align:center;">z. B. ein Bild</div>
+
|Box1  = Box1<br />[[Image:Old man.jpg]]<div style="text-align:center;">e. g. a Picture</div>
 
|Box2  =
 
|Box2  =
 
<div style="font-size:145%;">
 
<div style="font-size:145%;">

Latest revision as of 18:29, 27 May 2009


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
File: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 ;)

▲ To the top ▲