Difference between revisions of "Template:Page-frame"

From SI410
Jump to: navigation, search
Line 33: Line 33:
 
<!--            -->|layout=
 
<!--            -->|layout=
 
<!--            -->float:center;
 
<!--            -->float:center;
<!--            -->background:{{{background-center|{{{show-layout|silver}}}}}};
+
<!--            -->background:{{if|test={{{show-layout|}}}|then=silver|{{{background-center|}}}}};
 
<!--            -->width:{{{width-center|34%}}};
 
<!--            -->width:{{{width-center|34%}}};
 
<!--            -->height:{{{height-center|75%}}};
 
<!--            -->height:{{{height-center|75%}}};
Line 43: Line 43:
 
<!--            -->|layout=
 
<!--            -->|layout=
 
<!--            -->clear:both;
 
<!--            -->clear:both;
<!--            -->background:{{{background-bottom|{{{show-layout|grey}}}}}};
+
<!--            -->background:{{if|test={{{show-layout|}}}|then=grey|{{{background-bottom|}}}}};
 
<!--            -->width:{{{width-bottom|100%}}};
 
<!--            -->width:{{{width-bottom|100%}}};
 
<!--            -->height:{{{height-bottom|5%}}};
 
<!--            -->height:{{{height-bottom|5%}}};

Revision as of 03:22, 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=
}}