Difference between revisions of "Template:Layout 01"
[unchecked revision] | [unchecked revision] |
LoveIsBeauty (talk | contribs) m |
|||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="{{Masstemplate}}"> | <includeonly><div style="{{Masstemplate}}"> | ||
− | {| style="width:100%; {{Font/Pagetitle}} background:{{{ | + | {| 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}};" |
| | | | ||
− | {{{ | + | {{{Header}}} |
|} | |} | ||
{| style="width:100%; margin-bottom:1em;" | {| style="width:100%; margin-bottom:1em;" | ||
| | | | ||
{{#if: {{{Box1| }}} | | {{#if: {{{Box1| }}} | | ||
− | {{{!}} style="border:{{{ | + | {{{!}} style="border:{{{ColorR}}} double 3px; float:left; padding:0.5em; margin:0em 1.5em 0.5em 0em;" |
{{!}} | {{!}} | ||
{{{Box1}}} | {{{Box1}}} | ||
Line 19: | Line 19: | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
− | === | + | === Sense === |
− | + | This template is used for page scalling while using different styles. The Width is defined by [[Template:Masstemplate|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 === |
<nowiki> | <nowiki> | ||
{{Layout 01 | {{Layout 01 | ||
− | | | + | |ColorH= font color |
− | | | + | |ColorR= scale color |
− | | | + | |Header = place for the page title |
− | |Box1 = | + | |Box1 = left side |
− | |Box2 = | + | |Box2 = right side |
}} | }} | ||
</nowiki> | </nowiki> | ||
− | === | + | === Example === |
− | + | This is how a page could look like: | |
{{{{PAGENAME}} | {{{{PAGENAME}} | ||
− | | | + | |ColorH= #5d0505 |
− | | | + | |ColorR= #5d0505 |
− | | | + | |Header = Example |
− | |Box1 = Box1<br />[[Image:Old man.jpg]]<div style="text-align:center;"> | + | |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%;"> | ||
− | Box2 | + | Box2 with with a large content floating around Box1 |
+ | Test | ||
+ | Test | ||
− | |||
− | + | Test | |
− | + | Test | |
− | + | Test | |
− | + | Test | |
− | + | Test | |
− | + | I needed a large content ;) | |
− | |||
− | |||
</div> | </div> | ||
}} | }} | ||
− | [[Category: | + | [[Category:Templates|{{PAGENAME}}]] |
− | [[Category: | + | [[Category:Templates/Layout|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Latest revision as of 12:45, 29 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 |
Box2 with with a large content floating around Box1 Test Test
Test Test Test Test I needed a large content ;) |