Difference between revisions of "Template:Page-frame"

From SI410
Jump to: navigation, search
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{frameBox
+
{{frame-box
<!--  -->|width = {{{width-outer|0}}}
+
|frame-layout = {{frame-resize-content}}
<!--  -->|height = {{{height-outer|0}}}
+
                {{{outer-frame-size|}}}
<!--  -->|layout = {{{layout-outer|}}};
+
                {{{outer-frame-layout|}}}
<!--  -->|inner  =
+
|frame-content =
<!--  -->{{frameBox
+
    {{frame-box
<!--            -->|layout =
+
    |frame-layout = {{frame-position-top}}
<!--             -->float:top;
+
                    {{frame-resize-content}}
<!--             -->width:{{{width-top|{{{width-outer|100%}}}}}};
+
                    {{{top-frame-size|}}}
<!--             -->height:{{{height-top|25%}}};
+
                    {{{top-frame-layout|}}}
<!--             -->background:{{if|test={{{show-layout|}}}|then=grey|{{{background-top|}}}}};
+
    |frame-content = {{{top-frame-content|}}}
<!--             -->{{{layout-top|}}};
+
    }}
<!--             -->|inner = {{{content-top|}}}
+
    {{frame-box
 +
    |frame-layout  = {{frame-position-top}}
 +
                    {{frame-resize-content}}
 +
                    {{{middle-frame-size|}}}
 +
                    {{{middle-frame-layout|}}}
 +
    |frame-content = {{{middle-frame-content|}}}
 +
    }}
 +
    {{frame-box
 +
    |frame-layout  = {{frame-position-reset}}
 +
                    {{frame-position-bottom}}
 +
                    {{frame-resize-content}}
 +
                    {{{bottom-frame-size|}}}
 +
                    {{{bottom-frame-layout|}}}
 +
    |frame-content = {{{bottom-frame-content|}}}
 +
    }}
 
}}
 
}}
<!--    -->{{frameBox
 
<!--            -->|layout =
 
<!--            -->float:top;
 
<!--            -->width:{{{width-middle|{{{width-outer|100%}}}}}};
 
<!--            -->height:{{{height-middle|75%}}};
 
<!--            -->background:{{if|test={{{show-layout|}}}|then=white|{{{background-middle|}}}}};
 
<!--            -->{{{layout-middle|}}};
 
<!--            -->|inner = {{{content-middle|}}}
 
}}
 
<!--    -->{{frameBox
 
<!--            -->|layout=
 
<!--            -->background:{{if|test={{{show-layout|}}}|then=black|{{{background-bottom|}}}}};
 
<!--            -->width:{{{width-bottom|{{{width-outer|100%}}}}}}px;
 
<!--            -->height:{{{height-bottom|5%}}}px;
 
<!--            -->{{{layout-bottom|}}};
 
<!--            -->|inner={{{content-bottom|}}}
 
}}
 
}}<noinclude>
 
<nowiki>
 
{{pageFrame</nowiki><br>
 
|show-layout=<br>
 
|width-outer=<br>
 
|height-outer=<br>
 
|layout-outer=<br>
 
|width-top=<br>
 
|height-top=<br>
 
|width-left=<br>
 
|height-left=<br>
 
|width-center=<br>
 
|height-center=<br>
 
|width-right=<br>
 
|height-right=<br>
 
|width-bottom=<br>
 
|height-bottom=<br>
 
|background-top=<br>
 
|background-left=<br>
 
|background-center=<br>
 
|background-right=<br>
 
|background-bottom=<br>
 
|layout-top=<br>
 
|layout-left=<br>
 
|layout-center=<br>
 
|layout-right=<br>
 
|layout-bottom=<br>
 
|content-top=<br>
 
|content-left=<br>
 
|content-center=<br>
 
|content-right=<br>
 
|content-bottom=<br>
 
}}
 
 
</noinclude>
 

Latest revision as of 17:50, 25 November 2012