Difference between revisions of "Template:Page-frame"

From SI410
Jump to: navigation, search
Line 1: Line 1:
 
{{multiBox
 
{{multiBox
|width={{{width-outer|800}}}
+
<!--  -->|width = {{{width-outer|800}}}
|height={{{height-outer|1000}}}
+
<!--  -->|height = {{{height-outer|1000}}}
|layout={{{layout-outer|}}};
+
<!--  -->|layout = {{{layout-outer|}}};
|inner=
+
<!--  -->|inner =
{{multiBox
+
<!--  -->{{multiBox
|layout=float:top;background:{{if|test={{{show-layout|}}}|then=grey|{{{background-top|}}}}};width:{{{width-top|100%}}};height:{{{height-top|20%}}};{{{layout-top|}}};
+
<!--            -->|layout =
|inner={{{content-top|}}}
+
<!--            -->float:top;
 +
<!--            -->width:{{{width-top|100%}}};
 +
<!--            -->height:{{{height-top|20%}}};
 +
<!--            -->background:{{if|test={{{show-layout|}}}|then=grey|{{{background-top|}}}}};
 +
<!--            -->{{{layout-top|}}};
 +
<!--            -->|inner = {{{content-top|}}}
 
}}
 
}}
{{multiBox
+
<!--  -->{{multiBox
|layout=float:left;background:{{{background-left|{{{show-layout|darkgrey}}}}}};width:{{{width-left|33%}}};height:{{{height-left|75%}}};{{{layout-left|}}}; |inner={{{content-left|}}}
+
<!--            -->|layout=
 +
<!--            -->float:left;
 +
<!--            -->background:{{if|test={{{show-layout|}}}|then=darkgrey|{{{background-left|}}}}};
 +
<!--            -->width:{{{width-left|33%}}};
 +
<!--            -->height:{{{height-left|75%}}};
 +
<!--            -->{{{layout-left|}}};
 +
<!--            -->|inner={{{content-left|}}}
 
}}
 
}}
{{multiBox
+
<!--  -->{{multiBox
|layout=float:right;background:{{{background-right|{{{show-layout|lightgrey}}}}}};width:{{{width-right|33%}}};height:{{{height-right|75%}}};{{{layout-right|}}};
+
<!--            -->|layout=float:right;
|inner={{{content-right|}}}
+
<!--            -->background:{{if|test={{{show-layout|}}}|then=lightgrey|{{{background-right|}}}}};
 +
<!--            -->width:{{{width-right|33%}}};
 +
<!--            -->height:{{{height-right|75%}}};
 +
<!--            -->{{{layout-right|}}};
 +
<!--            -->|inner={{{content-right|}}}
 
}}
 
}}
{{multiBox
+
<!--  -->{{multiBox
|layout=float:center;background:{{{background-center|{{{show-layout|silver}}}}}};width:{{{width-center|34%}}};height:{{{height-center|75%}}};{{Box\center}};
+
<!--            -->|layout=
{{{layout-center|}}};
+
<!--            -->float:center;
|inner={{{content-center|}}}
+
<!--            -->background:{{{background-center|{{{show-layout|silver}}}}}};
 +
<!--            -->width:{{{width-center|34%}}};
 +
<!--            -->height:{{{height-center|75%}}};
 +
<!--            -->{{Box\center}};
 +
<!--            -->{{{layout-center|}}};
 +
<!--            -->|inner={{{content-center|}}}
 
}}
 
}}
{{multiBox
+
<!--    -->{{multiBox
|layout=clear:both;background:{{{background-bottom|{{{show-layout|grey}}}}}};width:{{{width-bottom|100%}}};height:{{{height-bottom|5%}}};{{{layout-bottom|}}};|inner={{{content-bottom|}}}
+
<!--            -->|layout=
 +
<!--            -->clear:both;
 +
<!--            -->background:{{{background-bottom|{{{show-layout|grey}}}}}};
 +
<!--            -->width:{{{width-bottom|100%}}};
 +
<!--            -->height:{{{height-bottom|5%}}};
 +
<!--            -->{{{layout-bottom|}}};
 +
<!--            -->|inner={{{content-bottom|}}}
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 03:21, 15 November 2012

{{pageFrame
|show-layout=
|width-outer=
|height-outer=
|width-top=
|height-top=
|width-left=
|height-left=
|width-center=
|height-center=
|width-right=
|height-right=
|width-bottom=
|height-bottom=
|background-top=
|background-left=
|background-center=
|background-right=
|background-bottom=
|content-top=
|content-left=
|content-center=
|content-right=
|content-bottom=
}}