Difference between revisions of "Template:Page-frame"

From SI410
Jump to: navigation, search
Line 1: Line 1:
 
{{frameBox
 
{{frameBox
<!--  -->|width  = {{{width-outer|0}}}
+
<!--  -->|width  = {{{width-outer|}}}
<!--  -->|height = {{{height-outer|0}}}
+
<!--  -->|height = {{{height-outer|}}}
 
<!--  -->|layout = {{{layout-outer|}}};
 
<!--  -->|layout = {{{layout-outer|}}};
 
<!--  -->|inner  =
 
<!--  -->|inner  =
Line 7: Line 7:
 
<!--            -->|layout =
 
<!--            -->|layout =
 
<!--            -->float:top;
 
<!--            -->float:top;
<!--            -->width:{{{width-top|{{{width-outer|100%}}}}}};
+
<!--            -->width:{{{width-top|100%}}};
 
<!--            -->height:{{{height-top|25%}}};
 
<!--            -->height:{{{height-top|25%}}};
<!--            -->background:{{if|test={{{show-layout|}}}|then=grey|{{{background-top|}}}}};
+
<!--            -->background:{{{show-layout|grey}}};
 
<!--            -->{{{layout-top|}}};
 
<!--            -->{{{layout-top|}}};
 
<!--            -->|inner = {{{content-top|}}}
 
<!--            -->|inner = {{{content-top|}}}
Line 16: Line 16:
 
<!--            -->|layout =
 
<!--            -->|layout =
 
<!--            -->float:top;
 
<!--            -->float:top;
<!--            -->width:{{{width-middle|{{{width-outer|100%}}}}}};
+
<!--            -->width:{{{width-middle|100%}}};
 
<!--            -->height:{{{height-middle|70%}}};
 
<!--            -->height:{{{height-middle|70%}}};
<!--            -->background:{{if|test={{{show-layout|}}}|then=white|{{{background-middle|}}}}};
+
<!--            -->background:{{{show-layout|white}}};
 
<!--            -->{{{layout-middle|}}};
 
<!--            -->{{{layout-middle|}}};
 
<!--            -->|inner = {{{content-middle|}}}
 
<!--            -->|inner = {{{content-middle|}}}
Line 24: Line 24:
 
<!--    -->{{frameBox
 
<!--    -->{{frameBox
 
<!--            -->|layout=
 
<!--            -->|layout=
<!--            -->background:{{if|test={{{show-layout|}}}|then=black|{{{background-bottom|}}}}};
+
<!--            -->background:{{{show-layout|black}}};
<!--            -->width:{{{width-bottom|{{{width-outer|100%}}}}}};
+
<!--            -->width:{{{width-bottom|100%}}};
 
<!--            -->height:{{{height-bottom|5%}}};
 
<!--            -->height:{{{height-bottom|5%}}};
 
<!--            -->{{{layout-bottom|}}};
 
<!--            -->{{{layout-bottom|}}};

Revision as of 00:23, 16 November 2012

{{pageFrame
|show-layout=
|width-outer=
|height-outer=
|layout-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=
|layout-top=
|layout-left=
|layout-center=
|layout-right=
|layout-bottom=
|content-top=
|content-left=
|content-center=
|content-right=
|content-bottom=
}}