Difference between revisions of "Template:Layout 01"

[unchecked revision][unchecked revision]
Line 19: Line 19:
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
  
=== Sinn ===
+
=== Sense ===
  
Diese Vorlage ermöglicht die gleiche Seiteneinteilung bei verschiedenen Layouts. Die Breite des kompletten Layouts wird über die [[Template:Masstemplate|Masstemplate]] bestimmt.
+
This template is used for page scalling while using different styles. The Width is defined by [[Template:Masstemplate|Masstemplate]].
  
Die Breite von Box1 wird durch ihren Inhalt oder einen anzugebenden Wert festgelegt. Box2 nimmt dann den Rest der Breite und den Platz unter Box1 ein, sofern der Inhalt entsprechend umfangreich ist.
+
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.
  
Es kann auch nur ein Inhalt für Box1 oder Box2 angegeben werden.
+
It can also mentioned only one content for Box1 and Box2
  
=== Anwendung ===
+
=== Usage ===
  
 
<nowiki>
 
<nowiki>
 
{{Layout 01
 
{{Layout 01
|FarbeH= Hintergrundfarbe
+
|FarbeH= font color
|FarbeR= Rahmenfarbe
+
|FarbeR= scale color
|Kopf  = Bereich für die Seitenüberschrift
+
|Kopf  = place for the page title
|Box1  = Linker Bereich
+
|Box1  = left side
|Box2  = Rechter Bereich
+
|Box2  = right side
 
}}
 
}}
 
</nowiki>
 
</nowiki>
  
=== Beispiel ===
+
=== Example ===
  
So könnte eine Seite aussehen:
+
This is how a page could look like:
  
 
{{{{PAGENAME}}
 
{{{{PAGENAME}}
 
|FarbeH= #5d0505
 
|FarbeH= #5d0505
 
|FarbeR= #5d0505
 
|FarbeR= #5d0505
|Kopf  = Beispiel
+
|Kopf  = 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;">z. B. ein Bild</div>
 
|Box2  =
 
|Box2  =
 
<div style="font-size:145%;">
 
<div style="font-size:145%;">
Box2 mit jeder Menge Text, der um die linke Box herumfließt.
+
Box2 with with a large content floating around Box1
 +
Test
 +
Test
  
Wobei ich mir da jetzt nicht endlos was aus den Fingern saugen möchte, damit das an diesem Beispiel auch richtig gezeigt wird.
 
  
Deshalb lohnt sich auch das Weiterlesen in keinster Weise.
+
Test
  
Wie gesagt, weiterlesen lohnt nicht.
+
Test
  
Wirklich nicht.
+
Test
  
Also wer jetzt noch liest, hat den Text weiter oben nicht gelesen oder ihn nicht verstanden.
+
Test
  
Es gibt hier nichts interessantes.
+
Test
  
Kein bisschen.
+
I needed a large content ;)
 
 
Auch unter dem Bild nicht mehr...
 
 
</div>
 
</div>
 
}}
 
}}
  
[[Category:Vorlagen|{{PAGENAME}}]]
+
[[Category:Templates|{{PAGENAME}}]]
[[Category:Vorlagen/Layout|{{PAGENAME}}]]
+
[[Category:Templates/Layout|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 21:24, 30 April 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 |FarbeH= font color |FarbeR= scale color |Kopf = place for the page title |Box1 = left side |Box2 = right side }}

Example

This is how a page could look like:

{{{Header}}}

Box1
File:Old man.jpg
z. B. ein Bild

Box2 with with a large content floating around Box1 Test Test


Test

Test

Test

Test

Test

I needed a large content ;)

▲ To the top ▲